Closed jjfumero closed 1 year ago
After this patch, we can run on with CUDA on the NVIDIA GPU within Windows WSL.
tornado --devices
WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector
Number of Tornado drivers: 1
Driver: PTX
Total number of PTX devices : 1
Tornado device=0:0 (DEFAULT)
PTX -- PTX -- NVIDIA GeForce RTX 3070
Global Memory Size: 8.0 GB
Local Memory Size: 48.0 KB
Workgroup Dimensions: 3
Total Number of Block Threads: [2147483647, 65535, 65535]
Max WorkGroup Configuration: [1024, 1024, 64]
Device OpenCL C version: N/A
A fix is now merged. I will close this issue, and we can reopen it in case further discussion is required.
Describe the bug
The PTX backend does not compile on WSL due to configuration issues.
How To Reproduce
Provide a test-case and instructions of how to reproduce the issue.
Expected behavior
I managed to compile the PTX backend with minor modifications in the Cmake file:
After this, one option is to compile with the
nvcc
compiler instead ofgcc
:We could generalize this solution for the PTX backend. The major issue was that the
libcuda.so
was not found, even though theLD_LIBRARY_PATH
was pointing to the right directory.Computing system setup (please complete the following information):
Additional context
Add any other context about the problem here.