SparseLuAllocator {RHPCBenchmark}R Documentation

Allocates and initializes input to the LU factorization sparse matrix kernel microbenchmarks

Description

SparseLuAllocator allocates and initializes the sparse matrix that is input to the sparse matrix kernel for the purposes of conducting a single performance trial with the SparseCholeskyMicrobenchmark function. The matrix is populated and returned in the kernelParameters list.

Usage

SparseLuAllocator(benchmarkParameters, index)

Arguments

benchmarkParameters

an object of type SparseMatrixMicrobenchmark specifying various parameters needed to generate input for the sparse matrix kernel.

index

an integer index indicating the dimensions of the matrix or vector data to be generated as input for the sparse matrix kernel.


[Package RHPCBenchmark version 0.1.0 Index]