C# Class ManagedCuda.CudaSparse.CudaSparseMatrixDescriptor

Wrapper class for cusparseMatDescr handle.
Inheritance: IDisposable
Datei anzeigen Open project: kunzmi/managedCuda Class Usage Examples

Public Methods

Method Description
Copy ( ) : CudaSparseMatrixDescriptor

CudaSparseMatrixDescriptor ( ) : System

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

CudaSparseMatrixDescriptor ( cusparseFillMode fillMode, cusparseDiagType diagType ) : System

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

CudaSparseMatrixDescriptor ( cusparseMatrixType matrixType, cusparseFillMode fillMode, cusparseDiagType diagType, cusparseIndexBase indexBase ) : System

Creates a new CudaSparseMatrixDescriptor

Dispose ( ) : void

Dispose

GetMatDiagType ( ) : cusparseDiagType

Returns matrix diagonal type

GetMatFillMode ( ) : cusparseFillMode

Returns matrix fill mode

GetMatIndexBase ( ) : cusparseIndexBase

Returns matrix index base.

GetMatType ( ) : cusparseMatrixType

Returns matrix type

SetMatDiagType ( cusparseDiagType diagType ) : void

Sets matrix diagonal type

SetMatFillMode ( cusparseFillMode fillMode ) : void

Sets matrix fill mode

SetMatIndexBase ( cusparseIndexBase indexBase ) : void

Sets matrix index base

SetMatType ( cusparseMatrixType type ) : void

Sets the matrix type

Protected Methods

Method Description
Dispose ( bool fDisposing ) : void

For IDisposable

Method Details

Copy() public method

public Copy ( ) : CudaSparseMatrixDescriptor
return CudaSparseMatrixDescriptor

CudaSparseMatrixDescriptor() public method

When the matrix descriptor is created, its fields are initialized to: CUSPARSE_MATRIXYPE_GENERAL CUSPARSE_INDEX_BASE_ZERO All other fields are uninitialized
public CudaSparseMatrixDescriptor ( ) : System
return System

CudaSparseMatrixDescriptor() public method

When the matrix descriptor is created, its fields are initialized to: CUSPARSE_MATRIXYPE_GENERAL CUSPARSE_INDEX_BASE_ZERO
public CudaSparseMatrixDescriptor ( cusparseFillMode fillMode, cusparseDiagType diagType ) : System
fillMode cusparseFillMode
diagType cusparseDiagType
return System

CudaSparseMatrixDescriptor() public method

Creates a new CudaSparseMatrixDescriptor
public CudaSparseMatrixDescriptor ( cusparseMatrixType matrixType, cusparseFillMode fillMode, cusparseDiagType diagType, cusparseIndexBase indexBase ) : System
matrixType cusparseMatrixType
fillMode cusparseFillMode
diagType cusparseDiagType
indexBase cusparseIndexBase
return System

Dispose() public method

Dispose
public Dispose ( ) : void
return void

Dispose() protected method

For IDisposable
protected Dispose ( bool fDisposing ) : void
fDisposing bool
return void

GetMatDiagType() public method

Returns matrix diagonal type
public GetMatDiagType ( ) : cusparseDiagType
return cusparseDiagType

GetMatFillMode() public method

Returns matrix fill mode
public GetMatFillMode ( ) : cusparseFillMode
return cusparseFillMode

GetMatIndexBase() public method

Returns matrix index base.
public GetMatIndexBase ( ) : cusparseIndexBase
return cusparseIndexBase

GetMatType() public method

Returns matrix type
public GetMatType ( ) : cusparseMatrixType
return cusparseMatrixType

SetMatDiagType() public method

Sets matrix diagonal type
public SetMatDiagType ( cusparseDiagType diagType ) : void
diagType cusparseDiagType
return void

SetMatFillMode() public method

Sets matrix fill mode
public SetMatFillMode ( cusparseFillMode fillMode ) : void
fillMode cusparseFillMode
return void

SetMatIndexBase() public method

Sets matrix index base
public SetMatIndexBase ( cusparseIndexBase indexBase ) : void
indexBase cusparseIndexBase
return void

SetMatType() public method

Sets the matrix type
public SetMatType ( cusparseMatrixType type ) : void
type cusparseMatrixType
return void