MatvecAllocator: Allocates and populates input to the matrix-vector...

Description Usage Arguments

View source: R/dense_matrix_kernels.R

Description

MatvecAllocator allocates and populates the input to the matrix-vector multiplication dense matrix kernel for the purposes of conducting a single performance trial with the MatvecMicrobenchmark function. The matrices or vectors corresponding to the index parameter must be allocated, initialized and returned in the kernelParameters list.

Usage

1
MatvecAllocator(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.


RHPCBenchmark documentation built on May 2, 2019, 6:40 a.m.