SparseMatrixVectorAllocator {RHPCBenchmark} | R Documentation |
Allocates and initializes input to the matrix-vector multiplication sparse matrix kernel microbenchmarks
Description
SparseMatrixVectorAllocator
allocates and initializes the sparse
matrix and vector that are inputs to the sparse matrix kernel for the
purposes of conducting a single performance trial with the
SparseMatrixVectorMicrobenchmark
function. The matrix and vector
are populated and returned in the kernelParameters
list.
Usage
SparseMatrixVectorAllocator(benchmarkParameters, index)
Arguments
benchmarkParameters |
an object of type
|
index |
an integer index indicating the dimensions of the matrix or vector data to be generated as input for the sparse matrix kernel. |
Value
a list containing the matrices or vectors to be input for the sparse matrix kernel for which a single performance trial is to be conducted.
[Package RHPCBenchmark version 0.1.0 Index]