From 11db332281c2875dcda4d771e0cd2feced6fea28 Mon Sep 17 00:00:00 2001 From: Romaric Jodin Date: Sat, 8 Mar 2025 00:43:00 +0100 Subject: [PATCH] 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) --- test_conformance/basic/test_work_item_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_conformance/basic/test_work_item_functions.cpp b/test_conformance/basic/test_work_item_functions.cpp index 52d789b8..ce427dc3 100644 --- a/test_conformance/basic/test_work_item_functions.cpp +++ b/test_conformance/basic/test_work_item_functions.cpp @@ -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; } }