-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
WSL GPU Detection Issue in CUDA Example
Problem
Running the default CUDA example in WSL fails to detect the GPU.
Workaround
Setting LD_LIBRARY_PATH
resolves the issue:
export LD_LIBRARY_PATH="/usr/lib/wsl/lib:$LD_LIBRARY_PATH"
Suggestion
rules_ll appends automatically /usr/lib/wsl/lib to LD_LIBRARY_PATH when rules_ll is running in WSL.
(Not sure If this belongs into the nix flake or into the bazel rules)
Metadata
Metadata
Assignees
Labels
No labels