Skip to content

Commit 6deac70

Browse files
authored
[SYCL][E2E] Mark imf test as unsupported intended for cuda/hip (#19000)
We don't support IMF in CUDA/HIP and have no plans of supporting it.
1 parent 514d8ed commit 6deac70

15 files changed

+9
-43
lines changed

sycl/test-e2e/DeviceLib/imf_bfloat16_integeral_convesions.cpp renamed to sycl/test-e2e/DeviceLib/imf/bfloat16_integeral_convesions.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@
33

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

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

1210
#include "imf_utils.hpp"
13-
#include <sycl/ext/intel/math.hpp>
1411
#include <sycl/detail/core.hpp>
12+
#include <sycl/ext/intel/math.hpp>
1513

1614
int main() {
1715
sycl::queue device_queue(sycl::default_selector_v);

sycl/test-e2e/DeviceLib/imf_double2bfloat16.cpp renamed to sycl/test-e2e/DeviceLib/imf/double2bfloat16.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

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

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

sycl/test-e2e/DeviceLib/imf_double2half.cpp renamed to sycl/test-e2e/DeviceLib/imf/double2half.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
88
// RUN: %{run} %t2.out
99

10-
// UNSUPPORTED: target-nvidia, target-amd
11-
1210
#include "imf_utils.hpp"
1311
#include <sycl/ext/intel/math.hpp>
1412

sycl/test-e2e/DeviceLib/imf_float2bfloat16.cpp renamed to sycl/test-e2e/DeviceLib/imf/float2bfloat16.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

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

97
// All __imf_* bf16 functions are implemented via fp32 emulation, so we don't
108
// need to check whether underlying device supports bf16 or not.

sycl/test-e2e/DeviceLib/imf_fp16_trivial_test.cpp renamed to sycl/test-e2e/DeviceLib/imf/fp16_trivial_test.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// RUN: %clangxx -Wno-error=unused-command-line-argument -fsycl %{sycl_target_opts} %t1.o %t2.o -o %t.out
99
// RUN: %{run} %t.out
1010

11-
// UNSUPPORTED: target-nvidia, target-amd
12-
1311
// Windows doesn't yet have full shutdown().
1412
// UNSUPPORTED: ze_debug && windows
1513

@@ -417,7 +415,6 @@ void run_imf_fp16_test() {
417415
F3(sycl_imf::hcmadd));
418416
std::cout << "hcmadd passes." << std::endl;
419417
}
420-
421418
}
422419
#endif
423420

sycl/test-e2e/DeviceLib/imf_fp32_rounding_test.cpp renamed to sycl/test-e2e/DeviceLib/imf/fp32_rounding_test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

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

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

sycl/test-e2e/DeviceLib/imf_fp32_test.cpp renamed to sycl/test-e2e/DeviceLib/imf/fp32_test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

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

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

sycl/test-e2e/DeviceLib/imf_fp64_rounding_test.cpp renamed to sycl/test-e2e/DeviceLib/imf/fp64_rounding_test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

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

108
// Depends on SPIR-V Backend & run-time drivers version.
119
// XFAIL: spirv-backend && run-mode

sycl/test-e2e/DeviceLib/imf_fp64_test.cpp renamed to sycl/test-e2e/DeviceLib/imf/fp64_test.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link -Wno-deprecated %} -o %t2.out
66
// RUN: %{run} %t2.out
7-
//
8-
// UNSUPPORTED: target-nvidia || target-amd
7+
98
#include "imf_utils.hpp"
109
#include <sycl/ext/intel/math.hpp>
1110

sycl/test-e2e/DeviceLib/imf_fp64_test2.cpp renamed to sycl/test-e2e/DeviceLib/imf/fp64_test2.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

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

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

0 commit comments

Comments
 (0)