Loom C API
Public Loom compiler C API
Loading...
Searching...
No Matches
loomc_iree_hal_profile_options_t Struct Reference

IREE HAL target-profile routing options. More...

#include <iree_hal.h>

Data Fields

loomc_structure_type_t type
 Structure type.
loomc_host_size_t structure_size
 Size of this structure in bytes.
const void * next
 Provider-specific option descriptors.
loomc_string_view_t identifier
 Stable profile identifier used in diagnostics.
iree_hal_device_t * device
 IREE HAL device borrowed for the duration of the call.
iree_hal_physical_device_affinity_t physical_device_affinity
 Optional physical-device set the selected profile must fully cover.
const loomc_iree_hal_profile_provider_t *const * providers
 Ordered borrowed array of provider descriptors.
loomc_host_size_t provider_count
 Number of entries in providers.

Detailed Description

IREE HAL target-profile routing options.

Field Documentation

◆ physical_device_affinity

iree_hal_physical_device_affinity_t loomc_iree_hal_profile_options_t::physical_device_affinity

Optional physical-device set the selected profile must fully cover.

Zero selects the unique highest-priority target for the logical device. A heterogeneous logical device may require an explicit affinity to choose one exact target profile.

◆ type

loomc_structure_type_t loomc_iree_hal_profile_options_t::type

Structure type.

Must be LOOMC_STRUCTURE_TYPE_IREE_HAL_PROFILE_OPTIONS when nonzero.


The documentation for this struct was generated from the following file: