This website requires JavaScript.
Esplora
Aiuto
Accedi
AI
/
rocm-systems
Segui
2
Vota
0
Forka
0
Hai già fatto il fork di rocm-systems
Codice
Problemi
Pull Request
Actions
Pacchetti
Progetti
Rilasci
Wiki
Attività
Files
0de6e0be2b94d4843048be9e6f8350609ebde2b3
rocm-systems
/
projects
T
Cronologia
Alex Voicu
0de6e0be2b
This fixes some outright quaint choices made when implementing HIP's bitwise conversion functions, by using simple reinterpret_casts, as is idiomatic. These functions are supposed to be re-entrant, correct and efficient. Sadly, they were neither: they hid a massive race condition against a value stored in global memory, which means that they were also unreasonably slow if they ever managed to be correct, and relied on union based type punning which is in a grey area of the standard. It is difficult to ascertain what may have been the reason for coming up with this quirky solution.
...
[ROCm/clr commit:
4b7cb0624e
]
2017-11-28 17:23:06 +00:00
..
clr
/hipamd
This fixes some outright quaint choices made when implementing HIP's bitwise conversion functions, by using simple reinterpret_casts, as is idiomatic. These functions are supposed to be re-entrant, correct and efficient. Sadly, they were neither: they hid a massive race condition against a value stored in global memory, which means that they were also unreasonably slow if they ever managed to be correct, and relied on union based type punning which is in a grey area of the standard. It is difficult to ascertain what may have been the reason for coming up with this quirky solution.
2017-11-28 17:23:06 +00:00