Browse Source

Release the command queue created after we've copied the binary data.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
4365896ba2
  1. 1
      ocl.c

1
ocl.c

@ -550,6 +550,7 @@ build:
applog(LOG_ERR, "Error: Getting program info. (clGetPlatformInfo)"); applog(LOG_ERR, "Error: Getting program info. (clGetPlatformInfo)");
return NULL; return NULL;
} }
clReleaseCommandQueue(clState->commandQueue);
/* Patch the kernel if the hardware supports BFI_INT */ /* Patch the kernel if the hardware supports BFI_INT */
if (patchbfi) { if (patchbfi) {

Loading…
Cancel
Save