Commit bf3a9f94f1ec3dfc419f0fd4d59d8bc40ec23b2e

Con Kolivas 2012-02-22T14:42:20

Unintentionally dropped the device name from the binary filenames. Reinstate.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/ocl.c b/ocl.c
index 833c7f1..03b8611 100644
--- a/ocl.c
+++ b/ocl.c
@@ -425,6 +425,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
 		return NULL;
 	}
 
+	strcat(binaryfilename, name);
+
 	strcat(binaryfilename, "v");
 	sprintf(numbuf, "%d", clState->preferred_vwidth);
 	strcat(binaryfilename, numbuf);