MLIR  20.0.0git
Functions
NVGPU.h File Reference
#include "mlir-c/IR.h"
#include "mlir-c/Support.h"

Go to the source code of this file.

Functions

 MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (NVGPU, nvgpu)
 
MLIR_CAPI_EXPORTED bool mlirTypeIsANVGPUTensorMapDescriptorType (MlirType type)
 
MLIR_CAPI_EXPORTED MlirType mlirNVGPUTensorMapDescriptorTypeGet (MlirContext ctx, MlirType tensorMemrefType, int swizzle, int l2promo, int oobFill, int interleave)
 

Function Documentation

◆ MLIR_DECLARE_CAPI_DIALECT_REGISTRATION()

MLIR_DECLARE_CAPI_DIALECT_REGISTRATION ( NVGPU  ,
nvgpu   
)

◆ mlirNVGPUTensorMapDescriptorTypeGet()

MLIR_CAPI_EXPORTED MlirType mlirNVGPUTensorMapDescriptorTypeGet ( MlirContext  ctx,
MlirType  tensorMemrefType,
int  swizzle,
int  l2promo,
int  oobFill,
int  interleave 
)

Definition at line 23 of file NVGPU.cpp.

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

◆ mlirTypeIsANVGPUTensorMapDescriptorType()

MLIR_CAPI_EXPORTED bool mlirTypeIsANVGPUTensorMapDescriptorType ( MlirType  type)

Definition at line 19 of file NVGPU.cpp.

References unwrap().