Neko  0.8.1
A portable framework for high-order spectral element flow simulations
device_math Module Reference

Data Types

interface  hip_copy
 
interface  hip_masked_copy
 
interface  hip_cmult
 
interface  hip_cmult2
 
interface  hip_cadd
 
interface  hip_cfill
 
interface  hip_rzero
 
interface  hip_add2
 
interface  hip_add2s1
 
interface  hip_add2s2
 
interface  hip_add2s2_many
 
interface  hip_addsqr2s2
 
interface  hip_add3s2
 
interface  hip_invcol1
 
interface  hip_invcol2
 
interface  hip_col2
 
interface  hip_col3
 
interface  hip_subcol3
 
interface  hip_sub2
 
interface  hip_sub3
 
interface  hip_addcol3
 
interface  hip_addcol4
 
interface  hip_vdot3
 
interface  hip_vlsc3
 
interface  hip_glsc3
 
interface  hip_glsc3_many
 
interface  hip_glsc2
 
interface  hip_glsum
 

Functions/Subroutines

subroutine, public device_copy (a_d, b_d, n)
 
subroutine, public device_masked_copy (a_d, b_d, mask_d, n, m)
 
subroutine, public device_rzero (a_d, n)
 
subroutine, public device_rone (a_d, n)
 
subroutine, public device_cmult (a_d, c, n)
 
subroutine, public device_cmult2 (a_d, b_d, c, n)
 
subroutine, public device_cadd (a_d, c, n)
 
subroutine, public device_cfill (a_d, c, n)
 
subroutine, public device_add2 (a_d, b_d, n)
 
subroutine, public device_add2s1 (a_d, b_d, c1, n)
 
subroutine, public device_add2s2 (a_d, b_d, c1, n)
 
subroutine, public device_addsqr2s2 (a_d, b_d, c1, n)
 
subroutine, public device_add3s2 (a_d, b_d, c_d, c1, c2, n)
 
subroutine, public device_invcol1 (a_d, n)
 
subroutine, public device_invcol2 (a_d, b_d, n)
 
subroutine, public device_col2 (a_d, b_d, n)
 
subroutine, public device_col3 (a_d, b_d, c_d, n)
 
subroutine, public device_subcol3 (a_d, b_d, c_d, n)
 
subroutine, public device_sub2 (a_d, b_d, n)
 
subroutine, public device_sub3 (a_d, b_d, c_d, n)
 
subroutine, public device_addcol3 (a_d, b_d, c_d, n)
 
subroutine, public device_addcol4 (a_d, b_d, c_d, d_d, n)
 
subroutine, public device_vdot3 (dot_d, u1_d, u2_d, u3_d, v1_d, v2_d, v3_d, n)
 
real(kind=rp) function, public device_vlsc3 (u_d, v_d, w_d, n)
 
real(kind=rp) function, public device_glsc3 (a_d, b_d, c_d, n)
 
subroutine, public device_glsc3_many (h, w_d, v_d_d, mult_d, j, n)
 
subroutine, public device_add2s2_many (y_d, x_d_d, a_d, j, n)
 
real(kind=rp) function, public device_glsc2 (a_d, b_d, n)
 
real(kind=rp) function, public device_glsum (a_d, n)
 

Function/Subroutine Documentation

◆ device_add2()

subroutine, public device_math::device_add2 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
integer  n 
)

Definition at line 1055 of file device_math.F90.

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

◆ device_add2s1()

subroutine, public device_math::device_add2s1 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
real(kind=rp)  c1,
integer  n 
)

Definition at line 1069 of file device_math.F90.

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

◆ device_add2s2()

subroutine, public device_math::device_add2s2 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
real(kind=rp)  c1,
integer  n 
)

Definition at line 1084 of file device_math.F90.

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

◆ device_add2s2_many()

subroutine, public device_math::device_add2s2_many ( type(c_ptr), value  y_d,
type(c_ptr), value  x_d_d,
type(c_ptr), value  a_d,
integer(c_int)  j,
integer(c_int)  n 
)

Definition at line 1331 of file device_math.F90.

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

◆ device_add3s2()

subroutine, public device_math::device_add3s2 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
type(c_ptr)  c_d,
real(kind=rp)  c1,
real(kind=rp)  c2,
integer  n 
)

Definition at line 1114 of file device_math.F90.

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

◆ device_addcol3()

subroutine, public device_math::device_addcol3 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
type(c_ptr)  c_d,
integer  n 
)

Definition at line 1227 of file device_math.F90.

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

◆ device_addcol4()

subroutine, public device_math::device_addcol4 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
type(c_ptr)  c_d,
type(c_ptr)  d_d,
integer  n 
)

Definition at line 1241 of file device_math.F90.

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

◆ device_addsqr2s2()

subroutine, public device_math::device_addsqr2s2 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
real(kind=rp)  c1,
integer  n 
)

Definition at line 1099 of file device_math.F90.

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

◆ device_cadd()

subroutine, public device_math::device_cadd ( type(c_ptr)  a_d,
real(kind=rp), intent(in)  c,
integer  n 
)

Definition at line 1025 of file device_math.F90.

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

◆ device_cfill()

subroutine, public device_math::device_cfill ( type(c_ptr)  a_d,
real(kind=rp), intent(in)  c,
integer  n 
)

Definition at line 1040 of file device_math.F90.

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

◆ device_cmult()

subroutine, public device_math::device_cmult ( type(c_ptr)  a_d,
real(kind=rp), intent(in)  c,
integer  n 
)

Definition at line 994 of file device_math.F90.

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

◆ device_cmult2()

subroutine, public device_math::device_cmult2 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
real(kind=rp), intent(in)  c,
integer  n 
)

Definition at line 1009 of file device_math.F90.

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

◆ device_col2()

subroutine, public device_math::device_col2 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
integer  n 
)

Definition at line 1157 of file device_math.F90.

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

◆ device_col3()

subroutine, public device_math::device_col3 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
type(c_ptr)  c_d,
integer  n 
)

Definition at line 1171 of file device_math.F90.

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

◆ device_copy()

subroutine, public device_math::device_copy ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
integer  n 
)

Definition at line 938 of file device_math.F90.

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

◆ device_glsc2()

real(kind=rp) function, public device_math::device_glsc2 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
integer  n 
)

Definition at line 1345 of file device_math.F90.

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

◆ device_glsc3()

real(kind=rp) function, public device_math::device_glsc3 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
type(c_ptr)  c_d,
integer  n 
)

Definition at line 1286 of file device_math.F90.

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

◆ device_glsc3_many()

subroutine, public device_math::device_glsc3_many ( real(c_rp), dimension(j)  h,
type(c_ptr), value  w_d,
type(c_ptr), value  v_d_d,
type(c_ptr), value  mult_d,
integer(c_int)  j,
integer(c_int)  n 
)

Definition at line 1308 of file device_math.F90.

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

◆ device_glsum()

real(kind=rp) function, public device_math::device_glsum ( type(c_ptr)  a_d,
integer  n 
)

Definition at line 1367 of file device_math.F90.

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

◆ device_invcol1()

subroutine, public device_math::device_invcol1 ( type(c_ptr)  a_d,
integer  n 
)

Definition at line 1129 of file device_math.F90.

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

◆ device_invcol2()

subroutine, public device_math::device_invcol2 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
integer  n 
)

Definition at line 1143 of file device_math.F90.

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

◆ device_masked_copy()

subroutine, public device_math::device_masked_copy ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
type(c_ptr)  mask_d,
integer  n,
integer  m 
)

Definition at line 952 of file device_math.F90.

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

◆ device_rone()

subroutine, public device_math::device_rone ( type(c_ptr)  a_d,
integer  n 
)

Definition at line 981 of file device_math.F90.

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

◆ device_rzero()

subroutine, public device_math::device_rzero ( type(c_ptr)  a_d,
integer  n 
)

Definition at line 967 of file device_math.F90.

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

◆ device_sub2()

subroutine, public device_math::device_sub2 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
integer  n 
)

Definition at line 1199 of file device_math.F90.

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

◆ device_sub3()

subroutine, public device_math::device_sub3 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
type(c_ptr)  c_d,
integer  n 
)

Definition at line 1213 of file device_math.F90.

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

◆ device_subcol3()

subroutine, public device_math::device_subcol3 ( type(c_ptr)  a_d,
type(c_ptr)  b_d,
type(c_ptr)  c_d,
integer  n 
)

Definition at line 1185 of file device_math.F90.

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

◆ device_vdot3()

subroutine, public device_math::device_vdot3 ( type(c_ptr)  dot_d,
type(c_ptr)  u1_d,
type(c_ptr)  u2_d,
type(c_ptr)  u3_d,
type(c_ptr)  v1_d,
type(c_ptr)  v2_d,
type(c_ptr)  v3_d,
integer  n 
)

Definition at line 1255 of file device_math.F90.

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

◆ device_vlsc3()

real(kind=rp) function, public device_math::device_vlsc3 ( type(c_ptr)  u_d,
type(c_ptr)  v_d,
type(c_ptr)  w_d,
integer  n 
)

Definition at line 1269 of file device_math.F90.

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