We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5627e26 commit ea04ef5Copy full SHA for ea04ef5
sycl/test/esimd/slm_load.cpp
@@ -1,5 +1,4 @@
1
// RUN: %clangxx -fsycl -fsycl-device-only -fsyntax-only -Xclang -verify %s
2
-// expected-no-diagnostics
3
4
#include <CL/sycl.hpp>
5
#include <sycl/ext/intel/experimental/esimd.hpp>
@@ -14,6 +13,10 @@ void kernel() __attribute__((sycl_device)) {
14
13
simd<int, 32> v1(0, 1);
15
16
auto v0 = slm_load<int, 32>(offsets);
+ auto v2 = slm_load<float, 32>(offsets);
17
+ // expected-error@+2 {{no matching function for call to 'slm_load'}}
18
+ // expected-note@sycl/ext/intel/experimental/esimd/memory.hpp:* {{candidate template ignored}}
19
+ auto v3 = slm_load<double, 32>(offsets);
20
21
esimd_fence(3);
22
esimd_barrier();
0 commit comments