Loom C API
Public Loom compiler C API
Loading...
Searching...
No Matches
emit.h File Reference

AMDGPU HSACO emission option space. More...

Go to the source code of this file.

Data Structures

struct  loomc_amdgpu_emit_options_t
 AMDGPU HSACO emission options. More...

Macros

#define LOOMC_AMDGPU_RUNTIME_GLOBALS_KNOWN
 Mask of all AMDGPU runtime support global bits accepted by this API.

Typedefs

typedef uint32_t loomc_amdgpu_runtime_global_flags_t
 Bitset of loomc_amdgpu_runtime_global_flag_bits_t values.

Enumerations

enum  loomc_amdgpu_runtime_global_flag_bits_t { LOOMC_AMDGPU_RUNTIME_GLOBAL_NONE = 0u , LOOMC_AMDGPU_RUNTIME_GLOBAL_FEEDBACK_CONFIG = 1u << 0 , LOOMC_AMDGPU_RUNTIME_GLOBAL_ASAN_CONFIG = 1u << 1 }
 AMDGPU runtime support global option bits. More...

Detailed Description

AMDGPU HSACO emission option space.

Link the AMDGPU target binding package to make the generic loomc_emit_module operation capable of producing LOOMC_ARTIFACT_FORMAT_AMDGPU_HSACO artifacts.

Macro Definition Documentation

◆ LOOMC_AMDGPU_RUNTIME_GLOBALS_KNOWN

#define LOOMC_AMDGPU_RUNTIME_GLOBALS_KNOWN
Value:
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_FEEDBACK_CONFIG
Emits the common kernel-to-runtime feedback-channel configuration global.
Definition target/amdgpu/emit.h:30
@ LOOMC_AMDGPU_RUNTIME_GLOBAL_ASAN_CONFIG
Emits the AMDGPU ASAN configuration global consumed by access checks.
Definition target/amdgpu/emit.h:33

Mask of all AMDGPU runtime support global bits accepted by this API.

Enumeration Type Documentation

◆ loomc_amdgpu_runtime_global_flag_bits_t

AMDGPU runtime support global option bits.

Enumerator
LOOMC_AMDGPU_RUNTIME_GLOBAL_NONE 

No AMDGPU runtime support globals are emitted.

LOOMC_AMDGPU_RUNTIME_GLOBAL_FEEDBACK_CONFIG 

Emits the common kernel-to-runtime feedback-channel configuration global.

LOOMC_AMDGPU_RUNTIME_GLOBAL_ASAN_CONFIG 

Emits the AMDGPU ASAN configuration global consumed by access checks.