Skip to content

Commit 6f224d0

Browse files
committed
Fix test
Signed-off-by: Soumi Manna <[email protected]>
1 parent 154d81f commit 6f224d0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

clang/test/SemaSYCL/intel-max-work-group-size.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,10 @@ class Functor {
3232

3333
class FunctorC {
3434
public:
35-
[[sycl::reqd_work_group_size(64, 64, 64)]] // expected-note {{conflicting attribute is here}}
36-
[[intel::max_work_group_size(16, 16, 16)]] void operator()() const; //expected-error{{'max_work_group_size' attribute conflicts with 'reqd_work_group_size' attribute}}
37-
[[sycl::reqd_work_group_size(64, 64, 64)]] // expected-note {{conflicting attribute is here}}
38-
[[intel::max_work_group_size(16, 16, 16)]] void operator()(int) const; //expected-error{{'max_work_group_size' attribute conflicts with 'reqd_work_group_size' attribute}}
39-
};
35+
[[sycl::reqd_work_group_size(64, 64, 64)]] [[intel::max_work_group_size(64, 64, 64)]] void operator()() const;
36+
[[sycl::reqd_work_group_size(64, 64, 64)]] [[intel::max_work_group_size(16, 16, 16)]] void operator()(int) const; // expected-error {{'max_work_group_size' attribute conflicts with 'reqd_work_group_size' attribute}} expected-note {{conflicting attribute is here}}
4037

38+
};
4139
// Ensure that template arguments behave appropriately based on instantiations.
4240
template <int N>
4341
[[intel::max_work_group_size(N, 1, 1)]] void f6(); // #f6

0 commit comments

Comments
 (0)