CUT_DEVICE_INIT exited with code 1

After installing CUDA SDK on my Vista platform, I loaded the Release solution for VS2005 located in the projects directory. Upon compiling the Debug version, the debugger exits in CUT_DEVICE_INIT. I then tried with a release build and it apparently gets to CUDA_SAFE_CALL and then exits.

Any assistance would be appreciated… Please keep in mind I am new to GPU development.

‘clock.exe’: Loaded ‘C:_UNI_Sandbox\NVidia\NVIDIA CUDA SDK\bin\win32\Debug\clock.exe’, Symbols loaded.
‘clock.exe’: Loaded ‘C:\Windows\System32\ntdll.dll’, No symbols loaded.
‘clock.exe’: Loaded ‘C:\Windows\System32\kernel32.dll’, No symbols loaded.
‘clock.exe’: Loaded ‘C:\CUDA\bin\cudart.dll’, Binary was not built with debug information.
‘clock.exe’: Loaded ‘C:_UNI_Sandbox\NVidia\NVIDIA CUDA SDK\bin\win32\Debug\cutil32D.dll’, No symbols loaded.
The program ‘[3644] clock.exe: Native’ has exited with code 1 (0x1).

Regards,
-aj-

Vista is not supported.

Kinda figured that out last night after googling “There is no device supporting cuda” a bit. So, next Q when will it be supported? If a Beta tester is required, let me know where I can sign up.

The search function of the forum is actually working quite ok, so searching for Vista will likely show a quite recent post with some info. I remember having read about it recently

ajamil, NVIDIA employees are not allowed to announce any release dates.

Vista support is probably the most demanded feature, so it won’t took too long to get it. I’m pretty sure it will be included in next update/release.

You could save yourself that night by reading release notes before installing software.

I’m also taking my first stab at GPU development and I’m running into the same function exiting with code 1, however I’m running under XP. At the moment I’m simply trying to get a project I downloaded from the net to execute properly and I’m getting this output.

‘cppIntegration.exe’: Loaded ‘C:\Documents and Settings\Jeff\My Documents\CUDAPROJ\CUDAPROJ\cppIntegration\NVIDIA CUDA SDK\bin\win32\Release\cppIntegration.exe’, Symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\ntdll.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\kernel32.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\CUDA\bin\cudart.dll’, Binary was not built with debug information.
‘cppIntegration.exe’: Loaded ‘C:\Documents and Settings\Jeff\My Documents\CUDAPROJ\CUDAPROJ\cppIntegration\NVIDIA CUDA SDK\bin\win32\Release\cutil32.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\opengl32.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\msvcrt.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\advapi32.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\rpcrt4.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\secur32.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\gdi32.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\user32.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\glu32.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\ddraw.dll’, No symbols loaded.
‘cppIntegration.exe’: Loaded ‘C:\WINDOWS\system32\dciman32.dll’, No symbols loaded.
The program ‘[744] cppIntegration.exe: Native’ has exited with code 1 (0x1).

Any ideas? Any help is greatly appreciated.

I have same problem, when I trying SDK samples in one i catch “no support device”, something like that. I have 8500GT, XP SP2. Last time I’ve running Cuda samples a few month ago, on this machine, with CUDA v0.8 , all was running. I’ve try to reinstall system, but problem stay.

You need to install the latest device drivers.

Installed 174_55, deviceQuery (SDK) runs well and found support device, but when i close solution my VS 2005 exit with error and rerun, with other SDK problem stay:

i’m novice so i can do some mistake.

If say from begining, i install VS 2005, CUDA toolkit 1.1 (after try 2.0) and SDK 1.1(after try 2.0), then i install CUDA_VS_Wizard 1.2

Then i choose build rule: CUDA and you see the result:

MatrixMul (SDK)

Build solution:

1>------ Rebuild All started: Project: matrixMul, Configuration: Debug Win32 ------

1>Deleting intermediate and output files for project 'matrixMul', configuration 'Debug|Win32'

1>Performing Custom Build Step

1>matrixMul.cu

1>tmpxft_00000f40_00000000-3_matrixMul.cudafe1.gpu

1>tmpxft_00000f40_00000000-8_matrixMul.cudafe2.gpu

1>tmpxft_00000f40_00000000-3_matrixMul.cudafe1.cpp

1>tmpxft_00000f40_00000000-12_matrixMul.ii

1>Compiling...

1>matrixMul_gold.cpp

1>Linking...

1>Embedding manifest...

1>Performing Post-Build Event...

1>Build log was saved at "file://c:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\projects\matrixMul\Debug\BuildLog.htm"

1>matrixMul - 0 error(s), 0 warning(s)

========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

In Debug mode:

'matrixMul.exe': Loaded 'C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\bin\win32\Debug\matrixMul.exe', Symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\CUDA\bin\cudart.dll', Binary was not built with debug information.

'matrixMul.exe': Loaded 'C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\bin\win32\Debug\cutil32D.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\nvcuda.dll', Binary was not built with debug information.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\glu32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\rserver30\newtstop.dll', Binary was not built with debug information.

'matrixMul.exe': Unloaded 'C:\WINDOWS\system32\rserver30\newtstop.dll'

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\nvapi.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded.

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0012fb98..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError at memory location 0x0012fbe8..

The program '[2240] matrixMul.exe: Native' has exited with code 1 (0x1).

In Release:

'matrixMul.exe': Loaded 'C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\bin\win32\Release\matrixMul.exe', Symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\CUDA\bin\cudart.dll', Binary was not built with debug information.

'matrixMul.exe': Loaded 'C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\bin\win32\Release\cutil32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\nvcuda.dll', Binary was not built with debug information.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\glu32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\rserver30\newtstop.dll', Binary was not built with debug information.

'matrixMul.exe': Unloaded 'C:\WINDOWS\system32\rserver30\newtstop.dll'

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\nvapi.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\oleaut32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\shlwapi.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\shell32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\setupapi.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll', No symbols loaded.

'matrixMul.exe': Loaded 'C:\WINDOWS\system32\comctl32.dll', No symbols loaded.

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0012fc94..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError at memory location 0x0012fce4..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0012fc94..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError at memory location 0x0012fce4..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0012fc8c..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError at memory location 0x0012fcdc..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0012fc8c..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError at memory location 0x0012fcdc..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0012fc94..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError at memory location 0x0012fce4..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0012fc7c..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError at memory location 0x0012fccc..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0012fc8c..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError at memory location 0x0012fcdc..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0012fc98..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError at memory location 0x0012fce8..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0012fc98..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError at memory location 0x0012fce8..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError_enum at memory location 0x0012fc98..

First-chance exception at 0x7c812a7b in matrixMul.exe: Microsoft C++ exception: cudaError at memory location 0x0012fce8..

and [attachment=6588:attachment]

If someone have normal running program mutrixmul, please show screenshot from it.

Sencs every one who try to help
matrmul.JPG

I try to compile this solution on my notebook with ATI X200 and saw same results :blink:
But how i know i must to see something like Test Failed or No device External Image

I sank it mau be driver but deviceQuery see my PC GPU (8500GT) normaly, on notebook it see Emulatio device (CPU).

I am running on Windows XP 64bit and am using a Tesla C870 processor on CUDA 1.1 release of toolkit, SDK and driver, and am using Visual Studio 2008.

I am able to compile the sloutions provided as examples alright but am getting run time errors when it executes CUT_DEVICE_INIT() and cudamalloc() funtions.

Anybody encountered this problem before and if so any solutions?

Thanks