allocation_s Submodule


Uses

  • module~~allocation_s~~UsesGraph module~allocation_s allocation_s iso_c_binding iso_c_binding module~allocation_s->iso_c_binding module~prif_private_s prif_private_s module~allocation_s->module~prif_private_s module~prif prif module~prif_private_s->module~prif module~prif->iso_c_binding

Contents


Subroutines

subroutine add_to_team_list(coarray_handle)

Arguments

TypeIntentOptionalAttributesName
type(prif_coarray_handle), intent(in) :: coarray_handle

subroutine remove_from_team_list(coarray_handle)

Arguments

TypeIntentOptionalAttributesName
type(prif_coarray_handle), intent(in) :: coarray_handle

Module Procedures

module procedure prif_allocate module module subroutine prif_allocate(size_in_bytes, allocated_memory, stat, errmsg, errmsg_alloc)

Arguments

TypeIntentOptionalAttributesName
integer(kind=c_size_t) :: size_in_bytes
type(c_ptr), intent(out) :: allocated_memory
integer(kind=c_int), intent(out), optional :: stat
character(len=*), intent(inout), optional :: errmsg
character(len=:), intent(inout), optional allocatable:: errmsg_alloc

module procedure prif_allocate_coarray module module subroutine prif_allocate_coarray(lcobounds, ucobounds, size_in_bytes, final_func, coarray_handle, allocated_memory, stat, errmsg, errmsg_alloc)

Arguments

TypeIntentOptionalAttributesName
integer(kind=c_int64_t), intent(in), dimension(:):: lcobounds
integer(kind=c_int64_t), intent(in), dimension(:):: ucobounds
integer(kind=c_size_t), intent(in) :: size_in_bytes
type(c_funptr), intent(in) :: final_func
type(prif_coarray_handle), intent(out) :: coarray_handle
type(c_ptr), intent(out) :: allocated_memory
integer(kind=c_int), intent(out), optional :: stat
character(len=*), intent(inout), optional :: errmsg
character(len=:), intent(inout), optional allocatable:: errmsg_alloc

module procedure prif_deallocate module module subroutine prif_deallocate(mem, stat, errmsg, errmsg_alloc)

Arguments

TypeIntentOptionalAttributesName
type(c_ptr), intent(in) :: mem
integer(kind=c_int), intent(out), optional :: stat
character(len=*), intent(inout), optional :: errmsg
character(len=:), intent(inout), optional allocatable:: errmsg_alloc

module procedure prif_deallocate_coarray module module subroutine prif_deallocate_coarray(coarray_handles, stat, errmsg, errmsg_alloc)

Arguments

TypeIntentOptionalAttributesName
type(prif_coarray_handle), intent(in) :: coarray_handles(:)
integer(kind=c_int), intent(out), optional :: stat
character(len=*), intent(inout), optional :: errmsg
character(len=:), intent(inout), optional allocatable:: errmsg_alloc