fix error message in work_item_functions_out_of_range (#2303)

The value printed in the error message is not the correct one (used in
the comparison statement)
This commit is contained in:
Romaric Jodin
2025-03-08 00:43:00 +01:00
committed by GitHub
parent 637deb0011
commit 11db332281

View File

@@ -439,7 +439,7 @@ struct TestWorkItemFnsOutOfRange
"ERROR: get_enqueued_local_size(%d) did not return "
"proper value for the argument out of range "
"(expected 1, got %d)\n",
(int)dim, (int)testData[q].globalSize);
(int)dim, (int)testData[q].enqueuedLocalSize);
return false;
}
}