Alexander Grund 929bc0e191 Fix alias violation in BFloat16
reinterpret_cast between unrelated types is undefined behavior and leads
to misoptimizations on some platforms.
Use the safer (and faster) version via bit_cast


(cherry picked from commit b5eaa4269503f77d0aa58d2f8ed9419e1ba7784d)
2021-09-20 14:25:58 +00:00
..
2021-09-20 14:25:58 +00:00
2018-11-09 11:35:48 +01:00
2017-02-28 14:00:15 -08:00
2021-06-15 16:40:35 +00:00
2021-06-15 16:40:35 +00:00
2021-07-01 23:18:10 +00:00
2021-08-18 15:12:36 +00:00
2020-12-04 21:45:09 +00:00
2021-08-16 14:26:39 +00:00
2021-08-18 19:04:50 +00:00
2018-03-11 10:01:44 -04:00
2021-01-28 01:10:36 +01:00
2021-06-15 16:40:35 +00:00
2018-06-07 15:45:24 +02:00
2021-06-15 16:40:35 +00:00
2021-06-15 16:40:35 +00:00