mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
Retain cl program after every possible place we might build the program.
This commit is contained in:
parent
25caca9086
commit
1e5035497b
6
ocl.c
6
ocl.c
@ -639,6 +639,12 @@ built:
|
|||||||
applog(LOG_INFO, "%s", log);
|
applog(LOG_INFO, "%s", log);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clRetainProgram(clState->program);
|
||||||
|
if (status != CL_SUCCESS) {
|
||||||
|
applog(LOG_ERR, "Error: Retaining Program (clRetainProgram)");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* get a kernel object handle for a kernel with the given name */
|
/* get a kernel object handle for a kernel with the given name */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user