3
3
#include < sycl/sycl.hpp>
4
4
5
5
template <size_t ... Is> struct KernelFunctorWithWGSizeWithAttr {
6
- // expected-warning@+1 {{kernel has both attribute 'reqd_work_group_size' and kernel properties; conflicting properties are ignored}}
6
+ // expected-warning@+1 {{kernel has both attribute 'sycl:: reqd_work_group_size' and kernel properties; conflicting properties are ignored}}
7
7
void operator () [[sycl::reqd_work_group_size(32 )]] () const {}
8
8
auto get (sycl::ext::oneapi::experimental::properties_tag) const {
9
9
return sycl::ext::oneapi::experimental::properties{
@@ -12,7 +12,7 @@ template <size_t... Is> struct KernelFunctorWithWGSizeWithAttr {
12
12
};
13
13
14
14
template <size_t ... Is> struct KernelFunctorWithWGSizeHintWithAttr {
15
- // expected-warning@+1 {{kernel has both attribute 'work_group_size_hint' and kernel properties; conflicting properties are ignored}}
15
+ // expected-warning@+1 {{kernel has both attribute 'sycl:: work_group_size_hint' and kernel properties; conflicting properties are ignored}}
16
16
void operator () [[sycl::work_group_size_hint(32 )]] () const {}
17
17
auto get (sycl::ext::oneapi::experimental::properties_tag) const {
18
18
return sycl::ext::oneapi::experimental::properties{
@@ -21,7 +21,7 @@ template <size_t... Is> struct KernelFunctorWithWGSizeHintWithAttr {
21
21
};
22
22
23
23
template <uint32_t I> struct KernelFunctorWithSGSizeWithAttr {
24
- // expected-warning@+1 {{kernel has both attribute 'reqd_sub_group_size' and kernel properties; conflicting properties are ignored}}
24
+ // expected-warning@+1 {{kernel has both attribute 'sycl:: reqd_sub_group_size' and kernel properties; conflicting properties are ignored}}
25
25
void operator () [[sycl::reqd_sub_group_size(32 )]] () const {}
26
26
auto get (sycl::ext::oneapi::experimental::properties_tag) const {
27
27
return sycl::ext::oneapi::experimental::properties{
@@ -30,7 +30,7 @@ template <uint32_t I> struct KernelFunctorWithSGSizeWithAttr {
30
30
};
31
31
32
32
template <sycl::aspect Aspect> struct KernelFunctorWithDeviceHasWithAttr {
33
- // expected-warning@+1 {{kernel has both attribute 'device_has' and kernel properties; conflicting properties are ignored}}
33
+ // expected-warning@+1 {{kernel has both attribute 'sycl:: device_has' and kernel properties; conflicting properties are ignored}}
34
34
void operator () [[sycl::device_has(sycl::aspect::cpu)]] () const {}
35
35
auto get (sycl::ext::oneapi::experimental::properties_tag) const {
36
36
return sycl::ext::oneapi::experimental::properties{
0 commit comments