Function mlir_sys::mlirMemRefTypeContiguousGet
source · pub unsafe extern "C" fn mlirMemRefTypeContiguousGet(
elementType: MlirType,
rank: isize,
shape: *const i64,
memorySpace: MlirAttribute
) -> MlirType
Expand description
Creates a MemRef type with the given rank, shape, memory space and element type in the same context as the element type. The type has no affine maps, i.e. represents a default row-major contiguous memref. The type is owned by the context.