Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run GPU processes in ArchWSL #363

Open
rz1027 opened this issue May 1, 2024 · 1 comment
Open

Run GPU processes in ArchWSL #363

rz1027 opened this issue May 1, 2024 · 1 comment

Comments

@rz1027
Copy link

rz1027 commented May 1, 2024

I would like ArchWSL to be able to use GPU. I tested Ubuntu-WSL GPU driver and it works seemingly
I came into this while using hashcat:
hashcat -I

hashcat (v6.2.6) starting in backend information mode


clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR

ATTENTION! No OpenCL, HIP or CUDA compatible platform found.

You are probably missing the OpenCL, CUDA or HIP runtime installation.

* AMD GPUs on Linux require this driver:
  "AMDGPU" (21.50 or later) and "ROCm" (5.0 or later)
* Intel CPUs require this runtime:
  "OpenCL Runtime for Intel Core and Intel Xeon Processors" (16.1.1 or later)
* NVIDIA GPUs require this runtime and/or driver (both):
  "NVIDIA Driver" (440.64 or later)
  "CUDA Toolkit" (9.0 or later)
  

Despite nvidia-smi finding my 4070 gpu.

Is there a way to apply computation via my host GPU?
Seems Nvidia supports easy installation for Ubuntu, and hints on installing nvidia-toolkit-12-x alone to handle this on other distros.
https://docs.nvidia.com/cuda/wsl-user-guide/index.html#getting-started-with-cuda-on-wsl

@xuangeyouneihan
Copy link

try installing cuda, cuda-tools and cudnn?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants