MLIR
20.0.0git
|
#include "mlir/Dialect/GPU/IR/CompilationInterfaces.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/LLVMIR/ROCDLDialect.h"
#include "mlir/Support/LLVM.h"
#include "mlir/Target/LLVM/ModuleToObject.h"
Go to the source code of this file.
Classes | |
class | mlir::ROCDL::SerializeGPUModuleBase |
Base class for all ROCDL serializations from GPU modules into binary strings. More... | |
Namespaces | |
mlir | |
Include the generated interface declarations. | |
mlir::ROCDL | |
Enumerations | |
enum class | mlir::ROCDL::AMDGCNLibraries : uint32_t { mlir::ROCDL::None = 0 , mlir::ROCDL::Ockl = 1 , mlir::ROCDL::Ocml = 2 , mlir::ROCDL::OpenCL = 4 , mlir::ROCDL::Hip = 8 , mlir::ROCDL::LastLib = Hip , mlir::ROCDL::LLVM_MARK_AS_BITMASK_ENUM =(LastLib) , mlir::ROCDL::All = (LastLib << 1) - 1 } |
Helper enum for specifying the AMD GCN device libraries required for compilation. More... | |
Functions | |
StringRef | mlir::ROCDL::getROCMPath () |
Searches & returns the path ROCM toolkit path, the search order is: More... | |
std::optional< DenseMap< StringAttr, NamedAttrList > > | mlir::ROCDL::getAMDHSAKernelsELFMetadata (Builder &builder, ArrayRef< char > elfData) |
Returns a map containing the amdhsa.kernels ELF metadata for each of the kernels in the binary, or std::nullopt if the metadata couldn't be retrieved. More... | |
gpu::KernelTableAttr | mlir::ROCDL::getKernelMetadata (Operation *gpuModule, ArrayRef< char > elfData={}) |
Returns a #gpu.kernel_table containing kernel metadata for each of the kernels in gpuModule . More... | |