Quantcast
Channel: CUDA 5.0 context management with single application thread in multiple GPU environment - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Tom for CUDA 5.0 context management with single application thread in multiple GPU environment

$
0
0

Is this just a typo?

for(int d = 0; d < 2; d++) {    cudaSetDevice(0);  // shouldn't that be 'd'    cudaMalloc(&dev_x, 1024);}

Please check the return value of all API calls!


Viewing all articles
Browse latest Browse all 2

Trending Articles