Time out on initializing CUDA It takes too long to start a CUDA program. I don't know why.
Hello everybody,

In the last release of CUDA, that is CUDA 4.1, my programs work well as they did in the past releases, but something weird is happening: it takes too long to start the CUDA program.

When debugging the code, I've seen that the problem occurred when the "cudaMallocArray()" function is called the very first time; It takes aproximately 45 seconds to pass through this function.

Can someone tell me why is this happening?

Thanks in advance.
Hello everybody,



In the last release of CUDA, that is CUDA 4.1, my programs work well as they did in the past releases, but something weird is happening: it takes too long to start the CUDA program.



When debugging the code, I've seen that the problem occurred when the "cudaMallocArray()" function is called the very first time; It takes aproximately 45 seconds to pass through this function.



Can someone tell me why is this happening?



Thanks in advance.

Carlos Alejandro Trujillo Anaya

Physics Engineer

M.eng. Student

Faculty of Mines, Medellín, Antioquia, Colombia.

National University of Colombia (Universidad Nacional de Colombia).

calelo36@gmail.com

catrujila@unal.edu.co



Windows 7 64Bits. CUDA Toolkit 4.1 32 bits. Visual Studio 2008 with SP1.

Intel® Core™ i7 running at 3.6GHz and 8GB of RAM memory.

Graphics card: Geforce GTX 580, 512 stream cores, 1536MB, 772MHz.

#1
Posted 05/04/2012 02:49 AM   
Hi,
I've had the same problem, this could help you : http://forums.nvidia.com/index.php?showtopic=228172
Hi,

I've had the same problem, this could help you : http://forums.nvidia.com/index.php?showtopic=228172

#2
Posted 05/04/2012 08:28 AM   
Scroll To Top