allocate_data_cuda Module

Controls allocation of CUDA data


Contents


Interfaces

interface

  • public function allocate_managed_memory_double(n) bind(c, name='allocate_managed_memory_double')

    Arguments

    Type IntentOptional Attributes Name
    integer :: n

    Return Value type(c_ptr)

interface

  • public function allocate_managed_memory_int(n) bind(c, name='allocate_managed_memory_int')

    Arguments

    Type IntentOptional Attributes Name
    integer :: n

    Return Value type(c_ptr)


Subroutines

public subroutine allocate_memory_double(a, is1, ie1)

Arguments

Type IntentOptional Attributes Name
double precision, intent(inout), dimension(:), pointer :: a
integer, intent(in) :: is1
integer, intent(in) :: ie1

public subroutine allocate_memory_int(a, is1, ie1)

Arguments

Type IntentOptional Attributes Name
integer, intent(inout), dimension(:), pointer :: a
integer, intent(in) :: is1
integer, intent(in) :: ie1