Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 12c026a

Browse files
[SYCL] Correct bfloat16 namespace in ESIMD and matrix tests (#1422)
intel/llvm#6524 moved bfloat16 out of the experimental namespace. This commit removes the last remaining uses of the experimental namespace in bfloat16 for ESIMD and matrix tests. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 6585ac7 commit 12c026a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

SYCL/ESIMD/dpas/dpas_common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ template <dpas_argument_type T> struct DpasNaturalOperandType {
102102
std::conditional_t<
103103
is_fp16, sycl::half,
104104
std::conditional_t<
105-
is_bf16, sycl::ext::oneapi::experimental::bfloat16,
105+
is_bf16, sycl::ext::oneapi::bfloat16,
106106
std::conditional_t<
107107
is_tf32, sycl::ext::intel::experimental::esimd::tfloat32,
108108
void>>>>>;

SYCL/ESIMD/lsc/lsc_surf_load_u8_u16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ int main(void) {
2929

3030
passed &= tests<0, uint8_t>();
3131
passed &= tests<3, uint16_t>();
32-
passed &= tests<6, sycl::ext::oneapi::experimental::bfloat16>();
32+
passed &= tests<6, sycl::ext::oneapi::bfloat16>();
3333
passed &= tests<9, half>();
3434

3535
std::cout << (passed ? "Passed\n" : "FAILED\n");

SYCL/ESIMD/lsc/lsc_usm_load_u8_u16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ int main(void) {
2929

3030
passed &= tests<0, uint8_t>();
3131
passed &= tests<3, uint16_t>();
32-
passed &= tests<6, sycl::ext::oneapi::experimental::bfloat16>();
32+
passed &= tests<6, sycl::ext::oneapi::bfloat16>();
3333
passed &= tests<9, half>();
3434

3535
std::cout << (passed ? "Passed\n" : "FAILED\n");

SYCL/Matrix/XMX8/joint_matrix_bfloat16.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
using namespace sycl;
1818
using namespace sycl::ext::oneapi::experimental::matrix;
19-
using bfloat16 = sycl::ext::oneapi::experimental::bfloat16;
19+
using bfloat16 = sycl::ext::oneapi::bfloat16;
2020

2121
#define SG_SZ 8
2222

SYCL/Matrix/XMX8/joint_matrix_bfloat16_use.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <sycl/sycl.hpp>
1818

1919
using namespace sycl::ext::oneapi::experimental::matrix;
20-
using bfloat16 = sycl::ext::oneapi::experimental::bfloat16;
20+
using bfloat16 = sycl::ext::oneapi::bfloat16;
2121

2222
#define SG_SZ 8
2323

0 commit comments

Comments
 (0)