SHAREDMEM_MOD Module


Uses

  • module~~sharedmem_mod~2~~UsesGraph module~sharedmem_mod~2 SHAREDMEM_MOD iso_c_binding iso_c_binding module~sharedmem_mod~2->iso_c_binding

Interfaces

public interface SHAREDMEM_ASSOCIATE

  • private subroutine SHAREDMEM_ASSOCIATE0_INT32(HANDLE, VALUE, ADVANCE)

    Arguments

    Type IntentOptional Attributes Name
    type(SHAREDMEM), intent(inout) :: HANDLE
    integer(kind=C_INT), intent(out) :: VALUE
    logical, intent(in), optional :: ADVANCE
  • private subroutine SHAREDMEM_ASSOCIATE0_REAL32(HANDLE, VALUE, ADVANCE)

    Arguments

    Type IntentOptional Attributes Name
    type(SHAREDMEM), intent(inout) :: HANDLE
    real(kind=C_FLOAT), intent(out) :: VALUE
    logical, intent(in), optional :: ADVANCE
  • private subroutine SHAREDMEM_ASSOCIATE0_REAL64(HANDLE, VALUE, ADVANCE)

    Arguments

    Type IntentOptional Attributes Name
    type(SHAREDMEM), intent(inout) :: HANDLE
    real(kind=C_DOUBLE), intent(out) :: VALUE
    logical, intent(in), optional :: ADVANCE
  • private subroutine SHAREDMEM_ASSOCIATE1_INT32(HANDLE, SIZE, FPTR, ADVANCE)

    Arguments

    Type IntentOptional Attributes Name
    type(SHAREDMEM), intent(inout) :: HANDLE
    integer(kind=C_INT), intent(in) :: SIZE
    integer(kind=C_INT), intent(inout), POINTER :: FPTR(:)
    logical, intent(in), optional :: ADVANCE
  • private subroutine SHAREDMEM_ASSOCIATE1_REAL32(HANDLE, SIZE, FPTR, ADVANCE)

    Arguments

    Type IntentOptional Attributes Name
    type(SHAREDMEM), intent(inout) :: HANDLE
    integer(kind=C_INT), intent(in) :: SIZE
    real(kind=C_FLOAT), intent(inout), POINTER :: FPTR(:)
    logical, intent(in), optional :: ADVANCE
  • private subroutine SHAREDMEM_ASSOCIATE1_REAL64(HANDLE, SIZE, FPTR, ADVANCE)

    Arguments

    Type IntentOptional Attributes Name
    type(SHAREDMEM), intent(inout) :: HANDLE
    integer(kind=C_INT), intent(in) :: SIZE
    real(kind=C_DOUBLE), intent(inout), POINTER :: FPTR(:)
    logical, intent(in), optional :: ADVANCE
  • private subroutine SHAREDMEM_ASSOCIATE2_INT32(HANDLE, DIM1, DIM2, FPTR, ADVANCE)

    Arguments

    Type IntentOptional Attributes Name
    type(SHAREDMEM), intent(inout) :: HANDLE
    integer(kind=C_INT), intent(in) :: DIM1
    integer(kind=C_INT), intent(in) :: DIM2
    integer(kind=C_INT), intent(inout), POINTER :: FPTR(:,:)
    logical, intent(in), optional :: ADVANCE
  • private subroutine SHAREDMEM_ASSOCIATE2_REAL32(HANDLE, DIM1, DIM2, FPTR, ADVANCE)

    Arguments

    Type IntentOptional Attributes Name
    type(SHAREDMEM), intent(inout) :: HANDLE
    integer(kind=C_INT), intent(in) :: DIM1
    integer(kind=C_INT), intent(in) :: DIM2
    real(kind=C_FLOAT), intent(inout), POINTER :: FPTR(:,:)
    logical, intent(in), optional :: ADVANCE
  • private subroutine SHAREDMEM_ASSOCIATE2_REAL64(HANDLE, DIM1, DIM2, FPTR, ADVANCE)

    Arguments

    Type IntentOptional Attributes Name
    type(SHAREDMEM), intent(inout) :: HANDLE
    integer(kind=C_INT), intent(in) :: DIM1
    integer(kind=C_INT), intent(in) :: DIM2
    real(kind=C_DOUBLE), intent(inout), POINTER :: FPTR(:,:)
    logical, intent(in), optional :: ADVANCE

interface

  • public subroutine SHAREDMEM_MALLOC_BYTES(PTR, BYTES) bind(C)

    Arguments

    Type IntentOptional Attributes Name
    type(C_PTR) :: PTR
    integer(kind=C_SIZE_T), VALUE :: BYTES

Derived Types

type, public, BIND(C) ::  SHAREDMEM


Subroutines

public subroutine SHAREDMEM_CREATE(HANDLE, CPTR, BYTES)

Arguments

Type IntentOptional Attributes Name
type(SHAREDMEM), intent(out) :: HANDLE
type(C_PTR), intent(in) :: CPTR
integer(kind=C_SIZE_T), intent(in) :: BYTES

public subroutine SHAREDMEM_ALLOCATE(HANDLE, BYTES)

Arguments

Type IntentOptional Attributes Name
type(SHAREDMEM), intent(out) :: HANDLE
integer(kind=C_SIZE_T), intent(in) :: BYTES

public subroutine SHAREDMEM_DELETE(HANDLE)

Arguments

Type IntentOptional Attributes Name
type(SHAREDMEM), intent(out) :: HANDLE

public subroutine SHAREDMEM_ADVANCE(HANDLE, BYTES)

Arguments

Type IntentOptional Attributes Name
type(SHAREDMEM), intent(inout) :: HANDLE
integer(kind=C_INT), intent(in) :: BYTES