wilicc / gpu-burn

Multi-GPU CUDA stress test
BSD 2-Clause "Simplified" License
1.37k stars 295 forks source link

cublas_v2.h: No such file or directory #91

Open halohsu opened 10 months ago

halohsu commented 10 months ago
g++  -O3 -Wno-unused-result -I/usr/local/cuda/include -std=c++11 -c gpu_burn-drv.cpp
gpu_burn-drv.cpp:62:10: fatal error: cublas_v2.h: No such file or directory
   62 | #include "cublas_v2.h"
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:39: gpu_burn-drv.o] Error 1

Help!!

wilicc commented 10 months ago

Install nvidia-cuda-dev package, or whichever it is called on your distro.

SinnySupernova commented 3 months ago

On some distros you might need to specify the correct CUDA path, e.g. on Arch it's make CUDAPATH=/opt/cuda