1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

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

This commit is contained in:
Con Kolivas 2012-02-22 14:42:20 +11:00
parent b77656b78b
commit bf3a9f94f1

2
ocl.c
View File

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