Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix libcuda path when running in WSL (chapel-lang#24347)
This PR adds the ability to detect if we are using an NVidia GPU while running in Windows Subsystem for Linux (WSL) and make appropriate additions to properly detect the location of `libcuda`. This change was needed because WSL has a special configuration w.r.t. the GPU drivers where the drivers are installed only in Windows and then made available to WSL. TESTING: - [x] paratest on chapdl-nvidia `[Summary: #Successes = 176 | #Failures = 0 | #Futures = 6]` - [x] code targeting GPU compiles and runs in WSL with an NVidia GPU [reviewed by @e-kayrakli - thanks!]
- Loading branch information