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

pull/13383/head
Alexey Spizhevoy 14 years ago
parent 7f1aa1b92d
commit e1b5a4fcc8
  1. 2
      samples/gpu/multi.cpp

@ -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;

Loading…
Cancel
Save