Neko  0.8.0
A portable framework for high-order spectral element flow simulations
device::device_map Interface Reference

Map a Fortran array to a device (allocate and associate) More...

Public Member Functions

subroutine device_map_r1 (x, x_d, n)
 Map a Fortran rank 1 array to a device (allocate and associate) More...
 
subroutine device_map_r2 (x, x_d, n)
 Map a Fortran rank 2 array to a device (allocate and associate) More...
 
subroutine device_map_r3 (x, x_d, n)
 Map a Fortran rank 3 array to a device (allocate and associate) More...
 
subroutine device_map_r4 (x, x_d, n)
 Map a Fortran rank 4 array to a device (allocate and associate) More...
 

Detailed Description

Map a Fortran array to a device (allocate and associate)

Definition at line 57 of file device.F90.

Member Function/Subroutine Documentation

◆ device_map_r1()

subroutine device::device_map::device_map_r1 ( class(*), dimension(:), intent(inout), target  x,
type(c_ptr), intent(inout)  x_d,
integer, intent(in)  n 
)

Map a Fortran rank 1 array to a device (allocate and associate)

Definition at line 664 of file device.F90.

Here is the call graph for this function:

◆ device_map_r2()

subroutine device::device_map::device_map_r2 ( class(*), dimension(:,:), intent(inout), target  x,
type(c_ptr), intent(inout)  x_d,
integer, intent(in)  n 
)

Map a Fortran rank 2 array to a device (allocate and associate)

Definition at line 693 of file device.F90.

Here is the call graph for this function:

◆ device_map_r3()

subroutine device::device_map::device_map_r3 ( class(*), dimension(:,:,:), intent(inout), target  x,
type(c_ptr), intent(inout)  x_d,
integer, intent(in)  n 
)

Map a Fortran rank 3 array to a device (allocate and associate)

Definition at line 722 of file device.F90.

Here is the call graph for this function:

◆ device_map_r4()

subroutine device::device_map::device_map_r4 ( class(*), dimension(:,:,:,:), intent(inout), target  x,
type(c_ptr), intent(inout)  x_d,
integer, intent(in)  n 
)

Map a Fortran rank 4 array to a device (allocate and associate)

Definition at line 751 of file device.F90.

Here is the call graph for this function:

The documentation for this interface was generated from the following file: