Neko  0.8.1
A portable framework for high-order spectral element flow simulations
gs_device::gs_device_t Type Reference

Gather-scatter backend for offloading devices. More...

Inheritance diagram for gs_device::gs_device_t:
Collaboration diagram for gs_device::gs_device_t:

Public Member Functions

procedure, pass(this) init => gs_device_init
 
procedure, pass(this) free => gs_device_free
 
procedure, pass(this) gather => gs_gather_device
 
procedure, pass(this) scatter => gs_scatter_device
 

Public Attributes

integer, dimension(:), allocatable local_blk_off
 Local block offset. More...
 
integer, dimension(:), allocatable shared_blk_off
 Shared block offset. More...
 
type(c_ptr) local_gs_d = C_NULL_PTR
 Dev. ptr local gs-ops. More...
 
type(c_ptr) local_dof_gs_d = C_NULL_PTR
 Dev. ptr local dof to gs map. More...
 
type(c_ptr) local_gs_dof_d = C_NULL_PTR
 Dev. ptr local gs to dof map. More...
 
type(c_ptr) shared_gs_d = C_NULL_PTR
 Dev. ptr shared gs-ops. More...
 
type(c_ptr) shared_dof_gs_d = C_NULL_PTR
 Dev. ptr shrd dof to gs map. More...
 
type(c_ptr) shared_gs_dof_d = C_NULL_PTR
 Dev. ptr shrd gs to dof map. More...
 
type(c_ptr) local_blk_len_d = C_NULL_PTR
 Dev. ptr local n-f blocks. More...
 
type(c_ptr) shared_blk_len_d = C_NULL_PTR
 Dev. ptr shared n-f blocks. More...
 
type(c_ptr) local_blk_off_d = C_NULL_PTR
 Dev. ptr local blk offset. More...
 
type(c_ptr) shared_blk_off_d = C_NULL_PTR
 Dev. ptr shared blk offset. More...
 
integer nlocal
 
integer nshared
 
logical shared_on_host
 Shared points are handled on host. More...
 
type(c_ptr) gather_event = C_NULL_PTR
 
type(c_ptr) scatter_event = C_NULL_PTR
 
type(c_ptr) gs_stream = C_NULL_PTR
 

Detailed Description

Gather-scatter backend for offloading devices.

Definition at line 47 of file gs_device.F90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(this) gs_device::gs_device_t::free

Definition at line 65 of file gs_device.F90.

◆ gather()

procedure, pass(this) gs_device::gs_device_t::gather

Definition at line 66 of file gs_device.F90.

◆ init()

procedure, pass(this) gs_device::gs_device_t::init

Definition at line 64 of file gs_device.F90.

◆ scatter()

procedure, pass(this) gs_device::gs_device_t::scatter

Definition at line 67 of file gs_device.F90.

Member Data Documentation

◆ gather_event

type(c_ptr) gs_bcknd::gs_bcknd_t::gather_event = C_NULL_PTR
inherited

Definition at line 45 of file gs_bcknd.f90.

◆ gs_stream

type(c_ptr) gs_bcknd::gs_bcknd_t::gs_stream = C_NULL_PTR
inherited

Definition at line 47 of file gs_bcknd.f90.

◆ local_blk_len_d

type(c_ptr) gs_device::gs_device_t::local_blk_len_d = C_NULL_PTR

Dev. ptr local n-f blocks.

Definition at line 56 of file gs_device.F90.

◆ local_blk_off

integer, dimension(:), allocatable gs_device::gs_device_t::local_blk_off

Local block offset.

Definition at line 48 of file gs_device.F90.

◆ local_blk_off_d

type(c_ptr) gs_device::gs_device_t::local_blk_off_d = C_NULL_PTR

Dev. ptr local blk offset.

Definition at line 58 of file gs_device.F90.

◆ local_dof_gs_d

type(c_ptr) gs_device::gs_device_t::local_dof_gs_d = C_NULL_PTR

Dev. ptr local dof to gs map.

Definition at line 51 of file gs_device.F90.

◆ local_gs_d

type(c_ptr) gs_device::gs_device_t::local_gs_d = C_NULL_PTR

Dev. ptr local gs-ops.

Definition at line 50 of file gs_device.F90.

◆ local_gs_dof_d

type(c_ptr) gs_device::gs_device_t::local_gs_dof_d = C_NULL_PTR

Dev. ptr local gs to dof map.

Definition at line 52 of file gs_device.F90.

◆ nlocal

integer gs_device::gs_device_t::nlocal

Definition at line 60 of file gs_device.F90.

◆ nshared

integer gs_device::gs_device_t::nshared

Definition at line 61 of file gs_device.F90.

◆ scatter_event

type(c_ptr) gs_bcknd::gs_bcknd_t::scatter_event = C_NULL_PTR
inherited

Definition at line 46 of file gs_bcknd.f90.

◆ shared_blk_len_d

type(c_ptr) gs_device::gs_device_t::shared_blk_len_d = C_NULL_PTR

Dev. ptr shared n-f blocks.

Definition at line 57 of file gs_device.F90.

◆ shared_blk_off

integer, dimension(:), allocatable gs_device::gs_device_t::shared_blk_off

Shared block offset.

Definition at line 49 of file gs_device.F90.

◆ shared_blk_off_d

type(c_ptr) gs_device::gs_device_t::shared_blk_off_d = C_NULL_PTR

Dev. ptr shared blk offset.

Definition at line 59 of file gs_device.F90.

◆ shared_dof_gs_d

type(c_ptr) gs_device::gs_device_t::shared_dof_gs_d = C_NULL_PTR

Dev. ptr shrd dof to gs map.

Definition at line 54 of file gs_device.F90.

◆ shared_gs_d

type(c_ptr) gs_device::gs_device_t::shared_gs_d = C_NULL_PTR

Dev. ptr shared gs-ops.

Definition at line 53 of file gs_device.F90.

◆ shared_gs_dof_d

type(c_ptr) gs_device::gs_device_t::shared_gs_dof_d = C_NULL_PTR

Dev. ptr shrd gs to dof map.

Definition at line 55 of file gs_device.F90.

◆ shared_on_host

logical gs_device::gs_device_t::shared_on_host

Shared points are handled on host.

Definition at line 62 of file gs_device.F90.


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