CAM
reduction_mod Module Reference

Data Types

interface  initreductionbuffer
 
interface  parallelmax
 
interface  parallelmin
 
interface  pmax_mt
 
interface  pmin_mt
 
type  reductionbuffer_int_1d_t
 
type  reductionbuffer_ordered_1d_t
 
type  reductionbuffer_r_1d_t
 

Functions/Subroutines

real(kind=real_kind) function parallelmin1d (data, hybrid)
 
real(kind=real_kind) function parallelmin0d (data, hybrid)
 
integer function, dimension(n, mparallelmax2d_int (data, n, m, hybrid)
 
integer function, dimension(len) parallelmax1d_int (data, len, hybrid)
 
real(kind=real_kind) function parallelmax1d (data, hybrid)
 
real(kind=real_kind) function parallelmax0d (data, hybrid)
 
integer function parallelmax0d_int (data, hybrid)
 
subroutine initreductionbuffer_int_1d (red, len)
 
subroutine initreductionbuffer_r_1d (red, len)
 
subroutine initreductionbuffer_ordered_1d (red, len, nthread)
 
subroutine pmax_mt_int_1d (red, redp, len, hybrid)
 
subroutine pmax_mt_r_1d (red, redp, len, hybrid)
 
subroutine pmin_mt_r_1d (red, redp, len, hybrid)
 
subroutine, public elementsum_1d (res, variable, type, hybrid)
 

Variables

type(reductionbuffer_int_1d_t), save, public red_max_int
 
type(reductionbuffer_int_1d_t), save, public red_sum_int
 
type(reductionbuffer_r_1d_t), save, public red_sum
 
type(reductionbuffer_r_1d_t), save, public red_max
 
type(reductionbuffer_r_1d_t), save, public red_min
 
type(reductionbuffer_r_1d_t), save, public red_flops
 
type(reductionbuffer_r_1d_t), save, public red_timer
 

Function/Subroutine Documentation

◆ elementsum_1d()

subroutine, public reduction_mod::elementsum_1d ( real(kind=real_kind), intent(out)  res,
real(kind=real_kind), dimension(:), intent(in)  variable,
integer, intent(in)  type,
type (hybrid_t), intent(in)  hybrid 
)

◆ initreductionbuffer_int_1d()

subroutine reduction_mod::initreductionbuffer_int_1d ( type (reductionbuffer_int_1d_t), intent(out)  red,
integer, intent(in)  len 
)
Here is the call graph for this function:

◆ initreductionbuffer_ordered_1d()

subroutine reduction_mod::initreductionbuffer_ordered_1d ( type (reductionbuffer_ordered_1d_t), intent(out)  red,
integer, intent(in)  len,
integer, intent(in)  nthread 
)
Here is the call graph for this function:

◆ initreductionbuffer_r_1d()

subroutine reduction_mod::initreductionbuffer_r_1d ( type (reductionbuffer_r_1d_t), intent(out)  red,
integer, intent(in)  len 
)
Here is the call graph for this function:

◆ parallelmax0d()

real(kind=real_kind) function reduction_mod::parallelmax0d ( real(kind=real_kind), intent(in)  data,
type (hybrid_t), intent(in)  hybrid 
)

◆ parallelmax0d_int()

integer function reduction_mod::parallelmax0d_int ( integer, intent(in)  data,
type (hybrid_t), intent(in)  hybrid 
)

◆ parallelmax1d()

real(kind=real_kind) function reduction_mod::parallelmax1d ( real(kind=real_kind), dimension(:), intent(in)  data,
type (hybrid_t), intent(in)  hybrid 
)

◆ parallelmax1d_int()

integer function, dimension(len) reduction_mod::parallelmax1d_int ( integer, dimension(len), intent(in)  data,
integer, intent(in)  len,
type (hybrid_t), intent(in)  hybrid 
)

◆ parallelmax2d_int()

integer function, dimension(n,m) reduction_mod::parallelmax2d_int ( integer, dimension(n,m), intent(in)  data,
integer, intent(in)  n,
integer, intent(in)  m,
type (hybrid_t), intent(in)  hybrid 
)

◆ parallelmin0d()

real(kind=real_kind) function reduction_mod::parallelmin0d ( real(kind=real_kind), intent(in)  data,
type (hybrid_t), intent(in)  hybrid 
)

◆ parallelmin1d()

real(kind=real_kind) function reduction_mod::parallelmin1d ( real(kind=real_kind), dimension(:), intent(in)  data,
type (hybrid_t), intent(in)  hybrid 
)
private

◆ pmax_mt_int_1d()

subroutine reduction_mod::pmax_mt_int_1d ( type (reductionbuffer_int_1d_t red,
integer, dimension(len), intent(inout)  redp,
integer, intent(in)  len,
type (hybrid_t), intent(in)  hybrid 
)
Here is the call graph for this function:

◆ pmax_mt_r_1d()

subroutine reduction_mod::pmax_mt_r_1d ( type (reductionbuffer_r_1d_t red,
real (kind=real_kind), dimension(:), intent(inout)  redp,
integer, intent(in)  len,
type (hybrid_t), intent(in)  hybrid 
)
Here is the call graph for this function:

◆ pmin_mt_r_1d()

subroutine reduction_mod::pmin_mt_r_1d ( type (reductionbuffer_r_1d_t red,
real (kind=real_kind), dimension(:), intent(inout)  redp,
integer, intent(in)  len,
type (hybrid_t), intent(in)  hybrid 
)
Here is the call graph for this function:

Variable Documentation

◆ red_flops

type (reductionbuffer_r_1d_t), save, public reduction_mod::red_flops

◆ red_max

type (reductionbuffer_r_1d_t), save, public reduction_mod::red_max

◆ red_max_int

type (reductionbuffer_int_1d_t), save, public reduction_mod::red_max_int

◆ red_min

type (reductionbuffer_r_1d_t), save, public reduction_mod::red_min

◆ red_sum

type (reductionbuffer_r_1d_t), save, public reduction_mod::red_sum

◆ red_sum_int

type (reductionbuffer_int_1d_t), save, public reduction_mod::red_sum_int

◆ red_timer

type (reductionbuffer_r_1d_t), save, public reduction_mod::red_timer