Skip to content

[SYCL][E2E] Mark imf test as unsupported intended for cuda/hip #19000

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@

// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
// RUN: %{run} %t2.out
//
// UNSUPPORTED: target-nvidia || target-amd

// Windows doesn't yet have full shutdown().
// UNSUPPORTED: ze_debug && windows

#include "imf_utils.hpp"
#include <sycl/ext/intel/math.hpp>
#include <sycl/detail/core.hpp>
#include <sycl/ext/intel/math.hpp>

int main() {
sycl::queue device_queue(sycl::default_selector_v);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t1.out
// RUN: %{run} %t1.out
//
// UNSUPPORTED: target-nvidia || target-amd

#include "imf_utils.hpp"
#include <sycl/ext/intel/math.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
// RUN: %{run} %t2.out

// UNSUPPORTED: target-nvidia, target-amd

#include "imf_utils.hpp"
#include <sycl/ext/intel/math.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
// RUN: %{run} %t2.out
//
// UNSUPPORTED: target-nvidia || target-amd

// All __imf_* bf16 functions are implemented via fp32 emulation, so we don't
// need to check whether underlying device supports bf16 or not.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
// RUN: %clangxx -Wno-error=unused-command-line-argument -fsycl %{sycl_target_opts} %t1.o %t2.o -o %t.out
// RUN: %{run} %t.out

// UNSUPPORTED: target-nvidia, target-amd

// Windows doesn't yet have full shutdown().
// UNSUPPORTED: ze_debug && windows

Expand Down Expand Up @@ -417,7 +415,6 @@ void run_imf_fp16_test() {
F3(sycl_imf::hcmadd));
std::cout << "hcmadd passes." << std::endl;
}

}
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
// RUN: %{run} %t2.out
//
// UNSUPPORTED: target-nvidia || target-amd

#include "imf_utils.hpp"
#include <sycl/ext/intel/math.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
// RUN: %{run} %t2.out
//
// UNSUPPORTED: target-nvidia || target-amd

// Windows doesn't yet have full shutdown().
// UNSUPPORTED: ze_debug && windows
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
// RUN: %{run} %t2.out
//
// UNSUPPORTED: target-nvidia || target-amd

// Depends on SPIR-V Backend & run-time drivers version.
// XFAIL: spirv-backend && run-mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
// RUN: %{run} %t2.out
//
// UNSUPPORTED: target-nvidia || target-amd

#include "imf_utils.hpp"
#include <sycl/ext/intel/math.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
// RUN: %{run} %t2.out
//
// UNSUPPORTED: target-nvidia || target-amd

#include "imf_utils.hpp"
#include <sycl/ext/intel/math.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
// RUN: %{run} %t2.out

// UNSUPPORTED: target-nvidia, target-amd

// Windows doesn't yet have full shutdown().
// UNSUPPORTED: ze_debug && windows

Expand Down
2 changes: 2 additions & 0 deletions sycl/test-e2e/DeviceLib/imf/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# IMF is not supported on Nvidia and AMD
config.unsupported_features += ['target-nvidia', 'target-amd']
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
// RUN: %{run} %t2.out
//
// UNSUPPORTED: target-nvidia || target-amd

// UNSUPPORTED: igc-dev
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17008
Expand Down
22 changes: 5 additions & 17 deletions sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
// tests to match the required format and in that case you should just update
// (i.e. reduce) the number and the list below.
//
// NUMBER-OF-UNSUPPORTED-WITHOUT-INFO: 248
// NUMBER-OF-UNSUPPORTED-WITHOUT-INFO: 236
//
// List of improperly UNSUPPORTED tests.
// Remove the CHECK once the test has been properly UNSUPPORTED.
Expand Down Expand Up @@ -94,22 +94,10 @@
// CHECK-NEXT: DeprecatedFeatures/DiscardEvents/discard_events_using_assert.cpp
// CHECK-NEXT: DeviceLib/built-ins/printf.cpp
// CHECK-NEXT: DeviceLib/cmath-aot.cpp
// CHECK-NEXT: DeviceLib/imf_bfloat16_integeral_convesions.cpp
// CHECK-NEXT: DeviceLib/imf_bfloat16_integeral_convesions.cpp
// CHECK-NEXT: DeviceLib/imf_double2bfloat16.cpp
// CHECK-NEXT: DeviceLib/imf_double2half.cpp
// CHECK-NEXT: DeviceLib/imf_float2bfloat16.cpp
// CHECK-NEXT: DeviceLib/imf_fp16_trivial_test.cpp
// CHECK-NEXT: DeviceLib/imf_fp16_trivial_test.cpp
// CHECK-NEXT: DeviceLib/imf_fp32_rounding_test.cpp
// CHECK-NEXT: DeviceLib/imf_fp32_test.cpp
// CHECK-NEXT: DeviceLib/imf_fp32_test.cpp
// CHECK-NEXT: DeviceLib/imf_fp64_rounding_test.cpp
// CHECK-NEXT: DeviceLib/imf_fp64_test.cpp
// CHECK-NEXT: DeviceLib/imf_fp64_test2.cpp
// CHECK-NEXT: DeviceLib/imf_half_type_cast.cpp
// CHECK-NEXT: DeviceLib/imf_half_type_cast.cpp
// CHECK-NEXT: DeviceLib/imf_simd_emulate_test.cpp
// CHECK-NEXT: DeviceLib/imf/bfloat16_integeral_convesions.cpp
// CHECK-NEXT: DeviceLib/imf/fp16_trivial_test.cpp
// CHECK-NEXT: DeviceLib/imf/fp32_test.cpp
// CHECK-NEXT: DeviceLib/imf/half_type_cast.cpp
// CHECK-NEXT: DeviceLib/separate_compile_test.cpp
// CHECK-NEXT: ESIMD/PerformanceTests/BitonicSortK.cpp
// CHECK-NEXT: ESIMD/PerformanceTests/BitonicSortKv2.cpp
Expand Down