mlir_sys

Function mlirVectorTypeGetScalable

Source
pub unsafe extern "C" fn mlirVectorTypeGetScalable(
    rank: isize,
    shape: *const i64,
    scalable: *const bool,
    elementType: MlirType,
) -> MlirType
Expand description

Creates a scalable vector type with the shape identified by its rank and dimensions. A subset of dimensions may be marked as scalable via the corresponding flag list, which is expected to have as many entries as the rank of the vector. The vector is created in the same context as the element type.