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
2021-02-09 09:13:09 +01:00
2016-01-27 22:48:40 +01:00
2021-08-31 21:22:37 +00:00
2021-02-09 09:13:09 +01:00
2021-02-09 09:13:09 +01:00
2021-02-09 09:13:09 +01:00
2021-02-09 09:13:09 +01:00
2017-11-10 14:11:22 +01:00
2021-04-22 17:25:25 +00:00
2019-03-05 10:24:54 -08:00
2018-06-11 18:33:24 +02:00
2017-11-27 22:11:57 +01:00
2021-02-09 09:13:09 +01:00
2021-02-09 09:13:09 +01:00
2019-03-05 10:24:54 -08:00
2019-03-05 10:24:54 -08:00
2018-08-28 18:32:39 +02:00
2018-08-28 11:44:15 +02:00
2016-01-27 22:48:40 +01:00
2017-02-03 15:22:35 +01:00
2017-02-03 15:22:35 +01:00
2017-02-03 15:22:35 +01:00
2016-07-10 02:29:57 +02:00
2021-02-09 09:13:09 +01:00
2016-01-27 22:48:40 +01:00