I’m attempting to compile Visual C++ code where I include cublas_v2.h. When I do, I get the following error :

“This file should not be included without defining CUBLASAPI”

I’ve tried defining this, but it doesn’t fix anything. Can anyone tell me the right thing to do?

Thanks! Brad

compare your project carefully against the simpleCUBLAS sample codes