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

Associate a Fortran array to a (allocated) device pointer. More...

Public Member Functions

subroutine device_associate_r1 (x, x_d)
 Associate a Fortran rank 1 array to a (allocated) device pointer. More...
 
subroutine device_associate_r2 (x, x_d)
 Associate a Fortran rank 2 array to a (allocated) device pointer. More...
 
subroutine device_associate_r3 (x, x_d)
 Associate a Fortran rank 3 array to a (allocated) device pointer. More...
 
subroutine device_associate_r4 (x, x_d)
 Associate a Fortran rank 4 array to a (allocated) device pointer. More...
 

Detailed Description

Associate a Fortran array to a (allocated) device pointer.

Definition at line 63 of file device.F90.

Member Function/Subroutine Documentation

◆ device_associate_r1()

subroutine device::device_associate::device_associate_r1 ( class(*), dimension(:), intent(inout), target  x,
type(c_ptr), intent(inout)  x_d 
)

Associate a Fortran rank 1 array to a (allocated) device pointer.

Definition at line 468 of file device.F90.

◆ device_associate_r2()

subroutine device::device_associate::device_associate_r2 ( class(*), dimension(:,:), intent(inout), target  x,
type(c_ptr), intent(inout)  x_d 
)

Associate a Fortran rank 2 array to a (allocated) device pointer.

Definition at line 493 of file device.F90.

◆ device_associate_r3()

subroutine device::device_associate::device_associate_r3 ( class(*), dimension(:,:,:), intent(inout), target  x,
type(c_ptr), intent(inout)  x_d 
)

Associate a Fortran rank 3 array to a (allocated) device pointer.

Definition at line 518 of file device.F90.

◆ device_associate_r4()

subroutine device::device_associate::device_associate_r4 ( class(*), dimension(:,:,:,:), intent(inout), target  x,
type(c_ptr), intent(inout)  x_d 
)

Associate a Fortran rank 4 array to a (allocated) device pointer.

Definition at line 543 of file device.F90.


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