Skip to content

Commit 439e03a

Browse files
committed
Remove redundant statement
1 parent 7651a30 commit 439e03a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

sycl/include/sycl/detail/vector_convert.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,6 @@ __SYCL_FLOAT_FLOAT_CONVERT_FOR_TYPE(double)
530530

531531
template <typename NativeBFT, typename NativeFloatT, int VecSize>
532532
inline NativeFloatT ConvertBF16ToF(NativeBFT vec) {
533-
using bfloat16 = sycl::ext::oneapi::bfloat16;
534533
if constexpr (VecSize == 1) {
535534
// On device, we interpret bfloat16 as a uint16_t scalar or vector.
536535
static_assert(std::is_same_v<NativeBFT,
@@ -555,7 +554,6 @@ inline NativeFloatT ConvertBF16ToF(NativeBFT vec) {
555554

556555
template <typename NativeFloatT, typename NativeBFT, int VecSize>
557556
inline NativeBFT ConvertFToBF16(NativeFloatT vec) {
558-
using bfloat16 = sycl::ext::oneapi::bfloat16;
559557
if constexpr (VecSize == 1) {
560558
// On device, we interpret bfloat16 as a uint16_t scalar or vector.
561559
static_assert(std::is_same_v<NativeBFT,

0 commit comments

Comments
 (0)