Dbg: Useful printfs for the raspi5

This commit is contained in:
2025-11-10 01:05:20 -04:00
parent 401c844fcc
commit 5bb9c9e90b
3 changed files with 20 additions and 3 deletions
@@ -648,7 +648,7 @@ public:
cl_int compactStatus)
{
engine.stopCompactKernel();
std::cout << __func__ << ": Compact done, compact status: " << compactStatus << std::endl;
// If compact failed, call callback directly with failure
if (compactStatus != CL_SUCCESS)
{
@@ -683,6 +683,7 @@ public:
callOriginalCallback(false);
return;
}
std::cout << __func__ << ": Started collate kernel" << std::endl;
}
void compactCollateAndMeshFrameReq4_collateDone_maybePosted(
@@ -690,7 +691,7 @@ public:
cl_int collateStatus)
{
engine.stopCollateKernel();
std::cout << __func__ << ": Collate done, collate status: " << collateStatus << std::endl;
bool success = (collateStatus == CL_SUCCESS);
callOriginalCallback(success);
}
@@ -718,6 +719,7 @@ void OpenClCollatingAndMeshingEngine::compactCollateAndMeshFrameReq(
&CompactCollateAndMeshFrameReq
::compactCollateAndMeshFrameReq1_doCompact_posted,
request.get(), request)));
std::cout << __func__ << ": Started compact kernel" << std::endl;
}
else
{
@@ -727,6 +729,7 @@ void OpenClCollatingAndMeshingEngine::compactCollateAndMeshFrameReq(
&CompactCollateAndMeshFrameReq
::compactCollateAndMeshFrameReq3_doCollate_posted,
request.get(), request)));
std::cout << __func__ << ": Skipped compaction, started collate kernel" << std::endl;
}
}