CHIP-SPV / chipStar

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

Add capability based HIP device library link #693

Closed linehill closed 9 months ago

linehill commented 10 months ago

Add a mechanism to link in HIP device library implementations based on target capabilities quaried at runtime (rtdevlib). Using floating-point atomic add operations and their fall-backs as an use case.

Other changes:

linehill commented 10 months ago

Todo:

pjaaskel commented 9 months ago

Although this is a bit intrusive, shall we consider this for 1.1 as it potentially helps portability?

pvelesko commented 9 months ago

rebased on main