Mikhail Brinskii
8e9d401938
OSHMEM/SMPL/UCX: Add real fence support
...
+ Add quiet method to SPML, so it can have different implementation with
fence.
+ Use ucp_worker_fence for spml_fence method of UCX SPML
Signed-off-by: Mikhail Brinskii <mikhailb@mellanox.com>
2018-05-25 22:43:06 +03:00
Geoff Paulsen
591b174434
Merge pull request #5003 from sam6258/shmem_free_fix
...
ompi/oshmem: fix shmem_free to perform no-op on null ptr
2018-04-30 12:03:24 -05:00
Scott Miller
a8766adb55
ompi/oshmem: fix shmem_free to perform no-op on null ptr
...
Signed-off-by: Scott Miller <scott.miller1@ibm.com>
2018-04-02 17:12:24 -04:00
Xin Zhao
4aad386c2b
ompi/oshmem: fix bug in shmem_finalize.
...
Signed-off-by: Xin Zhao <xinz@mellanox.com>
2018-04-02 09:07:59 -05:00
Alex Mikheev
292d185c30
oshmem: refactor group cache
...
- Use opal hash table instead of list for group lookup.
- Code cleanup/refactoring. Group cache is now a part
of the proc_group.
Signed-off-by: Alex Mikheev <alexm@mellanox.com>
2018-02-22 11:48:06 +02:00
Boris Karasev
f6818af1ab
oshmem: remove "shmem_broadcast" in accordance with the spec v1.3
...
Fixes: https://github.com/open-mpi/ompi/issues/4098
Signed-off-by: Boris Karasev <karasev.b@gmail.com>
2017-12-19 10:41:12 +02:00
Alex Mikheev
1b5df76f8b
oshmem: shmem_ptr() implementation
...
Signed-off-by: Alex Mikheev <alexm@mellanox.com>
2017-08-03 13:56:34 +03:00
Gilles Gouaillardet
af0b5cffb4
asm: rename the AMD64 into X86_64
...
in this context, AMD64 really means amd64 or em64t, so let's
rename this into X86_64 in order to avoid any confusion
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2017-02-27 15:10:50 +09:00
Alex Mikheev
d1723355d3
oshmem: memheap: removes find_offset
...
Reasons for removal are:
- the function is only used by the shmem_lock code
- only a subset of the function is used by the shmem_lock
- for the general case the function is not correct
Signed-off-by: Alex Mikheev <alexm@mellanox.com>
2016-11-21 16:09:17 +02:00
Alex Mikheev
48a7a0bbb9
oshmem: lock: call opal_progress only when busy waiting
...
Signed-off-by: Alex Mikheev <alexm@mellanox.com>
2016-11-10 11:27:24 +02:00
Alex Mikheev
7caa736533
OSHMEM: fixes potential deadlock in shmem_lock()
...
Signed-off-by: Alex Mikheev <alexm@mellanox.com>
2016-11-06 11:56:42 +02:00
Alex Mikheev
61bd59a369
OSHMEM: fixes addr_acessible()
...
check every possible transport
Signed-off-by: Alex Mikheev <alexm@mellanox.com>
2016-11-06 11:56:41 +02:00
Alex Mikheev
9a21392ec2
OSHMEM: v1.3: add C11 generics
...
add missing put*/get* functions. Move *put|get16 functions from shmemx.h to
shmem.h as required by 1.3 spec.
2016-09-25 16:43:00 +03:00
Alex Mikheev
3a034352fe
OSHMEM: v1.3: adds shmem_fetch and shmem_set AMOs
...
The commit adds atomic set and fetch functions as described in
oshmem 1.3 spec.
2016-09-25 12:03:42 +03:00
Gilles Gouaillardet
92dd719df1
oshmem: move finalization from the liboshmem destructor into oshmem_onexit()
...
so we can use the legacy start_pes even when Open MPI is compiled with
--enable-static or --disable-visibility
2016-09-21 09:21:26 +09:00
Igor Ivanov
75050b44a2
oshmem: Align OSHMEM API with spec v1.3 (extension api changes)
...
openshmem.org specification does not mention about extension api
but there is an agreemnet to do these changes for related ex api too.
see
Annex G:
Version 1.3
Added const to every read-only pointer argument
2016-04-18 19:38:16 +03:00
Igor Ivanov
157f81b699
oshmem: Align OSHMEM API with spec v1.3 (Added const to every read-only pointer argument)
...
Annex G:
Version 1.3
Added const to every read-only pointer argument
2016-04-18 19:25:31 +03:00
Igor Ivanov
c02d0b7161
oshmem: Align OSHMEM API with spec v1.3 (shmem_lock change signature)
...
Annex G:
Version 1.3
Added volatile to remotely accessible pointer argument in
SHMEM_LOCK
See Sections 8.9.1
2016-04-18 19:25:18 +03:00
Igor Ivanov
a52b0797fc
oshmem: Align OSHMEM API with spec v1.3 (shmem_wait change signature)
...
Annex G:
Version 1.3
Added volatile to remotely accessible pointer argument in SHMEM_WAIT
See Sections 8.7.1
2016-04-18 19:24:55 +03:00
Mike Dubman
1d8fbfefb0
Merge pull request #1478 from igor-ivanov/pr/oshmem-v1.3-alltoall
...
oshmem: Add alltoall
2016-03-22 07:51:36 +02:00
Igor Ivanov
1bed5d8aee
oshmem: Align OSHMEM API with spec v1.3 (update scoll/basic)
2016-03-21 11:46:01 +02:00
Igor Ivanov
bd6eaac561
oshmem: Align OSHMEM API with spec v1.3 (Add alltoall C function)
2016-03-21 10:43:43 +02:00
Igor Ivanov
abe7ba5720
oshmem: Align OSHMEM API with spec v1.3 (Add nonblocking put/get C functions)
2016-03-15 14:05:00 +02:00
Igor Ivanov
9d1e09b42b
oshmem: Align OSHMEM API with spec v1.2 (fix ISO C99 warning for variadic macro)
2015-11-27 14:23:06 +02:00
Igor Ivanov
56214eb295
oshmem: Align OSHMEM API with spec v1.2 (rename extensions to shmemx_)
2015-11-24 18:58:28 +02:00
Igor Ivanov
2dc2159b4c
oshmem: Align OSHMEM API with spec v1.2 (add new functions)
2015-11-24 18:21:08 +02:00
Igor Ivanov
9942dfdabf
oshmem: Align OSHMEM API with spec v1.2 (modify existing functions)
...
Several functions are moved from to shmem-compat.h to shmem.h and
back.
2015-11-24 18:21:07 +02:00
Alex Mikheev
b020b628fc
oshmem/memheap: optimized mkey lookup.
...
Fast path lookup is done in inline funcion.
2015-10-20 19:45:51 +03:00
Igor Ivanov
e46e04792b
oshmem: Move help file for oshmem api one level up to
...
meet ompi structure
Signed-off-by: Igor Ivanov <Igor.Ivanov@itseez.com>
2015-08-25 12:52:34 +03:00
Ralph Castain
869041f770
Purge whitespace from the repo
2015-06-23 20:59:57 -07:00
Gilles Gouaillardet
11e11e1be9
initialize common symbols from oshmem
2015-05-08 10:11:58 +09:00
Devendar Bureddy
8dfed1c657
oshmem: rename global variables with prefix
2014-10-15 20:30:37 +03:00
Devendar Bureddy
cbb3e95ce9
OSHMEM: Fix application abort
...
register on_exit() hook to know exit status inorder to
skip shmem_finalize destructor in case of non-zero exit status
2014-10-14 21:07:28 +03:00
Alex Mikheev
067fa05209
OSHMEM: fixes bug in shmem_lock
...
Lock server pe computation was incorrect in cases when:
lock virtual address is signed long. In this case negative pe
value was returned.
In case when lock has different virtual adresses on different pes.
It can happen when memheap or static segment have different base
addresses. Use offset instead of absolute virtual address to
compute server pe
Fixed by @alex-mikheev, reviewed by @miked-mellanox
2014-10-05 09:31:03 +03:00
Alina Sklarevich
e974bec57e
OSHMEM: fix check-help-string.pl errors and warnings.
...
This commit was SVN r32511.
2014-08-12 11:30:14 +00:00
Mike Dubman
5d76d30550
OSHMEM: add missing prototypes and remove unused functions
...
fixed by Roman, reviewed by MikeD
cmr=v1.8.2:reviewer=ompi-rm1.8
This commit was SVN r31819.
2014-05-19 13:34:53 +00:00
Mike Dubman
644aa6f737
OSHMEM: add missing profiling API for shmem_finalize
...
fixed by Roman, reviewed by Miked
cmr=v1.8.2:reviewer=ompi-rm1.8
This commit was SVN r31751.
2014-05-14 13:13:30 +00:00
Ralph Castain
11faab1091
The final step of the RFC: convert the <foo>libdir and friends to fit their respective code areas, and equate them all at the top. Note that we can't entirely separate things as the opal_install_dirs framework can't handle separated locations for the various trees.
...
This commit was SVN r31679.
2014-05-08 02:01:35 +00:00
Ralph Castain
27faf2684a
Update architecture names in OSHMEM branch
...
This commit was SVN r31673.
2014-05-07 14:40:49 +00:00
Mike Dubman
ff42999037
OSHMEM: Added missing API for Java bindings (int16/32/64 stuff)
...
fixed by Roman, reviewed by Mike
cmr=v1.8.2:reviewer=ompi-rm1.8
This commit was SVN r31564.
2014-04-30 12:03:23 +00:00
Mike Dubman
0cba0b95b8
OSHMEM: fortran profiling API added
...
for spec compliance
fixed by Roman, reviewed by Igor/Miked
cmr=v1.8.2:reviewer=ompi-rm1.8
This commit was SVN r31510.
2014-04-23 18:56:37 +00:00
Mike Dubman
18f9a282d5
OSHMEM: fix clang warnings
...
fixed by Roman, reviewed by Miked
cmr=v1.8.2:reviewer=ompi-rm1.8
This commit was SVN r31486.
2014-04-22 16:49:20 +00:00
Mike Dubman
faaaac3194
OSHMEM: compilation fix for pathscale 5.0 and pshmem API
...
fixed by Roman, reviewed by Igor/Mike
cmr=v1.8.2:reviewer=ompi-rm1.8
This commit was SVN r31450.
2014-04-19 05:09:07 +00:00
Mike Dubman
f9e813a003
OSHMEM: revert r31412, it did not pass jenkins
...
This commit was SVN r31414.
The following SVN revision numbers were found above:
r31412 --> open-mpi/ompi@b0ade11ae4
2014-04-16 20:00:34 +00:00
Mike Dubman
b354dc92f2
OSHMEM: align with OSHMEM SPEC v1.0
...
- add some missing APIs
- change signature od shmem_finalize to comply with SGI spec
fixed by Roman, reviewed by Igor/Miked
Refs trac:4520
This commit was SVN r31413.
The following Trac tickets were found above:
Ticket 4520 --> https://svn.open-mpi.org/trac/ompi/ticket/4520
2014-04-16 18:01:17 +00:00
Mike Dubman
b0ade11ae4
OSHMEM: fix compilation error with pathscale
...
Thanks to Ake Sandgren for patch
reviewed by Roman/Miked
cmr=v1.8.1:reviewer=ompi-rm1.8
This commit was SVN r31412.
2014-04-16 17:58:22 +00:00
Mike Dubman
a3f83616fc
OSHMEM: align profiling interface with SPEC 1.0
...
Now we should be full compliant to OSHMEM SPEC 1.0
fixed by Roman reviewed by Miked
cmr=v1.8.1:reviewer=ompi-rm1.8
This commit was SVN r31390.
2014-04-14 20:51:06 +00:00
Mike Dubman
db44e23f72
OSHMEM: fix profiling API compilation
...
Refs trac:4495
This commit was SVN r31334.
The following Trac tickets were found above:
Ticket 4495 --> https://svn.open-mpi.org/trac/ompi/ticket/4495
2014-04-08 10:48:10 +00:00
Mike Dubman
b20de8ae34
OSHMEM: add support for profiling API
...
use weak symbols, based on http://www.open-mpi.org/community/lists/devel/2014/03/14429.php
fixed by Roman, reviewed by Igor/Miked
cmr=v1.8.1:reviewer=ompi-rm1.8
This commit was SVN r31330.
2014-04-07 22:55:21 +00:00
Jeff Squyres
173c046617
build: add Automake-like silent/verbose macros for "ln -s ..." operations
...
Also, since I put some of the macros for these silent/verbose rules up
in the top-level Makefile.man-page-rules file, I renamed it to
Makefile.ompi-rules.
I've had this sitting around for a while; now seems like as good a
time as any to commit it.
This commit was SVN r31271.
2014-03-28 18:24:32 +00:00