File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -11628,7 +11628,7 @@ def ext_sycl_2020_attr_spelling : ExtWarn<
11628
11628
"use of attribute %0 is a SYCL 2020 extension">,
11629
11629
InGroup<Sycl2017Compat>;
11630
11630
def err_sycl_esimd_not_supported_for_type : Error<
11631
- "type %0 is not supported in 'esimd' context">;
11631
+ "type %0 is not supported in ESIMD context">;
11632
11632
def err_sycl_taking_address_of_wrong_function : Error<
11633
11633
"taking address of a function not marked with "
11634
11634
"'intel::device_indirectly_callable' attribute is not allowed in SYCL device "
Original file line number Diff line number Diff line change 1
- // RUN: %clang_cc1 -fsycl-is-device -verify \
2
- // RUN: -internal-isystem %S/Inputs -triple spir64-unknown-unknown \
3
- // RUN: -fsyntax-only -disable-llvm-passes -emit-llvm %s -o - %s
1
+ // RUN: %clang_cc1 -fsycl-is-device -verify -internal-isystem %S/Inputs -fsyntax-only %s
4
2
5
3
// The test is to ensure that the use of sycl_explicit_simd attribute doesn't
6
4
// crash when used with sampler or stream. Currently samplers/stream are not
@@ -17,12 +15,12 @@ void test() {
17
15
cl::sycl::stream Stream (1024 , 128 , h);
18
16
// expected-note@+1{{in instantiation of function template specialization}}
19
17
h.single_task <class SamplerTester >(
20
- // expected-error@+1{{type 'sampler' is not supported in 'esimd' context}}
18
+ // expected-error@+1{{type 'sampler' is not supported in ESIMD context}}
21
19
[=]() [[intel::sycl_explicit_simd]] { Smplr.use (); });
22
20
23
21
// expected-note@+1{{in instantiation of function template specialization}}
24
22
h.single_task <class StreamTester >(
25
- // expected-error@+1{{type 'stream' is not supported in 'esimd' context}}
23
+ // expected-error@+1{{type 'stream' is not supported in ESIMD context}}
26
24
[=]() [[intel::sycl_explicit_simd]] { Stream.use (); });
27
25
});
28
26
}
You can’t perform that action at this time.
0 commit comments