Neko  0.9.0
A portable framework for high-order spectral element flow simulations
fusedcg_device.F90 File Reference

Go to the source code of this file.

Data Types

type  fusedcg_device::fusedcg_device_t
 Fused preconditioned conjugate gradient method. More...
 
interface  fusedcg_device::cuda_fusedcg_update_p
 
interface  fusedcg_device::cuda_fusedcg_update_x
 
interface  fusedcg_device::cuda_fusedcg_part2
 

Modules

module  fusedcg_device
 Defines a fused Conjugate Gradient method for accelerators.
 

Functions/Subroutines

subroutine fusedcg_device::device_fusedcg_update_p (p_d, z_d, po_d, beta, n)
 
subroutine fusedcg_device::device_fusedcg_update_x (x_d, p_d, alpha, p_cur, n)
 
real(kind=rp) function fusedcg_device::device_fusedcg_part2 (a_d, b_d, c_d, alpha_d, alpha, p_cur, n)
 
subroutine fusedcg_device::fusedcg_device_init (this, n, max_iter, M, rel_tol, abs_tol, monitor)
 Initialise a fused PCG solver. More...
 
subroutine fusedcg_device::fusedcg_device_free (this)
 Deallocate a pipelined PCG solver. More...
 
type(ksp_monitor_t) function fusedcg_device::fusedcg_device_solve (this, Ax, x, f, n, coef, blst, gs_h, niter)
 Pipelined PCG solve. More...
 
type(ksp_monitor_t) function, dimension(3) fusedcg_device::fusedcg_device_solve_coupled (this, Ax, x, y, z, fx, fy, fz, n, coef, blstx, blsty, blstz, gs_h, niter)
 Pipelined PCG solve coupled solve. More...
 

Variables

integer, parameter fusedcg_device::device_fusedcg_p_space = 10