|
Loom C API
Public Loom compiler C API
|
SPIR-V target package identity and environment creation. More...
Go to the source code of this file.
Macros | |
| #define | LOOMC_ARTIFACT_FORMAT_SPIRV "spirv" |
| SPIR-V binary artifact format. | |
Functions | |
| loomc_status_t | loomc_target_environment_create_spirv (loomc_allocator_t allocator, loomc_target_environment_t **out_target_environment) |
| Creates a target environment containing the SPIR-V target package. | |
SPIR-V target package identity and environment creation.
This header is the dependency-light entry point for embedders that want to link the SPIR-V target package. It does not include Vulkan, IREE HAL, or any saved-profile importer dependencies. Provider-specific adapters live under separate SPIR-V target leaves so an offline compiler or cross-compiler can use SPIR-V support without platform headers.
| loomc_status_t loomc_target_environment_create_spirv | ( | loomc_allocator_t | allocator, |
| loomc_target_environment_t ** | out_target_environment ) |
Creates a target environment containing the SPIR-V target package.
| allocator | Host allocator used for target-environment storage. |
| out_target_environment | Receives one retained target environment on success. |