You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sycl/test/basic_tests/single_task_error_message.cpp
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ int main() {
10
10
{
11
11
myQueue
12
12
.single_task([&](sycl::handler &cgh) {
13
-
// expected-error-re@CL/sycl/queue.hpp:* {{static_assert failed due to requirement '{{.*}}' "sycl::queue.single_task() requires a kernel instead of command group.{{.*}} Use queue.submit() instead"}}
13
+
// expected-error-re@CL/sycl/queue.hpp:* {{static_assert failed due to requirement '{{.*}}': sycl::queue.single_task() requires a kernel instead of command group.{{.*}} Use queue.submit() instead}}
14
14
// expected-error-re@CL/sycl/detail/cg_types.hpp:* {{no matching function for call to object of type '(lambda at {{.*}}single_task_error_message.cpp:{{.*}})'}}
15
15
})
16
16
.wait();
@@ -26,7 +26,7 @@ int main() {
26
26
myQueue
27
27
.single_task(e,
28
28
[&](sycl::handler &cgh) {
29
-
// expected-error-re@CL/sycl/queue.hpp:* {{static_assert failed due to requirement '{{.*}}' "sycl::queue.single_task() requires a kernel instead of command group.{{.*}} Use queue.submit() instead"}}
29
+
// expected-error-re@CL/sycl/queue.hpp:* {{static_assert failed due to requirement '{{.*}}': sycl::queue.single_task() requires a kernel instead of command group.{{.*}} Use queue.submit() instead}}
30
30
// expected-error-re@CL/sycl/detail/cg_types.hpp:* {{no matching function for call to object of type '(lambda at {{.*}}single_task_error_message.cpp:{{.*}})'}}
31
31
})
32
32
.wait();
@@ -42,7 +42,7 @@ int main() {
42
42
myQueue
43
43
.single_task(vector_event,
44
44
[&](sycl::handler &cgh) {
45
-
// expected-error-re@CL/sycl/queue.hpp:* {{static_assert failed due to requirement '{{.*}}' "sycl::queue.single_task() requires a kernel instead of command group.{{.*}} Use queue.submit() instead"}}
45
+
// expected-error-re@CL/sycl/queue.hpp:* {{static_assert failed due to requirement '{{.*}}': sycl::queue.single_task() requires a kernel instead of command group.{{.*}} Use queue.submit() instead}}
46
46
// expected-error-re@CL/sycl/detail/cg_types.hpp:* {{no matching function for call to object of type '(lambda at {{.*}}single_task_error_message.cpp:{{.*}})'}}
// expected-error@CL/sycl/accessor.hpp:* {{static_assert failed due to requirement '!(accessor_property_list<sycl::ext::oneapi::property::no_offset::instance<true>, sycl::property::no_init>::has_property())' "Accessor has no_offset property, get_offset() can not be used"}}
15
+
// expected-error@CL/sycl/accessor.hpp:* {{static_assert failed due to requirement '!(accessor_property_list<sycl::ext::oneapi::property::no_offset::instance<true>, sycl::property::no_init>::has_property())': Accessor has no_offset property, get_offset() can not be used}}
Copy file name to clipboardExpand all lines: sycl/test/extensions/properties/properties_ctor_negative.cpp
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,18 +5,18 @@
5
5
#include"mock_compile_time_properties.hpp"
6
6
7
7
intmain() {
8
-
// expected-error-re@sycl/ext/oneapi/properties/property_utils.hpp:* {{static_assert failed due to requirement {{.+}} "Unrecognized property in property list."}}
8
+
// expected-error-re@sycl/ext/oneapi/properties/property_utils.hpp:* {{static_assert failed due to requirement {{.+}}: Unrecognized property in property list.}}
9
9
// expected-error@+1 {{no viable constructor or deduction guide for deduction of template arguments of 'properties'}}
10
10
auto InvalidPropertyList1 = sycl::ext::oneapi::experimental::properties(1);
11
-
// expected-error-re@sycl/ext/oneapi/properties/property_utils.hpp:* {{static_assert failed due to requirement {{.+}} "Unrecognized property in property list."}}
11
+
// expected-error-re@sycl/ext/oneapi/properties/property_utils.hpp:* {{static_assert failed due to requirement {{.+}}: Unrecognized property in property list.}}
12
12
// expected-error@+1 {{no viable constructor or deduction guide for deduction of template arguments of 'properties'}}
13
13
auto InvalidPropertyList2 = sycl::ext::oneapi::experimental::properties(
14
14
sycl::ext::oneapi::experimental::foo{1}, true);
15
-
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}} "Duplicate properties in property list."}}
15
+
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}}: Duplicate properties in property list.}}
16
16
auto InvalidPropertyList3 = sycl::ext::oneapi::experimental::properties(
17
17
sycl::ext::oneapi::experimental::foo{0},
18
18
sycl::ext::oneapi::experimental::foo{1});
19
-
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}} "Duplicate properties in property list."}}
19
+
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}}: Duplicate properties in property list.}}
20
20
auto InvalidPropertyList4 = sycl::ext::oneapi::experimental::properties(
Copy file name to clipboardExpand all lines: sycl/test/extensions/properties/properties_get_property_negative.cpp
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,11 @@
6
6
7
7
intmain() {
8
8
auto EmptyPropertyList = sycl::ext::oneapi::experimental::properties();
9
-
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}} "Property list does not contain the requested property."}}
9
+
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}}: Property list does not contain the requested property.}}
10
10
// expected-error-re@+1 {{variable has incomplete type {{.+}}}}
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}} "Property list does not contain the requested property."}}
13
+
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}}: Property list does not contain the requested property.}}
14
14
// expected-error-re@+1 {{no viable conversion from {{.+}} to 'sycl::ext::oneapi::experimental::foo'}}
15
15
sycl::ext::oneapi::experimental::foo foo_val1 =
16
16
EmptyPropertyList
@@ -20,11 +20,11 @@ int main() {
20
20
auto PopulatedPropertyList = sycl::ext::oneapi::experimental::properties(
21
21
sycl::ext::oneapi::experimental::foz{.0f, true},
22
22
sycl::ext::oneapi::experimental::bar);
23
-
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}} "Property list does not contain the requested property."}}
23
+
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}}: Property list does not contain the requested property.}}
24
24
// expected-error-re@+1 {{variable has incomplete type {{.+}}}}
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}} "Property list does not contain the requested property."}}
27
+
// expected-error-re@sycl/ext/oneapi/properties/properties.hpp:* {{static_assert failed due to requirement {{.+}}: Property list does not contain the requested property.}}
28
28
// expected-error-re@+1 {{no viable conversion from {{.+}} to 'sycl::ext::oneapi::experimental::foo'}}
0 commit comments