Show / Hide Table of Contents

    Enum cusparseHybPartition

    This type indicates how to perform the partitioning of the matrix into regular (ELL) and irregular (COO) parts of the HYB format.

    The partitioning is performed during the conversion of the matrix from a dense or sparse format into the HYB format and is governed by the following rules. When CUSPARSE_HYB_PARTITION_AUTO is selected, the CUSPARSE library automatically decides how much data to put into the regular and irregular parts of the HYB format. When CUSPARSE_HYB_PARTITION_USER is selected, the width of the regular part of the HYB format should be specified by the caller. When CUSPARSE_HYB_PARTITION_MAX is selected, the width of the regular part of the HYB format equals to the maximum number of non-zero elements per row, in other words, the entire matrix is stored in the regular part of the HYB format.

    The default is to let the library automatically decide how to split the data.

    Namespace: ManagedCuda.CudaSparse
    Assembly: CudaSparse.dll
    Syntax
    public enum cusparseHybPartition

    Fields

    Name Description
    Auto

    the automatic partitioning is selected (default).

    Max

    the data is stored in ELL format.

    User

    the user specified treshold is used.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX