Documentation for module dbcsr_tests

Tests for CP2K DBCSR operations

source: dbcsr_tests.F
Loading...

public Subroutines/Functions:

Performs a variety of matrix multiplies of same matrices on different processor grids

Parameters:

INTEGER
:: dbcsr_test_binary_io = 2
INTEGER
:: dbcsr_test_mm = 1

SUBROUTINEdbcsr_run_tests(mp_group, io_unit, nproc, matrix_sizes, trs, bs_m, bs_n, bs_k, sparsities, alpha, beta, data_type, test_type, n_loops, eps, retain_sparsity, always_checksum)

Performs a variety of matrix multiplies of same matrices on different processor grids

Arguments:
INTEGER,
INTENT(in)
:: mp_group MPI communicator
INTEGER,
INTENT(in)
:: io_unit which unit to write to, if not negative
INTEGER,
POINTER
:: nproc(:) number of processors to test on
INTEGER,
INTENT(in)
:: matrix_sizes(:) size of matrices to test
LOGICAL,
INTENT(in)
:: trs(2) transposes of the two matrices
INTEGER,
POINTER
:: bs_m(:) block sizes of the 3 dimensions
INTEGER,
POINTER
:: bs_n(:) block sizes of the 3 dimensions
INTEGER,
POINTER
:: bs_k(:) block sizes of the 3 dimensions
REAL(dp),
INTENT(in)
:: sparsities(3) sparsities of matrices to create
REAL(dp),
INTENT(in)
:: alpha alpha value to use in multiply
REAL(dp),
INTENT(in)
:: beta beta value to use in multiply
INTEGER,
INTENT(in)
:: data_type matrix data type
INTEGER,
INTENT(in)
:: test_type ...
INTEGER,
INTENT(in)
:: n_loops number of repetition for each multiplication
REAL(dp),
INTENT(in)
:: eps eps value for filtering
LOGICAL,
INTENT(in)
:: retain_sparsity ...
LOGICAL,
INTENT(in)
:: always_checksum checksum after each multiplication