Commit e6cf96adfaa2d67302903c03d8671a78bbd41cc3

ckolivas 2012-02-10T10:28:45

ALlow much longer filenames for kernels to load properly.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/ocl.c b/ocl.c
index 17aa882..ea8ae10 100644
--- a/ocl.c
+++ b/ocl.c
@@ -358,7 +358,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
 	 */
 	enum cl_kernel this_kernel;
 	char binaryfilename[255];
-	char filename[16];
+	char filename[255];
 	char numbuf[10];
 
 	if (chosen_kernel == KL_NONE) {