DenseMatrixMicrobenchmark {RHPCBenchmark} | R Documentation |
This class specifies a dense matrix microbenchmark.
Description
This class specifies a dense matrix microbenchmark.
Fields
active
a logical indicating whether the microbenchmark is to be executed (TRUE) or not (FALSE).
benchmarkName
a character string that is the name of the microbenchmark.
benchmarkDescription
a character string describing the microbenchmark.
dimensionParameters
an integer vector specifying the dimension parameters the microbenchmark uses to define the matrix dimensions to be tested with.
numberOfTrials
an integer vector specifying the number of performance trials conducted for each matrix to be tested. Must be the same length as
dimensionParameters
.numberOfWarmupTrials
an integer vector specifying the number of warmup trials to be performed for each matrix to be tested.
allocatorFunction
the function that allocates and initializes input to the benchmark function. The function takes a
DenseMatrixMicrobenchmark
object and an integer index indicating which matrix dimension parameter fromdimensionParameters
should be used to generate the matrix.benchmarkFunction
the benchmark function which executes the functionality to be timed. The function takes a
DenseMatrixMicrobenchmark
and a list of kernel parameters returned by the allocator function.