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:
parent
7f1aa1b92d
commit
e1b5a4fcc8
@ -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…
x
Reference in New Issue
Block a user