This website requires JavaScript.
گشتوگذار
راهنما
ورود
AI
/
rocm-systems
زیرنظر گرفتن
2
ستاره دار کن
0
انشعاب
0
You've already forked rocm-systems
کد
مسائل
تقاضاهای واکشی
Actions
Packages
پروژهها
انتشارها
دانشنامه
فعالیت
Files
d9ecde1b60eed53e687d305cd4e6e02bef3c85a7
rocm-systems
/
projects
T
تاریخچه
Alex Voicu
d9ecde1b60
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/hip commit:
153878e368
]
2017-11-17 16:00:28 +00:00
..
hip
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-17 16:00:28 +00:00