utilities: Utility functions for GPU/CPU Benchmarking

Description Usage Arguments Details

Description

Utility functions for GPU/CPU Benchmarking

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18

Arguments

data

a (one-row) dataframe containing results from a benchmark

dbfile

character string containing path and name of SQLite database file

package

character string denoting a package to test for

host

character string denoting the host system for which benchmark data is to be retrieved

Details

requirements checks for a few system requirements such platform (Unix), operating system provider (Debian or Ubuntu) and presense of key packages (gotoblas2-helper).

createDatabase creates an empty SQLite database to store benchmark results.

databaseResult stores the benchmark results in the SQLite database.

The different install* functions add the respective BLAS libraries to the system; the different purge* functions do the inverse operation and remove them.

The function hasGputools tests for presence of this CRAN package on the current machine – as a very cheap proxy to testing whether the machine in GPU-capable or not. It uses the function isPackageInstalled for this test.

The function getBenchmarkData retrieves benchmark results for a given host.


gcbd documentation built on May 1, 2019, 10:15 p.m.