(git:3add494)
dbt_tas_test Module Reference

testing infrastructure for tall-and-skinny matrices More...

Functions/Subroutines

subroutine, public dbt_tas_setup_test_matrix (matrix, mp_comm_out, mp_comm, nrows, ncols, rbsizes, cbsizes, dist_splitsize, name, sparsity, reuse_comm)
 Setup tall-and-skinny matrix for testing. More...
 
subroutine, public dbt_tas_benchmark_mm (transa, transb, transc, matrix_a, matrix_b, matrix_c, compare_dbm, filter_eps, io_unit)
 Benchmark routine. Due to random sparsity (as opposed to structured sparsity pattern), this may not be representative for actual applications. More...
 
subroutine, public dbt_tas_test_mm (transa, transb, transc, matrix_a, matrix_b, matrix_c, filter_eps, unit_nr, log_verbose)
 Test tall-and-skinny matrix multiplication for accuracy. More...
 
real(kind=dp) function, public dbt_tas_checksum (matrix)
 Calculate checksum of tall-and-skinny matrix consistent with dbm_checksum. More...
 
subroutine, public dbt_tas_random_bsizes (sizes, repeat, dbt_sizes)
 Create random block sizes. More...
 
subroutine, public dbt_tas_reset_randmat_seed ()
 Reset the seed used for generating random matrices to default value. More...
 

Detailed Description

testing infrastructure for tall-and-skinny matrices

Author
Patrick Seewald

Function/Subroutine Documentation

◆ dbt_tas_setup_test_matrix()

subroutine, public dbt_tas_test::dbt_tas_setup_test_matrix ( type(dbt_tas_type), intent(out)  matrix,
type(mp_cart_type), intent(out)  mp_comm_out,
class(mp_comm_type), intent(in)  mp_comm,
integer(kind=int_8), intent(in)  nrows,
integer(kind=int_8), intent(in)  ncols,
integer, dimension(nrows), intent(in)  rbsizes,
integer, dimension(ncols), intent(in)  cbsizes,
integer, dimension(2), intent(in)  dist_splitsize,
character(len=*), intent(in)  name,
real(kind=dp), intent(in)  sparsity,
logical, intent(in), optional  reuse_comm 
)

Setup tall-and-skinny matrix for testing.

Parameters
matrix...
mp_comm_out...
mp_comm...
nrows...
ncols...
rbsizes...
cbsizes...
dist_splitsize...
name...
sparsity...
reuse_comm...
Author
Patrick Seewald

Definition at line 68 of file dbt_tas_test.F.

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

◆ dbt_tas_benchmark_mm()

subroutine, public dbt_tas_test::dbt_tas_benchmark_mm ( logical, intent(in)  transa,
logical, intent(in)  transb,
logical, intent(in)  transc,
type(dbt_tas_type), intent(inout)  matrix_a,
type(dbt_tas_type), intent(inout)  matrix_b,
type(dbt_tas_type), intent(inout)  matrix_c,
logical, intent(in)  compare_dbm,
real(kind=dp), intent(in), optional  filter_eps,
integer, intent(in), optional  io_unit 
)

Benchmark routine. Due to random sparsity (as opposed to structured sparsity pattern), this may not be representative for actual applications.

Parameters
transa...
transb...
transc...
matrix_a...
matrix_b...
matrix_c...
compare_dbm...
filter_eps...
io_unit...
Author
Patrick Seewald

Definition at line 182 of file dbt_tas_test.F.

Here is the call graph for this function:

◆ dbt_tas_test_mm()

subroutine, public dbt_tas_test::dbt_tas_test_mm ( logical, intent(in)  transa,
logical, intent(in)  transb,
logical, intent(in)  transc,
type(dbt_tas_type), intent(inout)  matrix_a,
type(dbt_tas_type), intent(inout)  matrix_b,
type(dbt_tas_type), intent(inout)  matrix_c,
real(kind=dp), intent(in), optional  filter_eps,
integer, intent(in)  unit_nr,
logical, intent(in), optional  log_verbose 
)

Test tall-and-skinny matrix multiplication for accuracy.

Parameters
transa...
transb...
transc...
matrix_a...
matrix_b...
matrix_c...
filter_eps...
unit_nr...
log_verbose...
Author
Patrick Seewald

Definition at line 319 of file dbt_tas_test.F.

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

◆ dbt_tas_checksum()

real(kind=dp) function, public dbt_tas_test::dbt_tas_checksum ( type(dbt_tas_type), intent(in)  matrix)

Calculate checksum of tall-and-skinny matrix consistent with dbm_checksum.

Parameters
matrix...
Returns
...
Author
Patrick Seewald

Definition at line 474 of file dbt_tas_test.F.

Here is the call graph for this function:

◆ dbt_tas_random_bsizes()

subroutine, public dbt_tas_test::dbt_tas_random_bsizes ( integer, dimension(:), intent(in)  sizes,
integer, intent(in)  repeat,
integer, dimension(:), intent(out)  dbt_sizes 
)

Create random block sizes.

Parameters
sizes...
repeat...
dbt_sizes...
Author
Patrick Seewald

Definition at line 492 of file dbt_tas_test.F.

Here is the caller graph for this function:

◆ dbt_tas_reset_randmat_seed()

subroutine, public dbt_tas_test::dbt_tas_reset_randmat_seed

Reset the seed used for generating random matrices to default value.

Author
Patrick Seewald

Definition at line 509 of file dbt_tas_test.F.

Here is the caller graph for this function: