CHIP-SPV / chipStar

chipStar is a tool for compiling and running HIP/CUDA on SPIR-V via OpenCL or Level Zero APIs.
Other
225 stars 33 forks source link

Add sanity check for catching unexpected atomic built-ins #706

Closed linehill closed 8 months ago

linehill commented 11 months ago

AFAIK, all HIP atomic operations should map to corresponding OpenCL built-ins. This checker attempts to catch unexpected non-OpenCL atomic built-ins.

pvelesko commented 11 months ago

Rebasing on main

pvelesko commented 8 months ago

should this draft be merged? @linehill

linehill commented 8 months ago

Sure, why not, this could be useful.