CholeskyAllocator {RHPCBenchmark}R Documentation

Allocates and initializes input to the Cholesky factorization dense matrix kernel microbenchmarks

Description

CholeskyAllocator allocates and populates the input to the Cholesky factorization dense matrix kernel for the purposes of conducting a single performance trial with the CholeskyMicrobenchmark function. The matrices or vectors corresponding to the index parameter must be allocated, populated and returned in the kernelParameters list.

Usage

CholeskyAllocator(benchmarkParameters, index)

Arguments

benchmarkParameters

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

index

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

Value

a list containing the matrices or vectors to be input for the dense matrix kernel for which a single performance trial is to be conducted.


[Package RHPCBenchmark version 0.1.0 Index]