[HIP] Support for IREE_HAL_EXTERNAL_TIMEPOINT_TYPE_WAIT_PRIMITIVE
.
#20859
Labels
hal/hip
Runtime HIP HAL backend
Uh oh!
There was an error while loading. Please reload this page.
To support optimal interop with the CPU HAL backends the HIP semaphore will need to support
iree_hal_semaphore_import_timepoint
/iree_hal_semaphore_export_timepoint
withIREE_HAL_EXTERNAL_TIMEPOINT_TYPE_WAIT_PRIMITIVE
. This will allow HIP queue operations to wait on the CPU (via import) and allow CPU queue operations to wait on HIP (export).I suspect for export we can have callbacks inserted that signal the wait primitives. CUDA has some minor support for importing that HIP may have as well but I'm not sure it's sufficient. For import we'll likely need a poller thread that uses
iree_wait_any
and then relays back into HIP.The text was updated successfully, but these errors were encountered: