Skip to content

Commit 560b02d

Browse files
author
Hugh Delaney
committed
Removing truncate function
1 parent 5b5bbcc commit 560b02d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

sycl/include/sycl/ext/oneapi/matrix/matrix-tensorcore.hpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -619,14 +619,6 @@ float round_to_tf32(float a) {
619619
#endif // defined(__SYCL_DEVICE_ONLY__) && defined(__NVPTX__)
620620
}
621621

622-
// This function just zeros out the bottom 13 bits of the tf32 type
623-
float truncate_to_tf32(float a) {
624-
uint32_t tmp_uint = reinterpret_cast<uint32_t &>(a);
625-
tmp_uint &= 0xFFFFE000u;
626-
float ret = reinterpret_cast<float &>(tmp_uint);
627-
return ret;
628-
}
629-
630622
} // namespace experimental::matrix
631623
} // namespace oneapi
632624
} // namespace ext

0 commit comments

Comments
 (0)