Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 3dbc866

Browse files
author
Artem Gindinson
committed
Merge remote-tracking branch 'origin/intel' into instr-device-code
2 parents 1be3175 + 7f04719 commit 3dbc866

File tree

173 files changed

+782
-250
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+782
-250
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ SYCL/DeviceLib/ITTAnnotations @vzakhari @MrSidims @AGindinson
2929
SYCL/DotProduct @rdeodhar
3030

3131
# Explicit SIMD
32-
SYCL/ESIMD @kbobrovs @DenisBakhvalov
32+
SYCL/ESIMD @kbobrovs @v-klochkov
3333

3434
# Functor
3535
SYCL/Functor @AlexeySachkov

SYCL/AOT/accelerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88

99
// REQUIRES: aoc, accelerator
1010

11-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_fpga-unknown-unknown-sycldevice %S/Inputs/aot.cpp -o %t.out
11+
// RUN: %clangxx -fsycl -fsycl-targets=spir64_fpga %S/Inputs/aot.cpp -o %t.out
1212
// RUN: %ACC_RUN_PLACEHOLDER %t.out

SYCL/AOT/cpu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
// REQUIRES: opencl-aot, cpu
1010

11-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %S/Inputs/aot.cpp -o %t.out
11+
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 %S/Inputs/aot.cpp -o %t.out
1212
// RUN: %CPU_RUN_PLACEHOLDER %t.out
1313

1414
// Test that opencl-aot can handle multiple build options.
15-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %S/Inputs/aot.cpp -Xsycl-target-backend "--bo=-g" -Xsycl-target-backend "--bo=-cl-opt-disable" -o %t2.out
15+
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 %S/Inputs/aot.cpp -Xsycl-target-backend "--bo=-g" -Xsycl-target-backend "--bo=-cl-opt-disable" -o %t2.out

SYCL/AOT/gpu.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
// UNSUPPORTED: cuda
1111
// CUDA is not compatible with SPIR.
1212
//
13-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen-unknown-unknown-sycldevice -Xsycl-target-backend=spir64_gen-unknown-unknown-sycldevice "-device *" %S/Inputs/aot.cpp -o %t.out
13+
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device *" %S/Inputs/aot.cpp -o %t.out
1414
// RUN: %GPU_RUN_PLACEHOLDER %t.out

SYCL/AOT/multiple-devices.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
// 1-command compilation case
1414
// Targeting CPU, GPU, FPGA
15-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice,spir64_gen-unknown-unknown-sycldevice,spir64_fpga-unknown-unknown-sycldevice -Xsycl-target-backend=spir64_gen-unknown-unknown-sycldevice "-device *" %S/Inputs/aot.cpp -o %t_all.out
15+
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64,spir64_gen,spir64_fpga -Xsycl-target-backend=spir64_gen "-device *" %S/Inputs/aot.cpp -o %t_all.out
1616
// RUN: %HOST_RUN_PLACEHOLDER %t_all.out
1717
// RUN: %CPU_RUN_PLACEHOLDER %t_all.out
1818
// RUN: %GPU_RUN_PLACEHOLDER %t_all.out
@@ -26,7 +26,7 @@
2626
// Produce object file, spirv, device images to combine these differently
2727
// at link-time, thus testing various AOT-compiled images configurations
2828
// RUN: %clangxx -fsycl %S/Inputs/aot.cpp -c -o %t.o
29-
// RUN: %clangxx -fsycl -fsycl-link-targets=spir64-unknown-unknown-sycldevice %t.o -o %t.spv
29+
// RUN: %clangxx -fsycl -fsycl-link-targets=spir64 %t.o -o %t.spv
3030
// AOT-compile device binary images
3131
// Neither of AOT tools can compile several files, hence, here is this
3232
// workaround

SYCL/AOT/spec_const_aot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: opencl-aot, cpu
22
//
3-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64-unknown-unknown-sycldevice %s -o %t.out
3+
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 %s -o %t.out
44
// RUN: %CPU_RUN_PLACEHOLDER %t.out
55
//
66
// The test checks that the specialization constant feature works with ahead

SYCL/AOT/with-llvm-bc.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
// REQUIRES: cpu, dump_ir
1010

11-
// RUN: %clangxx -fsycl -fsycl-targets=spir64-unknown-unknown-sycldevice -c %S/Inputs/aot.cpp -o %t.o
12-
// RUN: %clangxx -fsycl -fsycl-link-targets=spir64-unknown-unknown-sycldevice %t.o -o %t.spv
11+
// RUN: %clangxx -fsycl -fsycl-targets=spir64 -c %S/Inputs/aot.cpp -o %t.o
12+
// RUN: %clangxx -fsycl -fsycl-link-targets=spir64 %t.o -o %t.spv
1313
// RUN: llvm-spirv -r %t.spv -o %t.bc
1414
// RUN: %clangxx -fsycl -fsycl-add-targets=spir64:%t.bc %t.o -o %t.out
1515
//

SYCL/Assert/assert_in_simultaneously_multiple_tus.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
// FIXME unsuppoerted on CUDA until fallback libdevice becomes available
22
// UNSUPPORTED: cuda
3-
// FIXME disable the test on Linux on OpenCL on FPGA as there's some funny
4-
// failure taking place in this configuration on CI. The test should be enabled
5-
// with this configuration once it's debugged.
6-
// UNSUPPORTED: linux && opencl && fpga
73
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -I %S/Inputs %s %S/Inputs/kernels_in_file2.cpp -o %t.out %threads_lib
84
// RUN: %CPU_RUN_PLACEHOLDER %t.out &> %t.txt || true
95
// RUN: %CPU_RUN_PLACEHOLDER FileCheck %s --input-file %t.txt

SYCL/Assert/assert_in_simultaneously_multiple_tus_one_ndebug.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
// FIXME unsuppoerted on CUDA until fallback libdevice becomes available
22
// UNSUPPORTED: cuda
3-
// FIXME disable the test on Linux on OpenCL on FPGA as there's some funny
4-
// failure taking place in this configuration on CI. The test should be enabled
5-
// with this configuration once it's debugged.
6-
// UNSUPPORTED: linux && opencl && fpga
73
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -DDEFINE_NDEBUG_INFILE2 -I %S/Inputs %S/assert_in_simultaneously_multiple_tus.cpp %S/Inputs/kernels_in_file2.cpp -o %t.out %threads_lib
84
// RUN: %CPU_RUN_PLACEHOLDER %t.out &> %t.txt || true
95
// RUN: %CPU_RUN_PLACEHOLDER FileCheck %s --input-file %t.txt

SYCL/AtomicRef/add.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -fsycl-targets=%sycl_triple %s -o %t.out \
2-
// RUN: -Xsycl-target-backend=nvptx64-nvidia-cuda-sycldevice --cuda-gpu-arch=sm_60
2+
// RUN: -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_60
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %CPU_RUN_PLACEHOLDER %t.out

SYCL/AtomicRef/add_atomic64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -fsycl-targets=%sycl_triple %s -o %t.out \
2-
// RUN: -Xsycl-target-backend=nvptx64-nvidia-cuda-sycldevice --cuda-gpu-arch=sm_60
2+
// RUN: -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_60
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %CPU_RUN_PLACEHOLDER %t.out

SYCL/AtomicRef/sub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -fsycl-targets=%sycl_triple %s -o %t.out \
2-
// RUN: -Xsycl-target-backend=nvptx64-nvidia-cuda-sycldevice --cuda-gpu-arch=sm_60
2+
// RUN: -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_60
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %CPU_RUN_PLACEHOLDER %t.out

SYCL/AtomicRef/sub_atomic64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %clangxx -fsycl -fsycl-unnamed-lambda -fsycl-targets=%sycl_triple %s -o %t.out \
2-
// RUN: -Xsycl-target-backend=nvptx64-nvidia-cuda-sycldevice --cuda-gpu-arch=sm_60
2+
// RUN: -Xsycl-target-backend=nvptx64-nvidia-cuda --cuda-gpu-arch=sm_60
33
// RUN: %HOST_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %CPU_RUN_PLACEHOLDER %t.out

SYCL/BFloat16/bfloat16_type.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// UNSUPPORTED: cuda
1+
// UNSUPPORTED: cuda || hip
22
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
33
// TODO currently the feature isn't supported on most of the devices
44
// need to enable the test when the aspect and device_if feature are

SYCL/Basic/barrier_order.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55

6-
// UNSUPPORTED: cuda
6+
// UNSUPPORTED: cuda || hip
77

88
#include <CL/sycl.hpp>
99
#include <stdlib.h>

SYCL/Basic/buffer/buffer_full_copy.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// RUN: %CPU_RUN_PLACEHOLDER %t2.out
66
// RUN: %GPU_RUN_PLACEHOLDER %t2.out
77
// RUN: %ACC_RUN_PLACEHOLDER %t2.out
8+
//
9+
// Incorrect results with hip
10+
// XFAIL: hip
811

912
//==------------- buffer_full_copy.cpp - SYCL buffer basic test ------------==//
1013
//

SYCL/Basic/buffer/subbuffer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66
//
7+
// Test failing with hip on AMD
8+
// XFAIL: hip_amd
79
//==---------- subbuffer.cpp --- sub-buffer basic test ---------------------==//
810
//
911
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

SYCL/Basic/device_code_dae.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// NOTE A temporary test before this compilation flow is enabled by default in
22
// driver
3-
// UNSUPPORTED: cuda
4-
// CUDA does not support SPIR-V.
3+
// UNSUPPORTED: cuda || hip
4+
// CUDA and HIP don't support SPIR-V.
55
// RUN: %clangxx -fsycl-device-only -Xclang -fenable-sycl-dae -Xclang -fsycl-int-header=int_header.h %s -c -o device_code.bc -Wno-sycl-strict
66
// RUN: %clangxx %cxx_std_optionc++17 %include_option int_header.h %debug_option -c %s -o host_code.o %sycl_options -Wno-sycl-strict
77
// FIXME Added explicit offline linking step here until online-linking support

SYCL/Basic/device_event.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// RUN: %ACC_RUN_PLACEHOLDER %t.run
55
// TODO: nd_item::barrier() is not implemented on HOST
66
// RUNx: %HOST_RUN_PLACEHOLDER %t.run
7+
//
8+
// Crashes on AMD
9+
// XFAIL: hip_amd
710

811
//==--------device_event.cpp - SYCL class device_event test ----------------==//
912
//

SYCL/Basic/enqueue_barrier.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
// The test is failing sporadically on Windows OpenCL RTs
77
// Disabling on windows until fixed
8-
// UNSUPPORTED: cuda || windows
8+
// UNSUPPORTED: cuda || windows || hip
99

1010
#include <CL/sycl.hpp>
1111
#include <sycl/ext/intel/fpga_device_selector.hpp>

SYCL/Basic/free_function_queries/free_function_queries_sub_group.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// UNSUPPORTED: cuda
2-
// CUDA compilation and runtime do not yet support sub-groups.
1+
// UNSUPPORTED: cuda || hip
2+
// CUDA and HIP compilation and runtime do not yet support sub-groups.
33
//
44
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
55
// RUN: %HOST_RUN_PLACEHOLDER %t.out

SYCL/Basic/get_backend.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
22
// RUN: env SYCL_DEVICE_FILTER=%sycl_be %t.out
33
//
4+
// Failing on HIP AMD
5+
// XFAIL: hip_amd
6+
//
47
//==----------------- get_backend.cpp ------------------------==//
58
// This is a test of get_backend().
69
// Do not set SYCL_DEVICE_FILTER. We do not want the preferred

SYCL/Basic/group_async_copy.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.run
44
// RUN: %ACC_RUN_PLACEHOLDER %t.run
55
// RUN: env SYCL_DEVICE_FILTER=host %t.run
6+
//
7+
// Crashes on AMD
8+
// XFAIL: hip_amd
69

710
#include <CL/sycl.hpp>
811
#include <iostream>

SYCL/Basic/handler/handler_set_args.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// RUN: %CPU_RUN_PLACEHOLDER %t.out
33
// RUN: %GPU_RUN_PLACEHOLDER %t.out
44
// RUN: %ACC_RUN_PLACEHOLDER %t.out
5+
//
6+
// Memory access fault on AMD
7+
// XFAIL: hip_amd
58
//==--------------- handler_set_args.cpp -------------------==//
69
//
710
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

SYCL/Basic/host_platform_avail.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %HOST_RUN_PLACEHOLDER %t1.out
33
// RUN: %CPU_RUN_PLACEHOLDER %t1.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t1.out
5-
// RUN: %ACC_RUN_PLACEHOLDER %t1.out
5+
// RUN: env SYCL_DEVICE_FILTER=acc,host %t1.out
66

77
//==------ host_platform_avail.cpp - Host Platform Availability test -------==//
88
//
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
// UNSUPPORTED: cuda || hip
2+
// CUDA does not support SYCL 1.2.1 images.
3+
//
4+
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
5+
// RUN: %HOST_RUN_PLACEHOLDER %t.out
6+
// RUN: %CPU_RUN_PLACEHOLDER %t.out
7+
// RUN: %GPU_RUN_PLACEHOLDER %t.out
8+
9+
// XFAIL: level_zero
10+
11+
#include <CL/sycl.hpp>
12+
#include <CL/sycl/accessor.hpp>
13+
#include <iostream>
14+
using namespace sycl;
15+
#define N 4 // dimensin
16+
#define M 128 // dimension
17+
#define C 4 // 4 channel
18+
#define L 2 // 2 images
19+
20+
void try_1D(queue &Q) {
21+
int X = -55;
22+
buffer<int, 1> BX{&X, 1};
23+
int *host_array = new int[M * C];
24+
image im1(host_array, image_channel_order::rgba,
25+
image_channel_type::unsigned_int8, range{M});
26+
27+
Q.submit([&](handler &h) {
28+
accessor<int4, 1, access::mode::read, access::target::image> acs1(im1, h);
29+
accessor ABX{BX, h};
30+
auto R = acs1.get_range();
31+
std::cout << "Host acs1.get_range()=" << R[0] << "\n";
32+
assert(R[0] == M);
33+
h.parallel_for(nd_range{range{M}, range{N}}, [=](nd_item<1> it) {
34+
int idx = it.get_global_linear_id();
35+
if (idx == 0) {
36+
auto R = acs1.get_range();
37+
ABX[0] = R[0];
38+
}
39+
});
40+
});
41+
{
42+
host_accessor HABX{BX, read_only};
43+
std::cout << "From Device acs1.get_range()=" << X << "\n";
44+
assert(X == M);
45+
}
46+
}
47+
48+
void try_2D(queue &Q) {
49+
range<2> X = {55, 66};
50+
buffer<range<2>, 1> BX{&X, 1};
51+
int *host_array = new int[M * N * C];
52+
image im2(host_array, image_channel_order::rgba,
53+
image_channel_type::unsigned_int8, range{M, N});
54+
55+
Q.submit([&](handler &h) {
56+
accessor<int4, 2, access::mode::read, access::target::image> acs2(im2, h);
57+
accessor ABX{BX, h};
58+
auto R = acs2.get_range();
59+
std::cout << "Host acs2.get_range()=" << R[0] << "," << R[1] << "\n";
60+
assert(R[0] == M);
61+
assert(R[1] == N);
62+
h.parallel_for(nd_range{range{M, N}, range{N, N}}, [=](nd_item<2> it) {
63+
int idx = it.get_global_linear_id();
64+
if (idx == 0) {
65+
ABX[0] = acs2.get_range();
66+
}
67+
});
68+
});
69+
{
70+
host_accessor HABX{BX, read_only};
71+
std::cout << "From Device acs2.get_range()=" << HABX[0][0] << ","
72+
<< HABX[0][1] << "\n";
73+
assert(HABX[0][0] == M);
74+
assert(HABX[0][1] == N);
75+
}
76+
}
77+
78+
void try_3D(queue &Q) {
79+
range<3> X{55, 66, 77};
80+
buffer<range<3>, 1> BX{&X, 1};
81+
int *host_array3_2 = malloc_host<int>(N * M * C * L, Q);
82+
image im3(host_array3_2, image_channel_order::rgba,
83+
image_channel_type::unsigned_int8, range{M, N, L});
84+
85+
Q.submit([&](handler &h) {
86+
accessor<int4, 2, access::mode::read, access::target::image_array> acs3(im3,
87+
h);
88+
accessor ABX{BX, h};
89+
auto R = acs3.get_range();
90+
std::cout << "Host acs3.get_range()=" << R[0] << "," << R[1] << "," << R[2]
91+
<< "\n";
92+
assert(R[0] == M);
93+
assert(R[1] == N);
94+
assert(R[2] == L);
95+
h.parallel_for(nd_range{range{M, N, L}, range{N, N, L}},
96+
[=](nd_item<3> it) {
97+
int idx = it.get_global_linear_id();
98+
if (idx == 0) {
99+
ABX[0] = acs3.get_range();
100+
}
101+
});
102+
});
103+
{
104+
host_accessor HABX{BX, read_only};
105+
std::cout << "From Device acs3.get_range()=" << HABX[0][0] << ","
106+
<< HABX[0][1] << "," << HABX[0][2] << "\n";
107+
assert(HABX[0][0] == M);
108+
assert(HABX[0][1] == N);
109+
assert(HABX[0][2] == L);
110+
}
111+
}
112+
113+
int main() {
114+
queue Q;
115+
116+
try_1D(Q);
117+
try_2D(Q);
118+
try_3D(Q);
119+
120+
return 0;
121+
}

SYCL/Basic/image/image_read.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
* the OpenCL 1.2 specification, Section 8. Image Addressing and Filtering
77
*
88
* https://www.khronos.org/registry/OpenCL/specs/opencl-1.2.pdf#page=329
9-
*
10-
* Confirmed to pass with -fsycl-targets=spir64-unknown-linux-sycldevice
119
*/
1210

1311
#include <CL/sycl.hpp>

SYCL/Basic/image/image_write.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
* the OpenCL 1.2 specification, Section 8. Image Addressing and Filtering
77
*
88
* https://www.khronos.org/registry/OpenCL/specs/opencl-1.2.pdf#page=329
9-
*
10-
* Confirmed to pass with -fsycl-targets=spir64-unknown-linux-sycldevice
119
*/
1210

1311
#include <CL/sycl.hpp>

SYCL/Basic/info.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
6+
//
7+
// Hits a terminate on HIP AMD
8+
// XFAIL: hip_amd
69

710
//==----------------info.cpp - SYCL objects get_info() test ----------------==//
811
//

SYCL/Basic/kernel_info.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
//
66
// Fail is flaky for level_zero, enable when fixed.
77
// UNSUPPORTED: level_zero
8+
//
9+
// Failing on HIP AMD
10+
// XFAIL: hip_amd
811

912
//==--- kernel_info.cpp - SYCL kernel info test ----------------------------==//
1013
//

SYCL/Basic/linear-sub_group.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
6+
//
7+
// Missing built-ins on AMD
8+
// XFAIL: hip_amd
69
//==--------------- linear-sub_group.cpp - SYCL linear id test -------------==//
710
//
811
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

0 commit comments

Comments
 (0)