Browse Source

Make a binary load failure build from source.

nfactor-troky
Ycros 14 years ago committed by Con Kolivas
parent
commit
5d301c8ba0
  1. 2
      ocl.c

2
ocl.c

@ -397,7 +397,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
if (fread(binaries[gpu], 1, binary_sizes[gpu], binaryfile) != binary_sizes[gpu]) { if (fread(binaries[gpu], 1, binary_sizes[gpu], binaryfile) != binary_sizes[gpu]) {
applog(LOG_ERR, "Unable to fread binaries[gpu]"); applog(LOG_ERR, "Unable to fread binaries[gpu]");
fclose(binaryfile); fclose(binaryfile);
return NULL; goto build;
} }
fclose(binaryfile); fclose(binaryfile);

Loading…
Cancel
Save