MLIR 22.0.0git
mlir::gpu::GPUToXeVMPipelineOptions Struct Reference

#include "mlir/Dialect/GPU/Pipelines/Passes.h"

Inheritance diagram for mlir::gpu::GPUToXeVMPipelineOptions:

Public Attributes

PassOptions::Option< std::string > xegpuOpLevel
PassOptions::Option< booluse64bitIndex
PassOptions::Option< boolkernelBarePtrCallConv
PassOptions::Option< boolhostBarePtrCallConv
PassOptions::Option< std::string > binaryFormat
PassOptions::Option< std::string > xevmModuleMatcher
PassOptions::Option< std::string > zebinTriple
PassOptions::Option< std::string > zebinChip
PassOptions::Option< unsignedoptLevel
PassOptions::Option< std::string > cmdOptions

Detailed Description

Definition at line 68 of file Passes.h.

Member Data Documentation

◆ binaryFormat

PassOptions::Option<std::string> mlir::gpu::GPUToXeVMPipelineOptions::binaryFormat
Initial value:
{
*this, "binary-format",
llvm::cl::desc("Final GPU binary emission format (e.g. fatbin)"),
llvm::cl::init("fatbin")}

Definition at line 88 of file Passes.h.

◆ cmdOptions

PassOptions::Option<std::string> mlir::gpu::GPUToXeVMPipelineOptions::cmdOptions
Initial value:
{
*this, "igc-cmd-options",
llvm::cl::desc("Additional downstream compiler command line options"),
llvm::cl::init("")}

Definition at line 107 of file Passes.h.

◆ hostBarePtrCallConv

PassOptions::Option<bool> mlir::gpu::GPUToXeVMPipelineOptions::hostBarePtrCallConv
Initial value:
{
*this, "host-bare-ptr-calling-convention",
llvm::cl::desc("Use bare pointer calling convention for host launches"),
llvm::cl::init(false)}

Definition at line 84 of file Passes.h.

◆ kernelBarePtrCallConv

PassOptions::Option<bool> mlir::gpu::GPUToXeVMPipelineOptions::kernelBarePtrCallConv
Initial value:
{
*this, "kernel-bare-ptr-calling-convention",
llvm::cl::desc("Use bare pointer calling convention for device kernels"),
llvm::cl::init(false)}

Definition at line 80 of file Passes.h.

◆ optLevel

PassOptions::Option<unsigned> mlir::gpu::GPUToXeVMPipelineOptions::optLevel
Initial value:
{
*this, "opt-level",
llvm::cl::desc("Optimization level for attached target/codegen"),
llvm::cl::init(2)}

Definition at line 103 of file Passes.h.

◆ use64bitIndex

PassOptions::Option<bool> mlir::gpu::GPUToXeVMPipelineOptions::use64bitIndex
Initial value:
{
*this, "use-64bit-index",
llvm::cl::desc("Bitwidth of the index type (host & device)"),
llvm::cl::init(true)}

Definition at line 76 of file Passes.h.

◆ xegpuOpLevel

PassOptions::Option<std::string> mlir::gpu::GPUToXeVMPipelineOptions::xegpuOpLevel
Initial value:
{
*this, "xegpu-op-level",
llvm::cl::desc("Granularity of XeGPU operations to target: workgroup | "
"subgroup | lane"),
llvm::cl::init("workgroup")}

Definition at line 70 of file Passes.h.

◆ xevmModuleMatcher

PassOptions::Option<std::string> mlir::gpu::GPUToXeVMPipelineOptions::xevmModuleMatcher
Initial value:
{
*this, "xevm-module-matcher",
llvm::cl::desc("Regex to match gpu.module names for XeVM target attach"),
llvm::cl::init("")}

Definition at line 93 of file Passes.h.

◆ zebinChip

PassOptions::Option<std::string> mlir::gpu::GPUToXeVMPipelineOptions::zebinChip
Initial value:
{
*this, "zebin-chip", llvm::cl::desc("Target chip (e.g. pvc, bmg)"),
llvm::cl::init("bmg")}

Definition at line 100 of file Passes.h.

◆ zebinTriple

PassOptions::Option<std::string> mlir::gpu::GPUToXeVMPipelineOptions::zebinTriple
Initial value:
{
*this, "zebin-triple", llvm::cl::desc("Target triple for XeVM codegen"),
llvm::cl::init("spirv64-unknown-unknown")}

Definition at line 97 of file Passes.h.


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