| DenseMatrixMicrobenchmark {RHPCBenchmark} | R Documentation |
This class specifies a dense matrix microbenchmark.
Description
This class specifies a dense matrix microbenchmark.
Fields
activea logical indicating whether the microbenchmark is to be executed (TRUE) or not (FALSE).
benchmarkNamea character string that is the name of the microbenchmark.
benchmarkDescriptiona character string describing the microbenchmark.
dimensionParametersan integer vector specifying the dimension parameters the microbenchmark uses to define the matrix dimensions to be tested with.
numberOfTrialsan integer vector specifying the number of performance trials conducted for each matrix to be tested. Must be the same length as
dimensionParameters.numberOfWarmupTrialsan integer vector specifying the number of warmup trials to be performed for each matrix to be tested.
allocatorFunctionthe function that allocates and initializes input to the benchmark function. The function takes a
DenseMatrixMicrobenchmarkobject and an integer index indicating which matrix dimension parameter fromdimensionParametersshould be used to generate the matrix.benchmarkFunctionthe benchmark function which executes the functionality to be timed. The function takes a
DenseMatrixMicrobenchmarkand a list of kernel parameters returned by the allocator function.