Function mlir_sys::mlirMemRefTypeGet
source · pub unsafe extern "C" fn mlirMemRefTypeGet(
elementType: MlirType,
rank: isize,
shape: *const i64,
layout: MlirAttribute,
memorySpace: MlirAttribute
) -> MlirType
Expand description
Creates a MemRef type with the given rank and shape, a potentially empty list of affine layout maps, the given memory space and element type, in the same context as element type. The type is owned by the context.