Browse Source

ocl: use same type convention for nfactor (`cl_uint` instead of `int`).

build-mingw
Noel Maersk 11 years ago
parent
commit
ab9fcb1a14
  1. 2
      ocl.c

2
ocl.c

@ -225,7 +225,7 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize) @@ -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…
Cancel
Save