![]() |
(git:b77b4be)
|
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. | |
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. | |
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. | |
real(kind=dp) function, public | dbt_tas_checksum (matrix) |
Calculate checksum of tall-and-skinny matrix consistent with dbm_checksum. | |
subroutine, public | dbt_tas_random_bsizes (sizes, repeat, dbt_sizes) |
Create random block sizes. | |
subroutine, public | dbt_tas_reset_randmat_seed () |
Reset the seed used for generating random matrices to default value. | |
testing infrastructure for tall-and-skinny matrices
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.
matrix | ... |
mp_comm_out | ... |
mp_comm | ... |
nrows | ... |
ncols | ... |
rbsizes | ... |
cbsizes | ... |
dist_splitsize | ... |
name | ... |
sparsity | ... |
reuse_comm | ... |
Definition at line 68 of file dbt_tas_test.F.
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.
transa | ... |
transb | ... |
transc | ... |
matrix_a | ... |
matrix_b | ... |
matrix_c | ... |
compare_dbm | ... |
filter_eps | ... |
io_unit | ... |
Definition at line 182 of file dbt_tas_test.F.
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.
transa | ... |
transb | ... |
transc | ... |
matrix_a | ... |
matrix_b | ... |
matrix_c | ... |
filter_eps | ... |
unit_nr | ... |
log_verbose | ... |
Definition at line 319 of file dbt_tas_test.F.
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.
matrix | ... |
Definition at line 474 of file dbt_tas_test.F.
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.
sizes | ... |
repeat | ... |
dbt_sizes | ... |
Definition at line 492 of file dbt_tas_test.F.
subroutine, public dbt_tas_test::dbt_tas_reset_randmat_seed |
Reset the seed used for generating random matrices to default value.
Definition at line 509 of file dbt_tas_test.F.