cudaError - Debugging problem


I’ve many difficult with one program. I hope that you will help me!

The result of debug is:

First-chance exception at 0x00576561 in calcoloVolume.exe: 0xC0000005: Access violation reading location 0x04801010.
First-chance exception at 0x7c81eb33 in calcoloVolume.exe: Microsoft C++ exception: cudaError at memory location 0x0012df7c…

I don’t know which is the problem.

The compiler works correctly without errors but the program diplays a black window when it executes.

I’m waiting for your answer.

Mauro Russo.