Browse Source

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

Con Kolivas 14 years ago
parent
commit
4365896ba2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ocl.c

+ 1 - 0
ocl.c

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