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

SPIR-V target options for an IREE HAL Vulkan device. 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
 Reserved extension chain.
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.
loomc_target_profile_t * target_profile
 Optional caller-selected SPIR-V profile.

Detailed Description

SPIR-V target options for an IREE HAL Vulkan device.

Field Documentation

◆ target_profile

loomc_target_profile_t* loomc_spirv_iree_hal_target_options_t::target_profile

Optional caller-selected SPIR-V profile.

Selection checks its enabled features, resource limits, fixed subgroup size, and cooperative operation rows against the device, retaining this exact profile on success. Device features are never added implicitly. Unknown or false optional features do not require their absence on the device. Ordinary source entry-ABI and executable-loader validation still applies to compiled artifacts.

◆ type

loomc_structure_type_t loomc_spirv_iree_hal_target_options_t::type

Structure type.

Must be LOOMC_STRUCTURE_TYPE_SPIRV_IREE_HAL_TARGET_OPTIONS when nonzero.


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