Method AddMatrixUpload
AddMatrixUpload(void*, int, int, MatrixType, MatrixType)
Adds a new pending matrix upload operation to execute when you call SparseUploader.EndAndCommit.
Declaration
public void AddMatrixUpload(void* src, int numMatrices, int offset, ThreadedSparseUploader.MatrixType srcType, ThreadedSparseUploader.MatrixType dstType)
Parameters
Type | Name | Description |
---|---|---|
void* | src | A pointer to a memory area that contains matrices of the type specified by srcType. |
int | numMatrices | The number of matrices to upload. |
int | offset | The destination offset of the copy part of the upload operation. |
ThreadedSparseUploader.MatrixType | srcType | The source matrix format. |
ThreadedSparseUploader.MatrixType | dstType | The destination matrix format. |
Remarks
When this operation executes, the SparseUploader copies data from the source pointer.