Skip to content

Commit ca6af1e

Browse files
committed
[NFC] Update namespace in warnings for properties_kernel_negative_device.cpp
1 parent 1acd8dc commit ca6af1e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sycl/test/extensions/properties/properties_kernel_negative_device.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <sycl/sycl.hpp>
44

55
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}}
77
void operator() [[sycl::reqd_work_group_size(32)]] () const {}
88
auto get(sycl::ext::oneapi::experimental::properties_tag) const {
99
return sycl::ext::oneapi::experimental::properties{
@@ -12,7 +12,7 @@ template <size_t... Is> struct KernelFunctorWithWGSizeWithAttr {
1212
};
1313

1414
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}}
1616
void operator() [[sycl::work_group_size_hint(32)]] () const {}
1717
auto get(sycl::ext::oneapi::experimental::properties_tag) const {
1818
return sycl::ext::oneapi::experimental::properties{
@@ -21,7 +21,7 @@ template <size_t... Is> struct KernelFunctorWithWGSizeHintWithAttr {
2121
};
2222

2323
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}}
2525
void operator() [[sycl::reqd_sub_group_size(32)]] () const {}
2626
auto get(sycl::ext::oneapi::experimental::properties_tag) const {
2727
return sycl::ext::oneapi::experimental::properties{
@@ -30,7 +30,7 @@ template <uint32_t I> struct KernelFunctorWithSGSizeWithAttr {
3030
};
3131

3232
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}}
3434
void operator() [[sycl::device_has(sycl::aspect::cpu)]] () const {}
3535
auto get(sycl::ext::oneapi::experimental::properties_tag) const {
3636
return sycl::ext::oneapi::experimental::properties{

0 commit comments

Comments
 (0)