m_cuda_kernels_fieldops Module


Uses


Subroutines

public subroutine axpby(n, alpha, x, beta, y)

Arguments

Type IntentOptional Attributes Name
integer, intent(in), value :: n
real(kind=dp), intent(in), value :: alpha
real(kind=dp), intent(in), device, dimension(:, :, :) :: x
real(kind=dp), intent(in), value :: beta
real(kind=dp), intent(inout), device, dimension(:, :, :) :: y

public subroutine buffer_copy(u_send_s, u_send_e, u, n, n_halo)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout), device, dimension(:, :, :) :: u_send_s
real(kind=dp), intent(inout), device, dimension(:, :, :) :: u_send_e
real(kind=dp), intent(in), device, dimension(:, :, :) :: u
integer, intent(in), value :: n
integer, intent(in), value :: n_halo

public subroutine field_scale(f, alpha, n)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout), device, dimension(:, :, :) :: f
real(kind=dp), intent(in), value :: alpha
integer, intent(in), value :: n

public subroutine field_shift(f, const, n)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout), device, dimension(:, :, :) :: f
real(kind=dp), intent(in), value :: const
integer, intent(in), value :: n

public subroutine scalar_product(s, x, y, n)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout), device :: s
real(kind=dp), intent(in), device, dimension(:, :, :) :: x
real(kind=dp), intent(in), device, dimension(:, :, :) :: y
integer, intent(in), value :: n