Neko  0.8.99
A portable framework for high-order spectral element flow simulations
device_jacobi Module Reference

Jacobi preconditioner accelerator backend.

Data Types

type  device_jacobi_t
 Defines a jacobi preconditioner. More...
 
interface  hip_jacobi_update
 
interface  cuda_jacobi_update
 
interface  opencl_jacobi_update
 

Functions/Subroutines

subroutine device_jacobi_init (this, coef, dof, gs_h)
 
subroutine device_jacobi_free (this)
 
subroutine device_jacobi_solve (this, z, r, n)
 The jacobi preconditioner \( J z = r \) \( z = J^{-1}r\) where \( J^{-1} ~= 1/diag(A) \). More...
 
subroutine device_jacobi_update (this)
 

Function/Subroutine Documentation

◆ device_jacobi_free()

subroutine device_jacobi::device_jacobi_free ( class(device_jacobi_t), intent(inout)  this)
private

Definition at line 114 of file pc_jacobi_device.F90.

Here is the call graph for this function:

◆ device_jacobi_init()

subroutine device_jacobi::device_jacobi_init ( class(device_jacobi_t), intent(inout)  this,
type(coef_t), intent(inout), target  coef,
type(dofmap_t), intent(inout), target  dof,
type(gs_t), intent(inout), target  gs_h 
)
private

Definition at line 94 of file pc_jacobi_device.F90.

Here is the call graph for this function:

◆ device_jacobi_solve()

subroutine device_jacobi::device_jacobi_solve ( class(device_jacobi_t), intent(inout)  this,
real(kind=rp), dimension(n), intent(inout)  z,
real(kind=rp), dimension(n), intent(inout)  r,
integer, intent(in)  n 
)
private

Definition at line 133 of file pc_jacobi_device.F90.

Here is the call graph for this function:

◆ device_jacobi_update()

subroutine device_jacobi::device_jacobi_update ( class(device_jacobi_t), intent(inout)  this)
private

Definition at line 147 of file pc_jacobi_device.F90.

Here is the call graph for this function:
Here is the caller graph for this function: