fixed incorrect device id in multi_gpu sample (checked both multi GPU samples work...
authorAlexey Spizhevoy <no@email>
Thu, 17 Feb 2011 07:29:56 +0000 (07:29 +0000)
committerAlexey Spizhevoy <no@email>
Thu, 17 Feb 2011 07:29:56 +0000 (07:29 +0000)
samples/gpu/multi.cpp

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