MLIR  20.0.0git
Functions
GPU.cpp File Reference
#include "mlir-c/Dialect/GPU.h"
#include "mlir/CAPI/Registration.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "llvm/Support/Casting.h"

Go to the source code of this file.

Functions

bool mlirTypeIsAGPUAsyncTokenType (MlirType type)
 
MlirType mlirGPUAsyncTokenTypeGet (MlirContext ctx)
 
bool mlirAttributeIsAGPUObjectAttr (MlirAttribute attr)
 
MlirAttribute mlirGPUObjectAttrGet (MlirContext mlirCtx, MlirAttribute target, uint32_t format, MlirStringRef objectStrRef, MlirAttribute mlirObjectProps)
 
MlirAttribute mlirGPUObjectAttrGetWithKernels (MlirContext mlirCtx, MlirAttribute target, uint32_t format, MlirStringRef objectStrRef, MlirAttribute mlirObjectProps, MlirAttribute mlirKernelsAttr)
 
MlirAttribute mlirGPUObjectAttrGetTarget (MlirAttribute mlirObjectAttr)
 
uint32_t mlirGPUObjectAttrGetFormat (MlirAttribute mlirObjectAttr)
 
MlirStringRef mlirGPUObjectAttrGetObject (MlirAttribute mlirObjectAttr)
 
bool mlirGPUObjectAttrHasProperties (MlirAttribute mlirObjectAttr)
 
MlirAttribute mlirGPUObjectAttrGetProperties (MlirAttribute mlirObjectAttr)
 
bool mlirGPUObjectAttrHasKernels (MlirAttribute mlirObjectAttr)
 
MlirAttribute mlirGPUObjectAttrGetKernels (MlirAttribute mlirObjectAttr)
 

Function Documentation

◆ mlirAttributeIsAGPUObjectAttr()

bool mlirAttributeIsAGPUObjectAttr ( MlirAttribute  attr)

Definition at line 34 of file GPU.cpp.

References unwrap().

◆ mlirGPUAsyncTokenTypeGet()

MlirType mlirGPUAsyncTokenTypeGet ( MlirContext  ctx)

◆ mlirGPUObjectAttrGet()

MlirAttribute mlirGPUObjectAttrGet ( MlirContext  mlirCtx,
MlirAttribute  target,
uint32_t  format,
MlirStringRef  objectStrRef,
MlirAttribute  mlirObjectProps 
)

Definition at line 38 of file GPU.cpp.

References mlir::get(), unwrap(), and wrap().

◆ mlirGPUObjectAttrGetFormat()

uint32_t mlirGPUObjectAttrGetFormat ( MlirAttribute  mlirObjectAttr)

Definition at line 76 of file GPU.cpp.

References unwrap().

◆ mlirGPUObjectAttrGetKernels()

MlirAttribute mlirGPUObjectAttrGetKernels ( MlirAttribute  mlirObjectAttr)

Definition at line 107 of file GPU.cpp.

References unwrap(), and wrap().

◆ mlirGPUObjectAttrGetObject()

MlirStringRef mlirGPUObjectAttrGetObject ( MlirAttribute  mlirObjectAttr)

Definition at line 82 of file GPU.cpp.

References mlirStringRefCreate(), and unwrap().

◆ mlirGPUObjectAttrGetProperties()

MlirAttribute mlirGPUObjectAttrGetProperties ( MlirAttribute  mlirObjectAttr)

Definition at line 95 of file GPU.cpp.

References unwrap(), and wrap().

◆ mlirGPUObjectAttrGetTarget()

MlirAttribute mlirGPUObjectAttrGetTarget ( MlirAttribute  mlirObjectAttr)

Definition at line 70 of file GPU.cpp.

References unwrap(), and wrap().

◆ mlirGPUObjectAttrGetWithKernels()

MlirAttribute mlirGPUObjectAttrGetWithKernels ( MlirContext  mlirCtx,
MlirAttribute  target,
uint32_t  format,
MlirStringRef  objectStrRef,
MlirAttribute  mlirObjectProps,
MlirAttribute  mlirKernelsAttr 
)

Definition at line 51 of file GPU.cpp.

References mlir::get(), unwrap(), and wrap().

◆ mlirGPUObjectAttrHasKernels()

bool mlirGPUObjectAttrHasKernels ( MlirAttribute  mlirObjectAttr)

Definition at line 101 of file GPU.cpp.

References unwrap().

◆ mlirGPUObjectAttrHasProperties()

bool mlirGPUObjectAttrHasProperties ( MlirAttribute  mlirObjectAttr)

Definition at line 89 of file GPU.cpp.

References unwrap().

◆ mlirTypeIsAGPUAsyncTokenType()

bool mlirTypeIsAGPUAsyncTokenType ( MlirType  type)

Definition at line 22 of file GPU.cpp.

References unwrap().