Loom C API
Public Loom compiler C API
Loading...
Searching...
No Matches
target/amdgpu/emit.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_AMDGPU_EMIT_H_
8#define LOOMC_TARGET_AMDGPU_EMIT_H_
9
10#include "loomc/emit.h"
12
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
35
38
40#define LOOMC_AMDGPU_RUNTIME_GLOBALS_KNOWN \
41 ((loomc_amdgpu_runtime_global_flags_t)(LOOMC_AMDGPU_RUNTIME_GLOBAL_FEEDBACK_CONFIG | \
42 LOOMC_AMDGPU_RUNTIME_GLOBAL_ASAN_CONFIG))
43
64
65#ifdef __cplusplus
66} // extern "C"
67#endif
68
69#endif // LOOMC_TARGET_AMDGPU_EMIT_H_
size_t loomc_host_size_t
Host allocation and container size type.
Definition base.h:45
loomc_structure_type_t
Structure type values used by extensible public descriptors.
Definition base.h:181
Target artifact emission from prepared Loom modules.
AMDGPU HSACO emission options.
Definition target/amdgpu/emit.h:50
loomc_amdgpu_runtime_global_flags_t runtime_globals
AMDGPU runtime support globals to emit into the HSACO.
Definition target/amdgpu/emit.h:62
loomc_structure_type_t type
Structure type.
Definition target/amdgpu/emit.h:53
const void * next
Next invocation option extension.
Definition target/amdgpu/emit.h:59
loomc_host_size_t structure_size
Size of this structure in bytes.
Definition target/amdgpu/emit.h:56
AMDGPU target package identity and environment creation.
uint32_t loomc_amdgpu_runtime_global_flags_t
Bitset of loomc_amdgpu_runtime_global_flag_bits_t values.
Definition target/amdgpu/emit.h:37
loomc_amdgpu_runtime_global_flag_bits_t
AMDGPU runtime support global option bits.
Definition target/amdgpu/emit.h:25
@ LOOMC_AMDGPU_RUNTIME_GLOBAL_FEEDBACK_CONFIG
Emits the common kernel-to-runtime feedback-channel configuration global.
Definition target/amdgpu/emit.h:30
@ LOOMC_AMDGPU_RUNTIME_GLOBAL_NONE
No AMDGPU runtime support globals are emitted.
Definition target/amdgpu/emit.h:27
@ LOOMC_AMDGPU_RUNTIME_GLOBAL_ASAN_CONFIG
Emits the AMDGPU ASAN configuration global consumed by access checks.
Definition target/amdgpu/emit.h:33