Loom C API
Public Loom compiler C API
Loading...
Searching...
No Matches
iree_hal.h File Reference

Native CPU target selection for IREE HAL devices. More...

Go to the source code of this file.

Functions

const loomc_iree_hal_target_provider_t * loomc_cpu_iree_hal_target_provider (void)
 Returns the generic IREE HAL router provider for native CPU devices.

Detailed Description

Native CPU target selection for IREE HAL devices.

The provider projects the standard CPU device-spec facet into the native Loom target profile selected by the linked target environment. It pairs that profile with the device's generic CPU executable target so compilation and loading use one coherent selection.

Function Documentation

◆ loomc_cpu_iree_hal_target_provider()

const loomc_iree_hal_target_provider_t * loomc_cpu_iree_hal_target_provider ( void )

Returns the generic IREE HAL router provider for native CPU devices.

Returns
Process-lifetime provider descriptor. The returned pointer is immutable and may be placed directly in a loomc_iree_hal_target_options_t::providers array.