mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-27 23:14:21 +00:00
Change the opencl shutdown sequence.
This commit is contained in:
parent
5b9cf0f077
commit
ee2671a559
@ -1570,9 +1570,9 @@ static void opencl_thread_shutdown(struct thr_info *thr)
|
||||
const int thr_id = thr->id;
|
||||
_clState *clState = clStates[thr_id];
|
||||
|
||||
clReleaseCommandQueue(clState->commandQueue);
|
||||
clReleaseKernel(clState->kernel);
|
||||
clReleaseProgram(clState->program);
|
||||
clReleaseCommandQueue(clState->commandQueue);
|
||||
clReleaseContext(clState->context);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user