24 nvgpuTensorMapDescriptorType.def_classmethod(
26 [](nb::object cls, MlirType tensorMemrefType,
int swizzle,
int l2promo,
27 int oobFill,
int interleave, MlirContext ctx) {
29 ctx, tensorMemrefType, swizzle, l2promo, oobFill, interleave));
31 "Gets an instance of TensorMapDescriptorType in the same context",
32 nb::arg(
"cls"), nb::arg(
"tensor_type"), nb::arg(
"swizzle"),
33 nb::arg(
"l2promo"), nb::arg(
"oob_fill"), nb::arg(
"interleave"),
34 nb::arg(
"ctx").none() = nb::none());
38 m.doc() =
"MLIR NVGPU dialect.";
NB_MODULE(_mlirDialectsNVGPU, m)
static void populateDialectNVGPUSubmodule(const nb::module_ &m)
MLIR_CAPI_EXPORTED bool mlirTypeIsANVGPUTensorMapDescriptorType(MlirType type)
MLIR_CAPI_EXPORTED MlirType mlirNVGPUTensorMapDescriptorTypeGet(MlirContext ctx, MlirType tensorMemrefType, int swizzle, int l2promo, int oobFill, int interleave)
Creates a custom subclass of mlir.ir.Type, implementing a casting constructor and type checking metho...
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Include the generated interface declarations.