Commit e1b5a4fc authored by Alexey Spizhevoy's avatar Alexey Spizhevoy

fixed incorrect device id in multi_gpu sample (checked both multi GPU samples…

fixed incorrect device id in multi_gpu sample (checked both multi GPU samples work correctly with new multi GPU API)
parent 7f1aa1b9
...@@ -61,7 +61,7 @@ int main() ...@@ -61,7 +61,7 @@ int main()
multi_gpu_mgr.init(); multi_gpu_mgr.init();
// Execute calculation in two threads using two GPUs // Execute calculation in two threads using two GPUs
int devices[] = {0, 2}; int devices[] = {0, 1};
parallel_do(devices, devices + 2, Worker()); parallel_do(devices, devices + 2, Worker());
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment