ArchWSL
ArchWSL copied to clipboard
Run GPU processes in ArchWSL
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
try installing cuda
, cuda-tools
and cudnn
?