MLIR  19.0.0git
Functions
GPU.h File Reference
#include "mlir-c/IR.h"
#include "mlir-c/Support.h"
#include "mlir/Dialect/GPU/Transforms/Passes.capi.h.inc"

Go to the source code of this file.

Functions

 MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (GPU, gpu)
 
MLIR_CAPI_EXPORTED bool mlirAttributeIsAGPUObjectAttr (MlirAttribute attr)
 
MLIR_CAPI_EXPORTED MlirAttribute mlirGPUObjectAttrGet (MlirContext mlirCtx, MlirAttribute target, uint32_t format, MlirStringRef objectStrRef, MlirAttribute mlirObjectProps)
 
MLIR_CAPI_EXPORTED MlirAttribute mlirGPUObjectAttrGetTarget (MlirAttribute mlirObjectAttr)
 
MLIR_CAPI_EXPORTED uint32_t mlirGPUObjectAttrGetFormat (MlirAttribute mlirObjectAttr)
 
MLIR_CAPI_EXPORTED MlirStringRef mlirGPUObjectAttrGetObject (MlirAttribute mlirObjectAttr)
 
MLIR_CAPI_EXPORTED bool mlirGPUObjectAttrHasProperties (MlirAttribute mlirObjectAttr)
 
MLIR_CAPI_EXPORTED MlirAttribute mlirGPUObjectAttrGetProperties (MlirAttribute mlirObjectAttr)
 

Function Documentation

◆ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION()

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION ( GPU  ,
gpu   
)

◆ mlirAttributeIsAGPUObjectAttr()

MLIR_CAPI_EXPORTED bool mlirAttributeIsAGPUObjectAttr ( MlirAttribute  attr)

Definition at line 22 of file GPU.cpp.

References unwrap().

Referenced by PYBIND11_MODULE().

◆ mlirGPUObjectAttrGet()

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

Definition at line 26 of file GPU.cpp.

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

Referenced by PYBIND11_MODULE().

◆ mlirGPUObjectAttrGetFormat()

MLIR_CAPI_EXPORTED uint32_t mlirGPUObjectAttrGetFormat ( MlirAttribute  mlirObjectAttr)

Definition at line 45 of file GPU.cpp.

References unwrap().

Referenced by PYBIND11_MODULE().

◆ mlirGPUObjectAttrGetObject()

MLIR_CAPI_EXPORTED MlirStringRef mlirGPUObjectAttrGetObject ( MlirAttribute  mlirObjectAttr)

Definition at line 51 of file GPU.cpp.

References mlirStringRefCreate(), and unwrap().

Referenced by PYBIND11_MODULE().

◆ mlirGPUObjectAttrGetProperties()

MLIR_CAPI_EXPORTED MlirAttribute mlirGPUObjectAttrGetProperties ( MlirAttribute  mlirObjectAttr)

Definition at line 64 of file GPU.cpp.

References unwrap(), and wrap().

Referenced by PYBIND11_MODULE().

◆ mlirGPUObjectAttrGetTarget()

MLIR_CAPI_EXPORTED MlirAttribute mlirGPUObjectAttrGetTarget ( MlirAttribute  mlirObjectAttr)

Definition at line 39 of file GPU.cpp.

References unwrap(), and wrap().

Referenced by PYBIND11_MODULE().

◆ mlirGPUObjectAttrHasProperties()

MLIR_CAPI_EXPORTED bool mlirGPUObjectAttrHasProperties ( MlirAttribute  mlirObjectAttr)

Definition at line 58 of file GPU.cpp.

References unwrap().

Referenced by PYBIND11_MODULE().