Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
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.
 
subroutine fusedcg_device::fusedcg_device_free (this)
 Deallocate a pipelined PCG solver.
 
type(ksp_monitor_t) function fusedcg_device::fusedcg_device_solve (this, ax, x, f, n, coef, blst, gs_h, niter)
 Pipelined PCG solve.
 
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.
 

Variables

integer, parameter fusedcg_device::device_fusedcg_p_space = 10