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

cublas_v2.h: No such file or directory #91

Open
halohsu opened this issue Nov 10, 2023 · 2 comments
Open

cublas_v2.h: No such file or directory #91

halohsu opened this issue Nov 10, 2023 · 2 comments

Comments

@halohsu
Copy link

halohsu commented Nov 10, 2023

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
Copy link
Owner

wilicc commented Nov 10, 2023

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

@SinnySupernova
Copy link

SinnySupernova commented Jun 24, 2024

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

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

3 participants