From 3995f5748917f05b8214db43081d8d6b52f2eb57 Mon Sep 17 00:00:00 2001 From: Hayodea Hekol Date: Fri, 14 Nov 2025 17:42:46 -0400 Subject: [PATCH] OClCollMeshEngn: call clFlush+clFinish after setup() This ensures that all operations enqueued during setup() get fully executed before any requests come in. --- stimBuffApis/livoxGen1/openClCollatingAndMeshingEngine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stimBuffApis/livoxGen1/openClCollatingAndMeshingEngine.cpp b/stimBuffApis/livoxGen1/openClCollatingAndMeshingEngine.cpp index 582f7dc..1990950 100644 --- a/stimBuffApis/livoxGen1/openClCollatingAndMeshingEngine.cpp +++ b/stimBuffApis/livoxGen1/openClCollatingAndMeshingEngine.cpp @@ -242,6 +242,8 @@ bool OpenClCollatingAndMeshingEngine::setup() goto cleanup; } + clFlush(commandQueue); + clFinish(commandQueue); shouldAcceptRequests = true; return true;