OClEngn: Split isSetup/Running into collate+compact
This commit is contained in:
@@ -71,7 +71,10 @@ private:
|
||||
cl_mem clCollationBuffer;
|
||||
|
||||
// State tracking
|
||||
bool isRunning;
|
||||
bool compactIsSetup;
|
||||
bool compactIsRunning;
|
||||
bool collateIsSetup;
|
||||
bool collateIsRunning;
|
||||
cl_event currentCompactKernelEvent;
|
||||
cl_event currentCollateKernelEvent;
|
||||
|
||||
@@ -112,7 +115,9 @@ private:
|
||||
ValidateBuffersFn validateBuffersFn,
|
||||
size_t globalWorkSize,
|
||||
void (CL_CALLBACK *eventCallback)(cl_event, cl_int, void*),
|
||||
const char* kernelName)
|
||||
const char* kernelName,
|
||||
bool& isSetup,
|
||||
bool& isRunning)
|
||||
{
|
||||
if (!isSetup)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user