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:
parent
b77656b78b
commit
bf3a9f94f1
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…
Reference in New Issue
Block a user