C# 클래스 ManagedCuda.CudaSparse.CudaSparseMatrixDescriptor

Wrapper class for cusparseMatDescr handle.
상속: IDisposable
파일 보기 프로젝트 열기: kunzmi/managedCuda 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool fDisposing ) : void

For IDisposable

메소드 상세

Copy() 공개 메소드

public Copy ( ) : CudaSparseMatrixDescriptor
리턴 CudaSparseMatrixDescriptor

CudaSparseMatrixDescriptor() 공개 메소드

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
리턴 System

CudaSparseMatrixDescriptor() 공개 메소드

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
리턴 System

CudaSparseMatrixDescriptor() 공개 메소드

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

Dispose() 공개 메소드

Dispose
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

For IDisposable
protected Dispose ( bool fDisposing ) : void
fDisposing bool
리턴 void

GetMatDiagType() 공개 메소드

Returns matrix diagonal type
public GetMatDiagType ( ) : cusparseDiagType
리턴 cusparseDiagType

GetMatFillMode() 공개 메소드

Returns matrix fill mode
public GetMatFillMode ( ) : cusparseFillMode
리턴 cusparseFillMode

GetMatIndexBase() 공개 메소드

Returns matrix index base.
public GetMatIndexBase ( ) : cusparseIndexBase
리턴 cusparseIndexBase

GetMatType() 공개 메소드

Returns matrix type
public GetMatType ( ) : cusparseMatrixType
리턴 cusparseMatrixType

SetMatDiagType() 공개 메소드

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

SetMatFillMode() 공개 메소드

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

SetMatIndexBase() 공개 메소드

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

SetMatType() 공개 메소드

Sets the matrix type
public SetMatType ( cusparseMatrixType type ) : void
type cusparseMatrixType
리턴 void