Exception in execution

Hi to all,
I am executing one program of CUDA but i am getting this errors
i have tried to catch error using cudaError_t
so it is giving me " :XError=device emulation mode and device execution mode cannot be mixed "

following is the output window

GPU.exe’: Loaded ‘C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\bin\win32\Debug\GPU.exe’, Symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\ntdll.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\kernel32.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\CUDA\bin\cudart.dll’, Binary was not built with debug information.
‘GPU.exe’: Loaded ‘C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\bin\win32\Debug\cutil32D.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\nvcuda.dll’, Binary was not built with debug information.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\user32.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\gdi32.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\opengl32.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\msvcrt.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\advapi32.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\rpcrt4.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\glu32.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\ddraw.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\dciman32.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\nvapi.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\ole32.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\oleaut32.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\shlwapi.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\shell32.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\setupapi.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll’, No symbols loaded.
‘GPU.exe’: Loaded ‘C:\WINDOWS\system32\comctl32.dll’, No symbols loaded.
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fea4…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fec4…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fea8…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fec8…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe48…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe68…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe48…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe68…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe48…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe68…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe40…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe60…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe30…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe50…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe50…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe70…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe40…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe60…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe4c…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe6c…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe4c…
First-chance exception at 0x7c81eb33 in GPU.exe: Microsoft C++ exception: cudaError at memory location 0x0012fe6c…
The thread ‘Win32 Thread’ (0x864) has exited with code -1073741510 (0xc000013a).
The program ‘[2720] GPU.exe: Native’ has exited with code -1073741510 (0xc000013a).

what can i do ?
i am not understanding any thing

i have installed Quadro FX 1700 drivers

i have also installed wizard
http://forums.nvidia.com/index.php?showtopic=65111

still i can not get the setting
project -> Properties -> CUDA -> CUDA-Specific -> Emulation "Yes(-deviceemu).
http://forums.nvidia.com/index.php?showtopic=62442

there are errors in your compile commands

i can not understand what u r saying?

sorry~~

can you show your compiler command?

no sir i am not using any command for execution

i am using visual studio 2005 with cuda 2 version and

running in debug mode +win32

i can not understand the meaning of following errors

Loaded ‘C:\CUDA\bin\cudart.dll’, Binary was not built with debug information.

Loaded ‘C:\WINDOWS\system32\nvcuda.dll’, Binary was not built with debug information.

how to build the .dll files in debug mode.?

don’t worry about the two information. there are not error.

you can find the compiler commands from the project properties.

or try the wizard 2.0release version.

I have tried for wizard 2.0release version

and started small initial code which is provided by wizard

but it is giving me error like

:blink:“This application has failed to start because cutil32D.dll was not found. Re-installing the application may fix this problem”

output window is having

CUDAWinApp6.exe’: Loaded ‘C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\CUDAWinApp6\debug\CUDAWinApp6.exe’, Symbols loaded.

‘CUDAWinApp6.exe’: Loaded ‘C:\WINDOWS\system32\ntdll.dll’, No symbols loaded.

‘CUDAWinApp6.exe’: Loaded ‘C:\WINDOWS\system32\kernel32.dll’, No symbols loaded.

‘CUDAWinApp6.exe’: Loaded ‘C:\CUDA\bin\cudart.dll’, Binary was not built with debug information.

Debugger:: An unhandled non-continuable STATUS_DLL_NOT_FOUND exception was thrown during process load

The program ‘[2748] CUDAWinApp6.exe: Native’ has exited with code -1073741515 (0xc0000135).

after that i have installed CUDA SDK once again still i am getting same error

[quote name=‘amoljaikar’ post=‘505533’ date=‘Feb 14 2009, 01:50 PM’]

I have tried for wizard 2.0release version

read above

add the “*.dll” path into the environment variable “path" then start the VS again~