fixed incorrect device id in multi_gpu sample (checked both multi GPU samples work correctly with new multi GPU API)

This commit is contained in:
Alexey Spizhevoy 2011-02-17 07:29:56 +00:00
parent 7f1aa1b92d
commit e1b5a4fcc8

View File

@ -61,7 +61,7 @@ int main()
multi_gpu_mgr.init();
// Execute calculation in two threads using two GPUs
int devices[] = {0, 2};
int devices[] = {0, 1};
parallel_do(devices, devices + 2, Worker());
return 0;