Skip to content

Commit e9ba152

Browse files
author
Georgi Mirazchiyski
committed
Update assert message
1 parent b5d35b0 commit e9ba152

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sycl/test-e2e/Basic/launch_queries/max_num_work_groups.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,10 @@ int test_max_num_work_groups(sycl::queue &q, const sycl::device &dev) {
164164
// Note: Level-Zero currently always returns a non-zero value.
165165
// TODO: Remove the backend condition once the Level-Zero API issue is fixed.
166166
if (dev.get_backend() != sycl::backend::ext_oneapi_level_zero) {
167-
assert(maxWGs == 0 && "max_num_work_groups query failed");
167+
assert(maxWGs == 0 &&
168+
"max_num_work_groups query failed.\n"
169+
"It should return 0 possible groups when the requested resources "
170+
"by the lanuch config exceed those available in the hardware.");
168171
}
169172

170173
// As we ensured that the 'max_num_work_groups' query correctly

0 commit comments

Comments
 (0)