Skip to content

Commit 7ec00ca

Browse files
vladimirlazbader
authored andcommitted
[SYCL] Enable build and LIT tests on windows (#463)
- Use ninja tool to optimize build - Adopt ICD loader files name - Temporally mark failing tests on windows as "expected to fail" for check-sycl, check-llvm-spirv Signed-off-by: Vladimir Lazarev <[email protected]>
1 parent ecedb43 commit 7ec00ca

Some content is hidden

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

42 files changed

+135
-20
lines changed

buildbot/check.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ def do_check(args):
1212
if cpu_count is None:
1313
cpu_count = DEFAULT_CPU_COUNT
1414

15-
make_cmd = ["make", args.test_suite, "VERBOSE=1", "-j", str(cpu_count), "LIT_ARGS=\"-v\""]
15+
env_tmp=os.environ
16+
env_tmp["LIT_ARGS"]="\"{}\"".format("-v")
17+
18+
make_cmd = ["ninja", args.test_suite, "-j", str(cpu_count)]
1619
print(make_cmd)
1720

18-
subprocess.check_call(make_cmd, cwd=args.obj_dir)
21+
subprocess.check_call(make_cmd, cwd=args.obj_dir, env=env_tmp)
1922

2023
ret = True
2124
return ret

buildbot/compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def do_compile(args):
1212
if cpu_count is None:
1313
cpu_count = DEFAULT_CPU_COUNT
1414

15-
make_cmd = ["make", "-j", str(cpu_count), "sycl-toolchain"]
15+
make_cmd = ["ninja", "-j", str(cpu_count), "sycl-toolchain"]
1616
print(make_cmd)
1717

1818
subprocess.check_call(make_cmd, cwd=args.obj_dir)

buildbot/configure.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import os
33
import subprocess
44
import sys
5+
import platform
56

67
def do_configure(args):
78
ret = False
@@ -10,9 +11,15 @@ def do_configure(args):
1011
sycl_dir = os.path.join(args.src_dir, "sycl")
1112
spirv_dir = os.path.join(args.src_dir, "llvm-spirv")
1213
ocl_header_dir = os.path.join(args.obj_dir, "OpenCL-Headers")
13-
icd_loader_lib = os.path.join(args.obj_dir, "OpenCL-ICD-Loader", "build", "libOpenCL.so")
14+
icd_loader_lib = ''
15+
16+
if platform.system() == 'Linux':
17+
icd_loader_lib = os.path.join(args.obj_dir, "OpenCL-ICD-Loader", "build", "libOpenCL.so")
18+
else:
19+
icd_loader_lib = os.path.join(args.obj_dir, "OpenCL-ICD-Loader", "build", "OpenCL.lib")
1420

1521
cmake_cmd = ["cmake",
22+
"-G", "Ninja",
1623
"-DCMAKE_BUILD_TYPE={}".format(args.build_type),
1724
"-DLLVM_EXTERNAL_PROJECTS=sycl;llvm-spirv",
1825
"-DLLVM_EXTERNAL_SYCL_SOURCE_DIR={}".format(sycl_dir),

buildbot/dependency.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,12 @@ def do_dependency(args):
6969
shutil.rmtree(icd_build_dir)
7070
os.makedirs(icd_build_dir)
7171

72-
cmake_cmd = ["cmake", ".."]
72+
cmake_cmd = ["cmake", "-G", "Ninja", ".."]
7373
subprocess.check_call(cmake_cmd, cwd=icd_build_dir)
7474

75-
make_cmd = ["make", "C_INCLUDE_PATH={}".format(ocl_header_dir)]
76-
subprocess.check_call(make_cmd, cwd=icd_build_dir)
75+
env_tmp=os.environ
76+
env_tmp["C_INCLUDE_PATH"] = "{}".format(ocl_header_dir)
77+
subprocess.check_call(["ninja"], env=env_tmp, cwd=icd_build_dir)
7778

7879
ret = True
7980
return ret

clang/test/CodeGenSYCL/address-space-new.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,6 @@ int main() {
9191
kernel_single_task<class fake_kernel>([]() { test(); });
9292
return 0;
9393
}
94+
95+
// TODO: SYCL specific fail - analyze and enable
96+
// XFAIL: windows-msvc

clang/test/CodeGenSYCL/address-space-parameter-conversions.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,5 @@ int main() {
197197
return 0;
198198
}
199199

200+
// TODO: SYCL specific fail - analyze and enable
201+
// XFAIL: windows-msvc

clang/test/CodeGenSYCL/basic-kernel-wrapper.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,6 @@ int main() {
5555
// CHECK-OLD: call spir_func void @{{.*}}(%"class.{{.*}}.anon"* [[ANON]])
5656
// CHECK-NEW: [[ANONCAST:%[0-9]+]] = addrspacecast %"class{{.*}}anon"* {{.*}} to %"class{{.*}}anon" addrspace(4)*
5757
// CHECK-NEW: call spir_func void @{{.*}}(%"class.{{.*}}.anon" addrspace(4)* [[ANONCAST]])
58+
59+
// TODO: SYCL specific fail - analyze and enable
60+
// XFAIL: windows-msvc

clang/test/CodeGenSYCL/debug-info-srcpos-kernel.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ int main() {
3636
// CHECK: [[LINE_A0]] = !DILocation(line: 0
3737
// CHECK: [[LINE_B0]] = !DILocation(line: 0
3838

39+
// TODO: SYCL specific fail - analyze and enable
40+
// XFAIL: windows-msvc

clang/test/CodeGenSYCL/device-functions.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ int main() {
2727
// CHECK-NEW: define internal spir_func void @"_ZZ4mainENK3$_0clEv"(%"class.{{.*}}.anon" addrspace(4)* %this)
2828
// CHECK: define spir_func void @_Z3foov()
2929
// CHECK: define linkonce_odr spir_func i32 @_Z3barIiET_S0_(i32 %arg)
30+
31+
// TODO: SYCL specific fail - analyze and enable
32+
// XFAIL: windows-msvc

clang/test/CodeGenSYCL/sampler.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ int main() {
2828

2929
return 0;
3030
}
31+
32+
// TODO: SYCL specific fail - analyze and enable
33+
// XFAIL: windows-msvc

clang/test/CodeGenSYCL/spir-calling-conv.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ int main() {
1919
kernel_single_task<class kernel_function>([]() {});
2020
return 0;
2121
}
22+
23+
// TODO: SYCL specific fail - analyze and enable
24+
// XFAIL: windows-msvc

clang/test/CodeGenSYCL/usm-int-header.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ int main() {
3232
}
3333

3434
// CHECK: FunctionDecl {{.*}}usm_test 'void (__global int *, __global float *)'
35+
36+
// TODO: SYCL specific fail - analyze and enable
37+
// XFAIL: windows-msvc

clang/test/Driver/clang-offload-bundler.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,3 +318,5 @@ void test_func(void) {
318318
++A;
319319
}
320320

321+
// TODO: SYCL specific fail - analyze and enable
322+
// XFAIL: windows-msvc

clang/test/Driver/openmp-offload.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,3 +670,6 @@
670670
// FOFFLOAD_STATIC_LIB: ld{{(.exe)?}}" "-r" "-o" {{.*}} "[[INPUT:.+\.o]]"
671671
// FOFFLOAD_STATIC_LIB: clang-offload-bundler{{.*}} "-type=oo"
672672
// FOFFLOAD_STATIC_LIB: ld{{.*}} "@{{.*}}"
673+
674+
// TODO: SYCL specific fail - analyze and enable
675+
// XFAIL: windows-msvc

clang/test/Driver/sycl-offload-intelfpga.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@
4343
// CHK-FPGA-LINK-PHASES: 5: linker, {4}, object, (device-sycl)
4444
// CHK-FPGA-LINK-PHASES: 6: clang-offload-bundler, {3, 5}, object, (device-sycl)
4545
// CHK-FPGA-LINK-PHASES: 7: offload, "device-sycl (spir64_fpga-unknown-{{.*}}-sycldevice)" {6}, object
46+
47+
// TODO: SYCL specific fail - analyze and enable
48+
// XFAIL: windows-msvc

clang/test/Driver/sycl-offload-win.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,6 @@
7878
// FOFFLOAD_STATIC_LIB_SRC2: clang-offload-bundler{{(.exe)?}}{{.+}} "-type=ao"{{.+}} "-inputs=[[LIB]]"{{.+}} "-unbundle"
7979
// FOFFLOAD_STATIC_LIB_SRC2: llvm-link{{(.exe)?}}{{.*}} "@{{.*}}"
8080
// FOFFLOAD_STATIC_LIB_SRC2: link{{(.exe)?}}{{.+}} "-defaultlib:[[LIB]]"
81+
82+
// TODO: SYCL specific fail - analyze and enable
83+
// XFAIL: windows-msvc

clang/test/Driver/sycl-offload.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,3 +541,6 @@
541541
/// Verify that -save-temps does not crash
542542
// RUN: %clang -fsycl -target x86_64-unknown-linux-gnu -save-temps %s -### 2>&1
543543
// RUN: %clang -fsycl -fsycl-targets=spir64-unknown-linux-sycldevice -target x86_64-unknown-linux-gnu -save-temps %s -### 2>&1
544+
545+
// TODO: SYCL specific fail - analyze and enable
546+
// XFAIL: windows-msvc

clang/test/SemaSYCL/accessors-targets-image.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,6 @@ int main() {
6969
// CHECK: {{.*}}use_image1d_w 'void (__write_only image1d_t)'
7070
// CHECK: {{.*}}use_image2d_w 'void (__write_only image2d_t)'
7171
// CHECK: {{.*}}use_image3d_w 'void (__write_only image3d_t)'
72+
73+
// TODO: SYCL specific fail - analyze and enable
74+
// XFAIL: windows-msvc

clang/test/SemaSYCL/spir-enum.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ int main() {
3131
test( enum_type::B );
3232
return 0;
3333
}
34+
35+
// TODO: SYCL specific fail - analyze and enable
36+
// XFAIL: windows-msvc

llvm-spirv/lib/SPIRV/OCLUtil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ template <typename T> std::string getFullPath(const T *Scope) {
358358
if (sys::path::is_absolute(Filename))
359359
return Filename;
360360
SmallString<16> DirName = Scope->getDirectory();
361-
sys::path::append(DirName, Filename);
361+
sys::path::append(DirName, sys::path::Style::posix, Filename);
362362
return DirName.str().str();
363363
}
364364

llvm-spirv/test/DebugInfo/LocalAddressSpace.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
; CHECK: DW_TAG_variable
2323
; CHECK-NEXT: DW_AT_name {{.*}} = "a")
2424
; CHECK-NEXT: DW_AT_type {{.*}} "int")
25-
; CHECK-NEXT: DW_AT_decl_file {{.*}} ("/work/tmp/tmp.cl")
25+
; CHECK-NEXT: DW_AT_decl_file {{.*}} ("/work/tmp{{[/\\]}}tmp.cl")
2626
; CHECK-NEXT: DW_AT_decl_line {{.*}} (2)
2727
; CHECK-NEXT: DW_AT_location [DW_FORM_exprloc] (DW_OP_addr 0x0)
2828

llvm-spirv/test/lit.cfg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
config.name = 'LLVM_SPIRV'
1414

1515
# testFormat: The test format to use to interpret tests.
16-
config.test_format = lit.formats.ShTest(True)
16+
config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
1717

1818
# suffixes: A list of file extensions to treat as test files.
1919
config.suffixes = ['.cl', '.ll', '.spt']
@@ -58,4 +58,4 @@
5858
config.environment['LD_LIBRARY_PATH'] = new_ld_library_path
5959
llvm_config.add_tool_substitutions(['spirv-val'], [config.spirv_tools_bin_dir])
6060
else:
61-
config.substitutions.append(('spirv-val', ':'))
61+
config.substitutions.append(('spirv-val', 'echo'))

llvm-spirv/tools/llvm-spirv/llvm-spirv.cpp

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,18 @@ static int convertSPIRV() {
216216
}
217217
return 0;
218218
};
219-
if (OutputFile != "-") {
220-
std::ofstream OFS(OutputFile);
221-
return Action(OFS);
222-
} else
219+
if (OutputFile == "-")
223220
return Action(std::cout);
221+
222+
// Open the output file in binary mode in case we convert text to SPIRV binary
223+
if (ToBinary) {
224+
std::ofstream OFS(OutputFile, std::ios::binary);
225+
return Action(OFS);
226+
}
227+
228+
// Convert SPIRV binary to text
229+
std::ofstream OFS(OutputFile);
230+
return Action(OFS);
224231
}
225232
#endif
226233

llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
; DWARF-DUMP: DW_AT_name ("dwarf-riscv-relocs.c")
2727
; DWARF-DUMP: DW_AT_comp_dir (".")
2828
; DWARF-DUMP: DW_AT_name ("main")
29-
; DWARF-DUMP: DW_AT_decl_file ("./dwarf-riscv-relocs.c")
29+
; DWARF-DUMP: DW_AT_decl_file (".{{[/\\]}}dwarf-riscv-relocs.c")
3030
; DWARF-DUMP: DW_AT_decl_line (1)
3131
; DWARF-DUMP: DW_AT_type (0x00000032 "int")
3232
; DWARF-DUMP: DW_AT_name ("int")

sycl/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
set(LLVM_BUILD_LIBRARY_DIRS "${LLVM_BINARY_DIR}/lib/")
2+
set(LLVM_BUILD_BINARY_DIRS "${LLVM_BINARY_DIR}/bin/")
23
set(LLVM_TOOLS_DIR "${LLVM_BINARY_DIR}/bin/")
34
set(CLANG_IN_BUILD "${LLVM_BINARY_DIR}/bin/clang")
45
set(CLANGXX_IN_BUILD "${LLVM_BINARY_DIR}/bin/clang++")

sycl/test/basic_tests/boolean.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7+
// TODO: SYCL specific fail - analyze and enable
8+
// XFAIL: windows
9+
710
#include <CL/sycl.hpp>
811

912
#include <cassert>

sycl/test/basic_tests/image.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
// RUNx: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55

6+
// TODO: SYCL specific fail - analyze and enable
7+
// XFAIL: windows
8+
69
//==------------------- image.cpp - SYCL image basic test -----------------==//
710
//
811
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

sycl/test/basic_tests/image_api.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// RUN: %GPU_RUN_PLACEHOLDER %t1.out
77
// RUN: %ACC_RUN_PLACEHOLDER %t1.out
88

9+
// TODO: SYCL specific fail - analyze and enable
10+
// XFAIL: windows
11+
912
#include <CL/sycl.hpp>
1013

1114
#include <algorithm>

sycl/test/basic_tests/stream.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out %ACC_CHECK_PLACEHOLDER
6+
// TODO: SYCL specific fail - analyze and enable
7+
// XFAIL: windows
68
//==------------------ stream.cpp - SYCL stream basic test -----------------==//
79
//
810
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

sycl/test/basic_tests/vectors/vector_operators.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: %CPU_RUN_PLACEHOLDER %t.out
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
6+
// TODO: SYCL specific fail - analyze and enable
7+
// XFAIL: windows
68

79
//==---------- vector_operators.cpp - SYCL vec<> operators test ------------==//
810
//

sycl/test/built-ins/vector_relational.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// RUN: %GPU_RUN_PLACEHOLDER %t.out
55
// RUN: %ACC_RUN_PLACEHOLDER %t.out
66

7+
// TODO: SYCL specific fail - analyze and enable
8+
// XFAIL: windows
9+
710
#include <CL/sycl.hpp>
811

912
#include <cassert>

sycl/test/hier_par/hier_par_basic.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// TODO temporarily disable GPU until regression in Intel Gen driver fixed.
1313
// R.U.N: %GPU_RUN_PLACEHOLDER %t.out
1414
// RUN: %ACC_RUN_PLACEHOLDER %t.out
15+
// TODO: SYCL specific fail - analyze and enable
16+
// XFAIL: windows
1517

1618
// This test checks hierarchical parallelism invocation APIs, but without any
1719
// data or code with side-effects between the work group and work item scopes.

sycl/test/hier_par/hier_par_wgscope.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// TODO temporarily disable GPU until regression in Intel Gen driver fixed.
1313
// R.U.N: %GPU_RUN_PLACEHOLDER %t.out
1414
// RUN: %ACC_RUN_PLACEHOLDER %t.out
15+
// TODO: SYCL specific fail - analyze and enable
16+
// XFAIL: windows
1517

1618
// This test checks correctness of hierarchical kernel execution when there is
1719
// code and data in the work group scope.

sycl/test/lit.cfg

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,23 @@ config.test_source_root = os.path.dirname(__file__)
3333
# test_exec_root: The root path where tests should be run.
3434
config.test_exec_root = os.path.join(config.sycl_dir, 'test')
3535

36-
# Propagate 'LD_LIBRARY_PATH' through the environment.
37-
if 'LD_LIBRARY_PATH' in os.environ:
38-
config.environment['LD_LIBRARY_PATH'] = os.path.pathsep.join((config.environment['LD_LIBRARY_PATH'], config.llvm_build_libs_dir))
36+
if platform.system() == "Linux":
37+
# Propagate 'LD_LIBRARY_PATH' through the environment.
38+
if 'LD_LIBRARY_PATH' in os.environ:
39+
config.environment['LD_LIBRARY_PATH'] = os.path.pathsep.join((config.environment['LD_LIBRARY_PATH'], config.llvm_build_libs_dir))
40+
else:
41+
config.environment['LD_LIBRARY_PATH'] = config.llvm_build_libs_dir
3942
else:
40-
config.environment['LD_LIBRARY_PATH'] = config.llvm_build_libs_dir
43+
config.available_features.add('windows')
44+
if 'LIB' in os.environ:
45+
config.environment['LIB'] = os.path.pathsep.join((config.environment['LIB'], config.llvm_build_libs_dir))
46+
else:
47+
config.environment['LIB'] = config.llvm_build_libs_dir
48+
49+
if 'PATH' in os.environ:
50+
config.environment['PATH'] = os.path.pathsep.join((config.environment['PATH'], config.llvm_build_bins_dir))
51+
else:
52+
config.environment['PATH'] = config.llvm_build_bins_dir
4153

4254
config.substitutions.append( ('%clang_cc1', ' ' + config.clang + ' -cc1 ') )
4355
config.substitutions.append( ('%clangxx', ' ' + config.clangxx + ' -I'+config.opencl_include ) )

sycl/test/lit.site.cfg.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config.clangxx = "@CLANGXX_IN_BUILD@"
77
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
88
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
99
config.llvm_build_libs_dir = "@LLVM_BUILD_LIBRARY_DIRS@"
10+
config.llvm_build_bins_dir = "@LLVM_BUILD_BINARY_DIRS@"
1011
config.llvm_binary_dir = "@LLVM_BINARY_DIR@"
1112
config.opencl_include = "@OPENCL_INCLUDE@"
1213
config.sycl_include = "@SYCL_INCLUDE@"

sycl/test/usm/allocatorll.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// RUN: %clangxx -fsycl %s -o %t1.out -lOpenCL
22
// RUN: %CPU_RUN_PLACEHOLDER %t1.out
3+
// TODO: SYCL specific fail - analyze and enable
4+
// XFAIL: windows
5+
36
//==---- allocatorll.cpp - Device Memory Linked List Allocator test --------==//
47
//
58
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

sycl/test/usm/dmemll.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// RUN: %clangxx -fsycl %s -o %t1.out -lOpenCL
22
// RUN: %CPU_RUN_PLACEHOLDER %t1.out
3+
// TODO: SYCL specific fail - analyze and enable
4+
// XFAIL: windows
5+
36
//==------------------- dmemll.cpp - Device Memory Linked List test --------==//
47
//
58
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

sycl/test/usm/dmemllaligned.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// RUN: %clangxx -fsycl %s -o %t1.out -lOpenCL
22
// RUN: %CPU_RUN_PLACEHOLDER %t1.out
3+
// TODO: SYCL specific fail - analyze and enable
4+
// XFAIL: windows
5+
36
//==---- dmemllaligned.cpp - Aligned Device Memory Linked List test --------==//
47
//
58
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

sycl/test/usm/hmemll.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// RUN: %clangxx -fsycl %s -o %t1.out -lOpenCL
22
// RUN: %CPU_RUN_PLACEHOLDER %t1.out
3+
// TODO: SYCL specific fail - analyze and enable
4+
// XFAIL: windows
5+
36
//==------------------- hmemll.cpp - Host Memory Linked List test ----------==//
47
//
58
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

sycl/test/usm/hmemllaligned.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// RUN: %clangxx -fsycl %s -o %t1.out -lOpenCL
22
// RUN: %CPU_RUN_PLACEHOLDER %t1.out
3+
4+
// TODO: SYCL specific fail - analyze and enable
5+
// XFAIL: windows
36
//==---- hmemllaligned.cpp - Aligned Host Memory Linked List test ----------==//
47
//
58
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

0 commit comments

Comments
 (0)