The following is the Terminal output for the few tests that I ran against the CUDA compiler which failed after some fashion or another. Most of the failures are outright failures, basically Runtime API errors, although the first failure is one of not being able to allocate 351.5625 Mbytes of GPU memory.
Most of the CUDA tests run without a hitch, only these tests fail in anyway at all.
I was wondering how common this type of failure was on an nvidia GeForce 9400 with 253.6875MB of GPU Memory.
Any known explanation ?
[codebox]cyberos-imac:release cybero$ ./3dfd
3DFD running on: GeForce 9400
Total GPU Memory: 253.6875 MB
480x480x400
Unable to allocate 351.5625 Mbytes of GPU memory
TEST PASSED!
cyberos-imac:release cybero$ ./BlackScholes
Initializing data…
…allocating CPU memory for options.
…allocating GPU memory for options.
cudaSafeCall() Runtime API error in file <BlackScholes.cu>, line 134 : out of memory.
cyberos-imac:release cybero$ ./MersenneTwister
Initializing data for 24000000 samples…
cudaSafeCall() Runtime API error in file <MersenneTwister.cu>, line 110 : out of memory.
cyberos-imac:release cybero$ ./asyncAPI
cudaSafeCall() Runtime API error in file <asyncAPI.cu>, line 60 : out of memory.
cyberos-imac:release cybero$ ./bandwidthTest
Running on…
device 0:GeForce 9400
Quick Mode
Host to Device Bandwidth for Pageable memory
.
Transfer Size (Bytes) Bandwidth(MB/s)
33554432 352.5
Quick Mode
Device to Host Bandwidth for Pageable memory
.
Transfer Size (Bytes) Bandwidth(MB/s)
33554432 1483.5
Quick Mode
Device to Device Bandwidth
cudaSafeCall() Runtime API error in file <bandwidthTest.cu>, line 760 : out of memory.
cyberos-imac:release cybero$ ./fastWalshTransform
Initializing data…
…allocating CPU memory
…allocating GPU memory
cudaSafeCall() Runtime API error in file <fastWalshTransform.cu>, line 111 : out of memory.
cyberos-imac:release cybero$ ./histogram
Initializing data…
…allocating CPU memory.
…generating input data
…allocating GPU memory and copying input data
cudaSafeCall() Runtime API error in file <main.cpp>, line 64 : out of memory.
cyberos-imac:release cybero$ ./simpleMultiGPU
CUDA-capable device count: 1
main(): generating input data…
main(): waiting for GPU results…
cudaSafeCall() Runtime API error in file <simpleMultiGPU.cpp>, line 57 : out of memory.
cyberos-imac:release cybero$ ./simpleStreams
[ simpleStreams ]
Device name : GeForce 9400
CUDA Capable SM 1.1 hardware with 2 multi-processors
scale_factor = 0.5000
array_size = 8388608
cudaSafeCall() Runtime API error in file <simpleStreams.cu>, line 125 : out of memory.
[/codebox]
Please find attached the full Terminal session [including PATH export - how exciting •~]
Terminal_Saved_OutputCUDA_tests.txt.zip (8.41 KB)