(git:b1f098b)
Loading...
Searching...
No Matches
dbm_tests Module Reference

Functions/Subroutines

subroutine, public dbm_run_tests (mp_group, io_unit, matrix_sizes, trs, bs_m, bs_n, bs_k, sparsities, alpha, beta, n_loops, eps, retain_sparsity, always_checksum)
 Tests the DBM library.
 
integer function, dimension(4), public generate_larnv_seed (irow, nrow, icol, ncol, ival)
 Generate a seed respecting the lapack constraints,.
 

Function/Subroutine Documentation

◆ dbm_run_tests()

subroutine, public dbm_tests::dbm_run_tests ( class(mp_comm_type), intent(in)  mp_group,
integer, intent(in)  io_unit,
integer, dimension(:), intent(in)  matrix_sizes,
logical, dimension(2), intent(in)  trs,
integer, dimension(:), pointer  bs_m,
integer, dimension(:), pointer  bs_n,
integer, dimension(:), pointer  bs_k,
real(kind=dp), dimension(3), intent(in)  sparsities,
real(kind=dp), intent(in)  alpha,
real(kind=dp), intent(in)  beta,
integer, intent(in)  n_loops,
real(kind=dp), intent(in)  eps,
logical, intent(in)  retain_sparsity,
logical, intent(in)  always_checksum 
)

Tests the DBM library.

Parameters
mp_groupMPI communicator
io_unitUnit to write to, if not negative
matrix_sizesSize of matrices to test
trsTransposes of the two matrices
bs_mBlock sizes of the 1. dimension
bs_nBlock sizes of the 2. dimension
bs_kBlock sizes of the 3. dimension
sparsitiesSparsities of matrices to create
alphaAlpha value to use in multiply
betaBeta value to use in multiply
n_loopsNumber of repetition for each multiplication
epsEpsilon value for filtering
retain_sparsityRetain the result matrix's sparsity
always_checksumChecksum after each multiplication
Author
Ole Schuett

Definition at line 51 of file dbm_tests.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ generate_larnv_seed()

integer function, dimension(4), public dbm_tests::generate_larnv_seed ( integer, intent(in)  irow,
integer, intent(in)  nrow,
integer, intent(in)  icol,
integer, intent(in)  ncol,
integer, intent(in)  ival 
)

Generate a seed respecting the lapack constraints,.

  • values between 0..4095 (2**12-1)
  • iseed(4) odd also try to avoid iseed that are zero. Have but with a unique 2D mapping (irow,icol), and a 'mini-seed' ival
Parameters
irow1..nrow
nrow...
icol1..ncol
ncol...
ivalmini-seed
Returns
a lapack compatible seed
Author
Patrick Seewald

Definition at line 434 of file dbm_tests.F.

Here is the call graph for this function:
Here is the caller graph for this function: