LLVM 22.0.0git
Public Attributes | List of all members
llvm::offloading::EntryTy Struct Reference

This is the record of an object that just be registered with the offloading runtime. More...

#include "llvm/Frontend/Offloading/Utility.h"

Public Attributes

uint64_t Reserved = 0x0
 Reserved bytes used to detect an older version of the struct, always zero.
 
uint16_t Version = 0x1
 The current version of the struct for runtime forward compatibility.
 
uint16_t Kind
 The expected consumer of this entry, e.g. CUDA or OpenMP.
 
uint32_t Flags
 Flags associated with the global.
 
void * Address
 The address of the global to be registered by the runtime.
 
charSymbolName
 The name of the symbol in the device image.
 
uint64_t Size
 The number of bytes the symbol takes.
 
uint64_t Data
 Extra generic data used to register this entry.
 
void * AuxAddr
 An extra pointer, usually null.
 

Detailed Description

This is the record of an object that just be registered with the offloading runtime.

Definition at line 28 of file Utility.h.

Member Data Documentation

◆ Address

void* llvm::offloading::EntryTy::Address

The address of the global to be registered by the runtime.

Definition at line 38 of file Utility.h.

◆ AuxAddr

void* llvm::offloading::EntryTy::AuxAddr

An extra pointer, usually null.

Definition at line 46 of file Utility.h.

◆ Data

uint64_t llvm::offloading::EntryTy::Data

Extra generic data used to register this entry.

Definition at line 44 of file Utility.h.

◆ Flags

uint32_t llvm::offloading::EntryTy::Flags

Flags associated with the global.

Definition at line 36 of file Utility.h.

◆ Kind

uint16_t llvm::offloading::EntryTy::Kind

The expected consumer of this entry, e.g. CUDA or OpenMP.

Definition at line 34 of file Utility.h.

◆ Reserved

uint64_t llvm::offloading::EntryTy::Reserved = 0x0

Reserved bytes used to detect an older version of the struct, always zero.

Definition at line 30 of file Utility.h.

◆ Size

uint64_t llvm::offloading::EntryTy::Size

The number of bytes the symbol takes.

Definition at line 42 of file Utility.h.

◆ SymbolName

char* llvm::offloading::EntryTy::SymbolName

The name of the symbol in the device image.

Definition at line 40 of file Utility.h.

◆ Version

uint16_t llvm::offloading::EntryTy::Version = 0x1

The current version of the struct for runtime forward compatibility.

Definition at line 32 of file Utility.h.


The documentation for this struct was generated from the following file: