Skip to content

Commit 0bc640e

Browse files
committed
[SYCL] Should pass--kernel 0 name change
Signed-off-by: Hu, Peisen <[email protected]>
1 parent 8dc7a63 commit 0bc640e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/test-e2e/GroupAlgorithm/root_group.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ void testQueriesAndProperties() {
4242
.ext_oneapi_get_info<sycl::ext::oneapi::experimental::info::
4343
kernel_queue_specific::max_num_work_groups>(
4444
q, wgRange, wgRange.size() * sizeof(int));
45-
struct TestKernel0 {
45+
struct QueryKernel {
4646
void operator()() const {}
4747
auto get(sycl::ext::oneapi::experimental::properties_tag) {
4848
return sycl::ext::oneapi::experimental::properties{
4949
sycl::ext::oneapi::experimental::use_root_sync};
5050
}
5151
};
52-
q.single_task<class QueryKernel>(TestKernel0{});
52+
q.single_task(QueryKernel{});
5353

5454
static auto check_max_num_work_group_sync = [](auto Result) {
5555
static_assert(std::is_same_v<std::remove_cv_t<decltype(Result)>, size_t>,

0 commit comments

Comments
 (0)