Skip to content

Commit eb5edee

Browse files
committed
[SYCL] Move DeviceLib imf to separate directory
1 parent db1d3c0 commit eb5edee

14 files changed

+6
-53
lines changed

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

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

44
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link %} -o %t2.out
55
// RUN: %{run} %t2.out
6-
//
7-
// UNSUPPORTED: target-nvidia || target-amd
8-
// UNSUPPORTED-INTENDED: Nvidia and AMD don't support IMF
96

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

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

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

66
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link %} -o %t1.out
77
// RUN: %{run} %t1.out
8-
//
9-
// UNSUPPORTED: target-nvidia || target-amd
10-
// UNSUPPORTED-INTENDED: Nvidia and AMD don't support IMF
118

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

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

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

10-
// UNSUPPORTED: target-nvidia, target-amd
11-
// UNSUPPORTED-INTENDED: Nvidia and AMD don't support IMF
12-
1310
#include "imf_utils.hpp"
1411
#include <sycl/ext/intel/math.hpp>
1512

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

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

44
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link %} -o %t2.out
55
// RUN: %{run} %t2.out
6-
//
7-
// UNSUPPORTED: target-nvidia || target-amd
8-
// UNSUPPORTED-INTENDED: Nvidia and AMD don't support IMF
96

107
// All __imf_* bf16 functions are implemented via fp32 emulation, so we don't
118
// 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/imf_fp16_trivial_test.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +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-
// UNSUPPORTED-INTENDED: Nvidia and AMD don't support IMF
13-
1411
// Windows doesn't yet have full shutdown().
1512
// UNSUPPORTED: ze_debug && windows
1613

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

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

44
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link %} -o %t2.out
55
// RUN: %{run} %t2.out
6-
//
7-
// UNSUPPORTED: target-nvidia || target-amd
8-
// UNSUPPORTED-INTENDED: Nvidia and AMD don't support IMF
96

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

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

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

44
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link %} -o %t2.out
55
// RUN: %{run} %t2.out
6-
//
7-
// UNSUPPORTED: target-nvidia || target-amd
8-
// UNSUPPORTED-INTENDED: Nvidia and AMD don't support IMF
96

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

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

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

55
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link %} -o %t2.out
66
// RUN: %{run} %t2.out
7-
//
8-
// UNSUPPORTED: target-nvidia || target-amd
9-
// UNSUPPORTED-INTENDED: Nvidia and AMD don't support IMF
107

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

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

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

55
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link %} -o %t2.out
66
// RUN: %{run} %t2.out
7-
//
8-
// UNSUPPORTED: target-nvidia || target-amd
9-
// UNSUPPORTED-INTENDED: Nvidia and AMD don't support IMF
7+
108
#include "imf_utils.hpp"
119
#include <sycl/ext/intel/math.hpp>
1210

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

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

55
// RUN: %{build} -fno-builtin %if target-spir %{ -fsycl-device-lib-jit-link %} -o %t2.out
66
// RUN: %{run} %t2.out
7-
//
8-
// UNSUPPORTED: target-nvidia || target-amd
9-
// UNSUPPORTED-INTENDED: Nvidia and AMD don't support IMF
107

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

0 commit comments

Comments
 (0)