|
Loom C API
Public Loom compiler C API
|
AMD XDNA compiler package identity and environment creation. More...
Go to the source code of this file.
Macros | |
| #define | LOOMC_ARTIFACT_FORMAT_XDNA "xdna" |
| Canonical Loom-owned XDNA ELF32 executable format. | |
Functions | |
| loomc_status_t | loomc_target_environment_create_xdna (loomc_allocator_t allocator, loomc_target_environment_t **out_target_environment) |
| Creates a target environment containing the AIE2P XDNA compiler and emitter. | |
AMD XDNA compiler package identity and environment creation.
The package lowers kernel-scoped pipelines to tile and array functions in one module. After the ordinary prepared-low target pipeline, generic loomc_emit_module emits one canonical ELF32 .xdna byte sequence containing all resident tile code, array configuration, control code, and entry metadata. Compilation and emission require neither a live device nor a vendor runtime.
| loomc_status_t loomc_target_environment_create_xdna | ( | loomc_allocator_t | allocator, |
| loomc_target_environment_t ** | out_target_environment ) |
Creates a target environment containing the AIE2P XDNA compiler and emitter.
| allocator | Host allocator used for target-environment storage. |
| out_target_environment | Receives one retained environment on success. |