Skip to content

Commit 0466887

Browse files
committed
Enqueue test data to match device_code.
1 parent ee3046b commit 0466887

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/conformance/enqueue/urEnqueueKernelLaunch.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ struct urEnqueueKernelLaunchKernelWgSizeTest : uur::urKernelExecutionTest {
2727

2828
std::array<size_t, 3> global_size{32, 32, 32};
2929
std::array<size_t, 3> global_offset{0, 0, 0};
30-
// This must match the size in fixed_wg_size.cpp
31-
std::array<size_t, 3> wg_size{4, 4, 4};
30+
// This value correlates to work_group_size<8, 4, 2> in fixed_wg_size.cpp.
31+
// In SYCL, the right-most dimension varies the fastest in linearization.
32+
// In UR, this is on the left, so we reverse the order of these values.
33+
std::array<size_t, 3> wg_size{2, 4, 8};
3234
size_t n_dimensions = 3;
3335
};
3436
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urEnqueueKernelLaunchKernelWgSizeTest);

0 commit comments

Comments
 (0)