1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 13:04:29 +00:00

ALlow much longer filenames for kernels to load properly.

This commit is contained in:
ckolivas 2012-02-10 10:28:45 +11:00
parent 8af2365e6e
commit 35ea31b1a5

2
ocl.c
View File

@ -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) {