CUDA bandwidthTest Fails, deviceQuery Passes

I just installed the CUDA 5.5 package on my windows 7 x64 system. I’ve been able to compile the examples, however I’ve found that running them seem to cause problems as soon as any memory needs to be allocated.

deviceQuery gives the following ouput :

C:\ProgramData\NVIDIA Corporation\CUDA Samples\v5.5\Bin\win64\Release>deviceQuery.exe
deviceQuery.exe Starting...

CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: "GeForce GTX 285"
CUDA Driver Version / Runtime Version 5.5 / 5.5
CUDA Capability Major/Minor version number: 1.3
Total amount of global memory: 1024 MBytes (1073741824 bytes)
(30) Multiprocessors, ( 8) CUDA Cores/MP: 240 CUDA Cores
GPU Clock rate: 1476 MHz (1.48 GHz)
Memory Clock rate: 1242 Mhz
Memory Bus Width: 512-bit
Maximum Texture Dimension Size (x,y,z) 1D=(8192), 2D=(65536, 32768), 3D=(2048, 2048, 2048)
Maximum Layered 1D Texture Size, (num) layers 1D=(8192), 512 layers
Maximum Layered 2D Texture Size, (num) layers 2D=(8192, 8192), 512 layers
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 16384 bytes
Total number of registers available per block: 16384
Warp size: 32
Maximum number of threads per multiprocessor: 1024
Maximum number of threads per block: 512
Max dimension size of a thread block (x,y,z): (512, 512, 64)
Max dimension size of a grid size (x,y,z): (65535, 65535, 1)
Maximum memory pitch: 2147483647 bytes
Texture alignment: 256 bytes
Concurrent copy and kernel execution: Yes with 1 copy engine(s)
Run time limit on kernels: Yes
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Disabled
CUDA Device Driver Mode (TCC or WDDM): WDDM (Windows Display Driver Model)
Device supports Unified Addressing (UVA): No
Device PCI Bus ID / PCI location ID: 1 / 0
Compute Mode:
< Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 5.5, CUDA Runtime Version = 5.5, NumDevs = 1, Device0 = GeForce GTX 285
Result = PASS

However, bandwidthTest.exe gives the following :

C:\ProgramData\NVIDIA Corporation\CUDA Samples\v5.5\Bin\win64\Release>bandwidthTest.exe
[CUDA Bandwidth Test] - Starting...
Running on...

Device 0: GeForce GTX 285
Quick Mode

CUDA error at d:/bld/rel/gpgpu/toolkit/r5.5/samples/1_Utilities/bandwidthTest/bandwidthTest.cu:719 code=2(cudaErrorMemoryAllocation) "cudaEventCreate(&start)"

Could anyone shed some insight on this matter? It seems very odd that I can do just about everything except allocate memory on my device. And I’m not running any intensive applications while I attempt this. It seems even just odd to consider that no memory could be allocate at all.

Wow… uh… ok…

I restarted my computer and then I could allocate memory for all previously failing examples.

Yes, sometimes weird errors like these are solved with a GPU reset (aka, computer restart) There was a similar thread a few days ago with the same issue.