From 28e21152728cbea617948671df064ec75c7953e5 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sun, 07 Dec 2014 08:41:26 +0000
Subject: [PATCH] Distributed training
---
src/opencl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/opencl.c b/src/opencl.c
index 981067a..55fb56c 100644
--- a/src/opencl.c
+++ b/src/opencl.c
@@ -88,7 +88,7 @@
}
int index = getpid()%num_devices;
- index = 0;
+ index = 1;
printf("%d rand, %d devices, %d index\n", getpid(), num_devices, index);
info.device = devices[index];
fprintf(stderr, "Found %d device(s)\n", num_devices);
--
Gitblit v1.10.0