Loom C API
Public Loom compiler C API
Toggle main menu visibility
Loading...
Searching...
No Matches
amd/xdna/profile.h
Go to the documentation of this file.
1
// Copyright 2026 The IREE Authors
2
//
3
// Licensed under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
7
#ifndef LOOMC_TARGET_AMD_XDNA_PROFILE_H_
8
#define LOOMC_TARGET_AMD_XDNA_PROFILE_H_
9
10
#include "
loomc/target/amd/xdna/base.h
"
11
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
42
LOOMC_API_EXPORT
loomc_status_t
loomc_target_profile_create_xdna
(
43
loomc_target_environment_t
* target_environment,
44
loomc_string_view_t
device_key,
loomc_allocator_t
allocator,
45
loomc_target_profile_t
** out_profile);
46
47
#ifdef __cplusplus
48
}
// extern "C"
49
#endif
50
51
#endif
// LOOMC_TARGET_AMD_XDNA_PROFILE_H_
loomc_target_profile_create_xdna
loomc_status_t loomc_target_profile_create_xdna(loomc_target_environment_t *target_environment, loomc_string_view_t device_key, loomc_allocator_t allocator, loomc_target_profile_t **out_profile)
Creates an immutable profile for a supported AIE2P device key.
LOOMC_API_EXPORT
#define LOOMC_API_EXPORT
Exports a public Loom C API symbol from a shared library build.
Definition
base.h:34
loomc_status_t
struct iree_status_handle_t * loomc_status_t
Opaque status handle.
Definition
base.h:55
loomc_allocator_t
Host allocator used for persistent Loom object storage.
Definition
base.h:390
loomc_string_view_t
Non-owning string view over bytes that need not be NUL-terminated.
Definition
base.h:63
base.h
AMD XDNA compiler package identity and environment creation.
loomc_target_environment_t
struct loomc_target_environment_t loomc_target_environment_t
Prepared immutable target environment.
Definition
target.h:124
loomc_target_profile_t
struct loomc_target_profile_t loomc_target_profile_t
Prepared immutable target profile.
Definition
target.h:136
loomc
target
amd
xdna
profile.h
Generated by
1.17.0