Alexander Grund
b5eaa42695
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
2021-09-20 10:37:50 +02:00
..
2021-09-16 20:43:54 +00:00
2021-09-10 19:12:26 +00:00
2021-09-20 10:37:50 +02:00
2021-09-16 20:43:54 +00:00
2021-09-16 20:43:54 +00:00
2021-09-10 19:12:26 +00:00
2021-09-10 19:12:26 +00:00
2021-09-10 19:12:26 +00:00
2021-09-10 19:12:26 +00:00
2021-09-16 20:43:54 +00:00
2021-09-10 19:12:26 +00:00
2021-09-10 19:12:26 +00:00
2021-09-10 19:12:26 +00:00
2021-09-10 19:12:26 +00:00
2021-09-10 19:12:26 +00:00
2021-09-17 10:21:42 -07:00
2021-09-16 20:43:54 +00:00
2021-09-10 19:12:26 +00:00
2021-09-16 20:43:54 +00:00
2021-09-10 19:12:26 +00:00
2021-09-10 19:12:26 +00:00
2021-09-10 19:12:26 +00:00
2021-09-10 19:12:26 +00:00
2021-09-10 19:12:26 +00:00
2021-09-16 20:43:54 +00:00
2021-09-10 19:12:26 +00:00