multiple threads in one GPU
2 posts
• Page 1 of 1
multiple threads in one GPU
Hi,
i ran multiGPU.c example and it all went good. I have 4 GPU so it created 4 threads, one for each GPU. Then i changed to
numThreads = numDevices * 2;
so it would create 2 threads per GPU. But when i run it, the 2 threads in GPU 0 run smoothly, but in the other 3 GPUs, 1 of the threads give me error:
Thread 5 - CUBLAS error: not initialized
Also, what i want to do is to define how many cores are used in a cula function in one GPU, by defining the number of threads in a cula function, supposing that each thread goes for one core. In the multiGPU.c example, when i put 2 threads per GPU, it does 2 independent cula function in each GPU.
Can i get help?
Thank you
i ran multiGPU.c example and it all went good. I have 4 GPU so it created 4 threads, one for each GPU. Then i changed to
numThreads = numDevices * 2;
so it would create 2 threads per GPU. But when i run it, the 2 threads in GPU 0 run smoothly, but in the other 3 GPUs, 1 of the threads give me error:
Thread 5 - CUBLAS error: not initialized
Also, what i want to do is to define how many cores are used in a cula function in one GPU, by defining the number of threads in a cula function, supposing that each thread goes for one core. In the multiGPU.c example, when i put 2 threads per GPU, it does 2 independent cula function in each GPU.
Can i get help?
Thank you
- jean
- Posts: 1
- Joined: Fri Feb 03, 2012 11:16 am
Re: multiple threads in one GPU
Can you tell me which version of CULA you are using? So far I have only managed to reproduce this on an older version of CULA.
- john
- Administrator
- Posts: 587
- Joined: Thu Jul 23, 2009 2:31 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests