Skip to content

Commit

Permalink
Add REQUIRES: unsplit-mode to extra tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayylol committed Nov 7, 2024
1 parent 84d9077 commit 73f56c2
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions sycl/test-e2e/Basic/windows_version_agnostic_sycl_lib.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// REQUIRES: windows
// REQUIRES: unsplit-mode

// RUN: %clangxx --driver-mode=cl /std:c++17 /EHsc -I%sycl_include -I%opencl_include_dir %s -o %t.out /link /defaultlib:%sycl_static_libs_dir/sycl.lib
// RUN: %{run} %t.out
Expand Down
1 change: 1 addition & 0 deletions sycl/test-e2e/Compression/no_zstd_warning.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// using --offload-compress without zstd should throw an error.
// REQUIRES: windows && cpu
// REQUIRES: unsplit-mode
// RUN: not %{build} -O0 -g --offload-compress %S/Inputs/single_kernel.cpp -o %t_compress.out 2>&1 | FileCheck %s
// CHECK: '--offload-compress' option is specified but zstd is not available. The device image will not be compressed.
1 change: 1 addition & 0 deletions sycl/test-e2e/DeviceLib/math_fp64_windows_test.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// REQUIRES: aspect-fp64, windows
// REQUIRES: unsplit-mode

// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}

Expand Down
1 change: 1 addition & 0 deletions sycl/test-e2e/DeviceLib/math_windows_test.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// REQUIRES: windows
// REQUIRES: unsplit-mode

// TODO: Add hypotf case back when the missing symbol is fixed.

Expand Down
1 change: 1 addition & 0 deletions sycl/test-e2e/Plugin/dll-detach-order.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// REQUIRES: windows
// REQUIRES: unsplit-mode
// RUN: env SYCL_UR_TRACE=-1 sycl-ls | FileCheck %s

// ensure that the plugins are detached AFTER urLoaderTearDown is done executing
Expand Down
1 change: 1 addition & 0 deletions sycl/test-e2e/Regression/compile_on_win_with_mdd.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// REQUIRES: windows
// REQUIRES: unsplit-mode

// RUN: %clangxx --driver-mode=cl -fsycl /MDd -c %s -o %t.obj
// RUN: %clangxx --driver-mode=cl -fsycl %t.obj -Wno-unused-command-line-argument -o %t.out
Expand Down
1 change: 1 addition & 0 deletions sycl/test-e2e/Regression/fsycl-host-compiler-win.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// RUN: %{build} -fsycl-host-compiler=cl -DDEFINE_CHECK -fsycl-host-compiler-options="-DDEFINE_CHECK /std:c++17 /Zc:__cplusplus" -o %t.exe
// RUN: %{run} %t.exe
// REQUIRES: windows
// REQUIRES: unsplit-mode
//
//==------- fsycl-host-compiler-win.cpp - external host compiler test ------==//
//
Expand Down
1 change: 1 addition & 0 deletions sycl/test-e2e/Regression/msvc_crt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// RUN: %{build} /MDd -o %t2.exe
// RUN: %{run} %t2.exe
// REQUIRES: system-windows, cl_options
// REQUIRES: unsplit-mode
//==-------------- msvc_crt.cpp - SYCL MSVC CRT test -----------------------==//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// REQUIRES: aspect-ext_oneapi_bindless_images
// REQUIRES: windows
// REQUIRES: unsplit-mode

// RUN: %{build} -l d3d12 -l dxgi -l dxguid -o %t.out
// RUN: %{run-unfiltered-devices} env NEOReadDebugKeys=1 UseBindlessMode=1 UseExternalAllocatorForSshAndDsh=1 %t.out
Expand Down
1 change: 1 addition & 0 deletions sycl/test-e2e/bindless_images/vulkan_interop/mipmaps.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// REQUIRES: cuda
// REQUIRES: vulkan
// REQUIRES: unsplit-mode

// RUN: %{build} %link-vulkan -o %t.out
// RUN: %{run} %t.out
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// REQUIRES: cuda || (windows && level_zero && aspect-ext_oneapi_bindless_images)
// REQUIRES: vulkan
// REQUIRES: unsplit-mode

// RUN: %{build} %link-vulkan -o %t.out %if any-device-is-level_zero %{ -Wno-ignored-attributes -DENABLE_LINEAR_TILING -DTEST_L0_SUPPORTED_VK_FORMAT %}
// RUN: %{run} env NEOReadDebugKeys=1 UseBindlessMode=1 UseExternalAllocatorForSshAndDsh=1 %t.out
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// REQUIRES: cuda
// REQUIRES: vulkan
// REQUIRES: unsplit-mode

// RUN: %{build} %link-vulkan -o %t.out
// RUN: %{run} %t.out
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// REQUIRES: cuda || (windows && level_zero && aspect-ext_oneapi_bindless_images)
// REQUIRES: vulkan
// REQUIRES: unsplit-mode

// RUN: %{build} %link-vulkan -o %t.out %if any-device-is-level_zero %{ -Wno-ignored-attributes -DTEST_L0_SUPPORTED_VK_FORMAT %}
// RUN: %{run} env NEOReadDebugKeys=1 UseBindlessMode=1 UseExternalAllocatorForSshAndDsh=1 %t.out
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// REQUIRES: cuda
// REQUIRES: vulkan
// REQUIRES: unsplit-mode

// RUN: %{build} %link-vulkan -o %t.out
// RUN: %{run} %t.out
Expand Down
1 change: 1 addition & 0 deletions sycl/test-e2e/syclcompat/kernel/kernel_win.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// REQUIRES: windows
// REQUIRES: unsplit-mode

// DEFINE: %{sharedflag} = %if cl_options %{/clang:-shared%} %else %{-shared%}

Expand Down

0 comments on commit 73f56c2

Please sign in to comment.