Browse Source

ALlow much longer filenames for kernels to load properly.

nfactor-troky
ckolivas 13 years ago
parent
commit
35ea31b1a5
  1. 2
      ocl.c

2
ocl.c

@ -358,7 +358,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
*/ */
enum cl_kernel this_kernel; enum cl_kernel this_kernel;
char binaryfilename[255]; char binaryfilename[255];
char filename[16]; char filename[255];
char numbuf[10]; char numbuf[10];
if (chosen_kernel == KL_NONE) { if (chosen_kernel == KL_NONE) {

Loading…
Cancel
Save