2013-09-10 19:34:09 +04:00
|
|
|
! Emacs: -*- mode: fortran; -*-
|
|
|
|
!
|
|
|
|
! Copyright (c) 2013 Mellanox Technologies, Inc.
|
|
|
|
! All rights reserved.
|
2014-02-11 05:36:26 +04:00
|
|
|
! Copyright (c) 2014 Cisco Systems, Inc. All rights reserved.
|
2013-09-10 19:34:09 +04:00
|
|
|
! $COPYRIGHT$
|
|
|
|
!
|
|
|
|
! Additional copyrights may follow
|
|
|
|
!
|
|
|
|
! $HEADER$
|
|
|
|
!
|
|
|
|
|
|
|
|
!
|
|
|
|
! TODO: exact values should be found during configuration
|
|
|
|
!
|
|
|
|
|
|
|
|
integer SHMEM_BARRIER_SYNC_SIZE
|
|
|
|
parameter ( SHMEM_BARRIER_SYNC_SIZE = 4 )
|
|
|
|
|
|
|
|
integer SHMEM_BCAST_SYNC_SIZE
|
|
|
|
parameter ( SHMEM_BCAST_SYNC_SIZE = 8 )
|
|
|
|
|
|
|
|
|
|
|
|
integer SHMEM_COLLECT_SYNC_SIZE
|
|
|
|
parameter ( SHMEM_COLLECT_SYNC_SIZE = 8 )
|
|
|
|
|
|
|
|
integer SHMEM_REDUCE_SYNC_SIZE
|
|
|
|
parameter ( SHMEM_REDUCE_SYNC_SIZE = 8 )
|
|
|
|
|
|
|
|
integer SHMEM_SYNC_VALUE
|
|
|
|
parameter ( SHMEM_SYNC_VALUE = -1 )
|
|
|
|
|
|
|
|
integer SHMEM_REDUCE_MIN_WRKDATA_SIZE
|
|
|
|
parameter ( SHMEM_REDUCE_MIN_WRKDATA_SIZE = 8 )
|
|
|
|
|
2015-06-24 06:59:57 +03:00
|
|
|
!
|
2013-09-10 19:34:09 +04:00
|
|
|
! waits
|
2015-06-24 06:59:57 +03:00
|
|
|
!
|
2013-09-10 19:34:09 +04:00
|
|
|
integer SHMEM_CMP_EQ
|
|
|
|
parameter ( SHMEM_CMP_EQ = 0 )
|
|
|
|
integer SHMEM_CMP_NE
|
|
|
|
parameter ( SHMEM_CMP_NE = 1 )
|
|
|
|
integer SHMEM_CMP_GT
|
|
|
|
parameter ( SHMEM_CMP_GT = 2 )
|
|
|
|
integer SHMEM_CMP_LE
|
|
|
|
parameter ( SHMEM_CMP_LE = 3 )
|
|
|
|
integer SHMEM_CMP_LT
|
|
|
|
parameter ( SHMEM_CMP_LT = 4 )
|
|
|
|
integer SHMEM_CMP_GE
|
|
|
|
parameter ( SHMEM_CMP_GE = 5 )
|
|
|
|
|
|
|
|
logical shmem_pe_accessible
|
|
|
|
logical shmem_addr_accessible
|
|
|
|
|
|
|
|
integer*8 shmem_ptr
|