When I execute below code:
#include <cublas_v2.h>
int main()
{
cublasHandle_t handle;
cublasCreate(&handle);
return 0;
}
Output says:
First-chance exception at 0x000007fefd96aa7d in CudaTest.exe: Microsoft C++ exception: cudaError_enum at memory location 0x001ef830
What does this mean and how can I fix this?
sjiagc
November 2, 2012, 5:45am
2
It could not be reproduce.
Could you provide:
CUDA toolkit/driver version;
OS version;
Command line for compilation;
Try to build and run simpleCUBLAS(in CUDA sample).
Thanks!
sjiagc
November 5, 2012, 8:49am
4
I still could not reproduce it. What about compiling by cl in VS2010 command prompt? The host compiler is enough for cublas cpps.
Sorry for late replying.
Compiling by only cl throws the same exception.
By command prompt is not enough answer because the exception is reported on VisualStudio’s output window.
pcrs
December 28, 2012, 6:41pm
6
I have the same problem. The status however still equals CUBLAS_STATUS_SUCCES
The simpleCUBLAS gives the same problem.
cuda 5.0
os windows 7 64 pro
The system does not allow me to post the compile command line
I have the same problem. It seems it doesn’t affect any results, but I think it isn’t right.
Additionally, I have 2 similar exceptions after gpuGetMaxGflopsDeviceId() function execution:
First-chance exception at 0x7790cb43 in conjugateGradientPrecond.exe: 0xC0000005: Access violation reading location 0x000007feff808000.
CUDA 5.0, OS Windows 7 Enterprise x64 SP1.
eldadk
January 20, 2013, 7:35am
8
Same here!
CUDA 5.0, OS Windows 7 x64.
First-chance exception at 0x7517C41F in TestTrackIvus.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0044F6D0.
Can anyone from Nvidia take a minute to help us on this?! It seems to be happening to a lot of users!
Is this an intentional First-chance exception or is it a bug?
jnbntz
March 4, 2013, 6:57pm
9
I have a Win7x64 with CUDA 5.0 machine and I can’t reproduce this issue with the code in the first post. However, can those of you with trouble please add “cublasInit()” before the “cublasCreate(…)” call and then reply with success or failure? Thanks.