File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -530,7 +530,6 @@ __SYCL_FLOAT_FLOAT_CONVERT_FOR_TYPE(double)
530
530
531
531
template <typename NativeBFT, typename NativeFloatT, int VecSize>
532
532
inline NativeFloatT ConvertBF16ToF (NativeBFT vec) {
533
- using bfloat16 = sycl::ext::oneapi::bfloat16;
534
533
if constexpr (VecSize == 1 ) {
535
534
// On device, we interpret bfloat16 as a uint16_t scalar or vector.
536
535
static_assert (std::is_same_v<NativeBFT,
@@ -555,7 +554,6 @@ inline NativeFloatT ConvertBF16ToF(NativeBFT vec) {
555
554
556
555
template <typename NativeFloatT, typename NativeBFT, int VecSize>
557
556
inline NativeBFT ConvertFToBF16 (NativeFloatT vec) {
558
- using bfloat16 = sycl::ext::oneapi::bfloat16;
559
557
if constexpr (VecSize == 1 ) {
560
558
// On device, we interpret bfloat16 as a uint16_t scalar or vector.
561
559
static_assert (std::is_same_v<NativeBFT,
You can’t perform that action at this time.
0 commit comments