m4rs-mt / ILGPU

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

Added DLL resolver for Cuda on WSL. #1177

Closed MoFtZ closed 5 months ago

MoFtZ commented 5 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.