Reputation: 149
I'm novice to cuda. I want to use cublas functionality in cuda programs and would like to know the procedure on how to use it. As my program is giving error i.e. *"cublas_v2.h file not present"* when I try to run it on GPU.
Upvotes: 2
Views: 18209
Reputation: 698
There can be multiple things because of which you must be struggling to run a code which makes use of the CuBlas library.
Upvotes: 1
Reputation: 151829
The error you're getting right now looks like it should be coming from the compiler not from when you run the program. If so you simply need to tell the compiler where to find that header file. If you look at a cuda sample like this one, you can see from the included makefile how to tell the compiler where to look for header files.
Upvotes: 5