Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
bf3a9f94f1
  1. 2
      ocl.c

2
ocl.c

@ -425,6 +425,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
return NULL; return NULL;
} }
strcat(binaryfilename, name);
strcat(binaryfilename, "v"); strcat(binaryfilename, "v");
sprintf(numbuf, "%d", clState->preferred_vwidth); sprintf(numbuf, "%d", clState->preferred_vwidth);
strcat(binaryfilename, numbuf); strcat(binaryfilename, numbuf);

Loading…
Cancel
Save