2380eb8ecc0ac35207b03cf62ffcc279b391334d
__bitinsert_u64
- It's a common mistake by assuming 1 << shamt would be promoted to 64-bit, if shamt is a 64-bit integer. That's not the case. Replace that left shift to a 64-bit one to ensure it won't fall into undefined behavior. - Fix the host-side implementation as well for device function testing.
Description
Aucune description fournie
Langue
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Autre
1.1%