mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 12:34:27 +00:00
ocl: use same type convention for nfactor (cl_uint
instead of int
).
This commit is contained in:
parent
3640f1494f
commit
ab9fcb1a14
2
ocl.c
2
ocl.c
@ -225,7 +225,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize)
|
||||
cl_uint numPlatforms;
|
||||
cl_uint numDevices;
|
||||
cl_int status;
|
||||
int nfactor = (1<<opt_nfactor);
|
||||
cl_uint nfactor = (1<<opt_nfactor);
|
||||
|
||||
status = clGetPlatformIDs(0, NULL, &numPlatforms);
|
||||
if (status != CL_SUCCESS) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user