mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Release the command queue created after we've copied the binary data.
This commit is contained in:
parent
283d5d2343
commit
4365896ba2
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…
Reference in New Issue
Block a user