|
Loom C API
Public Loom compiler C API
|
AMDGPU target package identity and environment creation. More...
Go to the source code of this file.
Macros | |
| #define | LOOMC_ARTIFACT_FORMAT_AMDGPU_HSACO "amdgpu-hsaco" |
| AMDGPU HSA code object artifact format. | |
Functions | |
| loomc_status_t | loomc_target_environment_create_amdgpu (loomc_allocator_t allocator, loomc_target_environment_t **out_target_environment) |
| Creates a target environment containing the AMDGPU target package. | |
AMDGPU target package identity and environment creation.
This header is the dependency-light entry point for embedders that want to link the AMDGPU target package. It does not include HSA, HIP, ROCm, or IREE HAL headers. Live adapters should query their runtime independently, normalize the selected processor name, and pass that name to the AMDGPU profile API.
| loomc_status_t loomc_target_environment_create_amdgpu | ( | loomc_allocator_t | allocator, |
| loomc_target_environment_t ** | out_target_environment ) |
Creates a target environment containing the AMDGPU target package.
| allocator | Host allocator used for target-environment storage. |
| out_target_environment | Receives one retained target environment on success. |