llvm::offloading

Namespaces

Name
amdgpu
intel
sycl

Types

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

Type Aliases

Name
ByteArray
EntryArrayTy
PropertySet
PropertySetRegistry
PropertyValue

Enums

NameDescription
OffloadEntryKindFlag Offloading entry flags for CUDA / HIP. The first three bits indicate the type of entry while the others are a bit field for additional information.

Functions

NameDescription
containerizeImage Containerizes an image within an OffloadBinary image. Creates a nested OffloadBinary structure where the inner binary contains the raw image and associated metadata (version, format, triple, etc.).
emitOffloadingEntry
getEntryTy Returns the type of the offloading entry we use to store kernels and globals that will be registered with the offloading runtime.
getOffloadEntryArray Creates a pair of constants used to iterate the array of offloading entries by accessing the section variables provided by the linker.
getOffloadEntrySection Create an offloading section struct used to register this global at runtime.
getOffloadingEntryInitializer Create a constant struct initializer used to register this global at runtime.
readPropertiesFromJSON
wrapCudaBinary Wraps the input fatbinary image into the module M as global symbols and registers the images with the CUDA runtime.
wrapHIPBinary Wraps the input bundled image into the module M as global symbols and registers the images with the HIP runtime.
wrapOpenMPBinaries Wraps the input device images into the module M as global symbols and registers the images with the OpenMP Offloading runtime libomptarget.
wrapSYCLBinaries Wraps OffloadBinaries in the given Buffers into the module M as global symbols and registers the images with the SYCL Runtime.
writePropertiesToJSON