mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-01 01:14:22 +00:00
opencl: update comment on generated binary file name.
This commit is contained in:
parent
10ec7769c8
commit
18d9c648ba
8
ocl.c
8
ocl.c
@ -402,11 +402,9 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
|
||||
applog(LOG_DEBUG, "Max mem alloc size is %lu", (long unsigned int)(cgpu->max_alloc));
|
||||
|
||||
/* Create binary filename based on parameters passed to opencl
|
||||
* compiler to ensure we only load a binary that matches what would
|
||||
* have otherwise created. The filename is:
|
||||
* name + kernelname +/- g(offset) + v + vectors + w + work_size + l + sizeof(long) + .bin
|
||||
* For scrypt the filename is:
|
||||
* name + kernelname + g + lg + lookup_gap + tc + thread_concurrency + w + work_size + l + sizeof(long) + .bin
|
||||
* compiler to ensure we only load a binary that matches what
|
||||
* would have otherwise created. The filename is:
|
||||
* name + kernelname + g + lg + lookup_gap + tc + thread_concurrency + nf + nfactor + w + work_size + l + sizeof(long) + .bin
|
||||
*/
|
||||
char binaryfilename[255];
|
||||
char filename[255];
|
||||
|
Loading…
x
Reference in New Issue
Block a user