Show / Hide Table of Contents

    Class CudaSparseMatrixDescriptor

    Wrapper class for cusparseMatDescr handle.

    Inheritance
    System.Object
    CudaSparseMatrixDescriptor
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ManagedCuda.CudaSparse
    Assembly: CudaSparse.dll
    Syntax
    public class CudaSparseMatrixDescriptor : IDisposable

    Constructors

    | Improve this Doc View Source

    CudaSparseMatrixDescriptor()

    When the matrix descriptor is created, its fields are initialized to: CUSPARSE_MATRIXYPE_GENERAL CUSPARSE_INDEX_BASE_ZERO All other fields are uninitialized

    Declaration
    public CudaSparseMatrixDescriptor()
    | Improve this Doc View Source

    CudaSparseMatrixDescriptor(cusparseFillMode, cusparseDiagType)

    When the matrix descriptor is created, its fields are initialized to: CUSPARSE_MATRIXYPE_GENERAL CUSPARSE_INDEX_BASE_ZERO

    Declaration
    public CudaSparseMatrixDescriptor(cusparseFillMode fillMode, cusparseDiagType diagType)
    Parameters
    Type Name Description
    cusparseFillMode fillMode
    cusparseDiagType diagType
    | Improve this Doc View Source

    CudaSparseMatrixDescriptor(cusparseMatrixType, cusparseFillMode, cusparseDiagType, cusparseIndexBase)

    Creates a new CudaSparseMatrixDescriptor

    Declaration
    public CudaSparseMatrixDescriptor(cusparseMatrixType matrixType, cusparseFillMode fillMode, cusparseDiagType diagType, cusparseIndexBase indexBase)
    Parameters
    Type Name Description
    cusparseMatrixType matrixType
    cusparseFillMode fillMode
    cusparseDiagType diagType
    cusparseIndexBase indexBase

    Properties

    | Improve this Doc View Source

    Descriptor

    Returns the inner handle.

    Declaration
    public cusparseMatDescr Descriptor { get; }
    Property Value
    Type Description
    cusparseMatDescr

    Methods

    | Improve this Doc View Source

    Copy()

    Declaration
    public CudaSparseMatrixDescriptor Copy()
    Returns
    Type Description
    CudaSparseMatrixDescriptor
    | Improve this Doc View Source

    Dispose()

    Dispose

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    For IDisposable

    Declaration
    protected virtual void Dispose(bool fDisposing)
    Parameters
    Type Name Description
    System.Boolean fDisposing
    | Improve this Doc View Source

    Finalize()

    For dispose

    Declaration
    protected void Finalize()
    | Improve this Doc View Source

    GetMatDiagType()

    Returns matrix diagonal type

    Declaration
    public cusparseDiagType GetMatDiagType()
    Returns
    Type Description
    cusparseDiagType
    | Improve this Doc View Source

    GetMatFillMode()

    Returns matrix fill mode

    Declaration
    public cusparseFillMode GetMatFillMode()
    Returns
    Type Description
    cusparseFillMode
    | Improve this Doc View Source

    GetMatIndexBase()

    Returns matrix index base.

    Declaration
    public cusparseIndexBase GetMatIndexBase()
    Returns
    Type Description
    cusparseIndexBase
    | Improve this Doc View Source

    GetMatType()

    Returns matrix type

    Declaration
    public cusparseMatrixType GetMatType()
    Returns
    Type Description
    cusparseMatrixType
    | Improve this Doc View Source

    SetMatDiagType(cusparseDiagType)

    Sets matrix diagonal type

    Declaration
    public void SetMatDiagType(cusparseDiagType diagType)
    Parameters
    Type Name Description
    cusparseDiagType diagType
    | Improve this Doc View Source

    SetMatFillMode(cusparseFillMode)

    Sets matrix fill mode

    Declaration
    public void SetMatFillMode(cusparseFillMode fillMode)
    Parameters
    Type Name Description
    cusparseFillMode fillMode
    | Improve this Doc View Source

    SetMatIndexBase(cusparseIndexBase)

    Sets matrix index base

    Declaration
    public void SetMatIndexBase(cusparseIndexBase indexBase)
    Parameters
    Type Name Description
    cusparseIndexBase indexBase
    | Improve this Doc View Source

    SetMatType(cusparseMatrixType)

    Sets the matrix type

    Declaration
    public void SetMatType(cusparseMatrixType type)
    Parameters
    Type Name Description
    cusparseMatrixType type

    Implements

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