14#include "nanobind/nanobind.h"
40 "Gets an instance of TDMBaseType in the same context",
41 nb::arg(
"element_type"), nb::arg(
"context").none() = nb::none());
50 static constexpr const char *
pyClassName =
"TDMDescriptorType";
62 "Gets an instance of TDMDescriptorType in the same context",
63 nb::arg(
"context").none() = nb::none());
72 static constexpr const char *
pyClassName =
"TDMGatherBaseType";
86 "Gets an instance of TDMGatherBaseType in the same context",
87 nb::arg(
"element_type"), nb::arg(
"index_type"),
88 nb::arg(
"context").none() = nb::none());
103 m.doc() =
"MLIR AMDGPU dialect.";
MLIR_CAPI_EXPORTED bool mlirTypeIsAAMDGPUTDMGatherBaseType(MlirType type)
MLIR_CAPI_EXPORTED bool mlirTypeIsAAMDGPUTDMDescriptorType(MlirType type)
MLIR_CAPI_EXPORTED MlirType mlirAMDGPUTDMGatherBaseTypeGet(MlirContext ctx, MlirType elementType, MlirType indexType)
MLIR_CAPI_EXPORTED MlirType mlirAMDGPUTDMDescriptorTypeGet(MlirContext ctx)
MLIR_CAPI_EXPORTED MlirTypeID mlirAMDGPUTDMDescriptorTypeGetTypeID()
MLIR_CAPI_EXPORTED bool mlirTypeIsAAMDGPUTDMBaseType(MlirType type)
MLIR_CAPI_EXPORTED MlirStringRef mlirAMDGPUTDMBaseTypeGetName(void)
MLIR_CAPI_EXPORTED MlirType mlirAMDGPUTDMBaseTypeGet(MlirContext ctx, MlirType elementType)
MLIR_CAPI_EXPORTED MlirTypeID mlirAMDGPUTDMBaseTypeGetTypeID()
MLIR_CAPI_EXPORTED MlirTypeID mlirAMDGPUTDMGatherBaseTypeGetTypeID()
MLIR_CAPI_EXPORTED MlirStringRef mlirAMDGPUTDMDescriptorTypeGetName(void)
MLIR_CAPI_EXPORTED MlirStringRef mlirAMDGPUTDMGatherBaseTypeGetName(void)
NB_MODULE(_mlirDialectsAMDGPU, m)
ReferrentTy * get() const
Used in function arguments when None should resolve to the current context manager set instance.
nanobind::class_< TDMBaseType, PyType > ClassTy
static void bind(nanobind::module_ &m)
MlirTypeID(*)() GetTypeIDFunctionTy
bool(*)(MlirType) IsAFunctionTy
PyType(PyMlirContextRef contextRef, MlirType type)
The OpAsmOpInterface, see OpAsmInterface.td for more details.
static void populateDialectAMDGPUSubmodule(nb::module_ &m)
Include the generated interface declarations.
A pointer to a sized fragment of a string, not necessarily null-terminated.
static constexpr const char * pyClassName
static const MlirStringRef name
static void bindDerived(ClassTy &c)
static constexpr GetTypeIDFunctionTy getTypeIdFunction
static constexpr IsAFunctionTy isaFunction
static constexpr const char * pyClassName
static const MlirStringRef name
static constexpr IsAFunctionTy isaFunction
static void bindDerived(ClassTy &c)
static constexpr GetTypeIDFunctionTy getTypeIdFunction
static constexpr const char * pyClassName
static constexpr IsAFunctionTy isaFunction
static constexpr GetTypeIDFunctionTy getTypeIdFunction
static void bindDerived(ClassTy &c)
static const MlirStringRef name