m4rs-mt / ILGPU

ILGPU JIT Compiler for high-performance .Net GPU programs
http://www.ilgpu.net
Other
1.38k stars 117 forks source link

Added DLL resolver for Cuda on WSL. #1177

Closed MoFtZ closed 6 months ago

MoFtZ commented 7 months ago

Fixes #1008.

The Cuda WSL library is not added to the environment path (by default). https://docs.nvidia.com/cuda/wsl-user-guide/index.html#known-limitations-for-linux-cuda-applications

This PR adds a custom DLL resolver for the Cuda DLL, when running on WSL.