OClEngn: Split isSetup/Running into collate+compact

This commit is contained in:
2025-11-09 19:58:45 -04:00
parent aef251b7e5
commit 582aefb02c
2 changed files with 46 additions and 29 deletions
@@ -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)
{