x_slice_weighted_sum_kernel Subroutine

public subroutine x_slice_weighted_sum_kernel(sum_f, f, w, i_slice, n_i_pad, n_j)

Weighted sum of the x slice f(:, i_slice, :) of a DIR_X field, w(j) on the points of y index j. One thread per (y, z) point; z is the fast-varying component of the group index.

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout), device :: sum_f
real(kind=dp), intent(in), device, dimension(:, :, :) :: f
real(kind=dp), intent(in), device, dimension(:) :: w
integer, intent(in), value :: i_slice
integer, intent(in), value :: n_i_pad
integer, intent(in), value :: n_j

Calls

proc~~x_slice_weighted_sum_kernel~~CallsGraph proc~x_slice_weighted_sum_kernel m_cuda_backend::x_slice_weighted_sum_kernel atomicadd atomicadd proc~x_slice_weighted_sum_kernel->atomicadd

Called by

proc~~x_slice_weighted_sum_kernel~~CalledByGraph proc~x_slice_weighted_sum_kernel m_cuda_backend::x_slice_weighted_sum_kernel proc~x_slice_weighted_sum_cuda m_cuda_backend::cuda_backend_t%x_slice_weighted_sum_cuda proc~x_slice_weighted_sum_cuda->proc~x_slice_weighted_sum_kernel