Skip to content

Commit 28e9057

Browse files
authored
Merge pull request pmodels#7284 from hzhou/2501_yaksa
yaksa: move yaksa into mpich Approved-by: Ken Raffenetti
2 parents ad352f9 + e22101c commit 28e9057

File tree

190 files changed

+28258
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+28258
-14
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
path = modules/json-c
1212
url = https://github.com/pmodels/json-c
1313
branch = mpich/main
14-
[submodule "modules/yaksa"]
15-
path = modules/yaksa
16-
url = https://github.com/pmodels/yaksa
1714
[submodule "modules/mydef_boot"]
1815
path = modules/mydef_boot
1916
url = https://github.com/pmodels/mydef_boot

CHANGES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
# Rename MPIR_CVAR_DEBUG_PROGRESS_TIMEOUT to MPIR_CVAR_PROGRESS_TIMEOUT, and
88
enable it whether or not --enable-g=progress is used in configure.
99

10+
# MPICH now generates the MPI-IO bindings when ROMIO is build inside MPICH. It
11+
remains the same for using ROMIO outside MPICH.
12+
13+
# Yaksa is now maintained inside MPICH rather than as an external submodule.
14+
1015
===============================================================================
1116
Changes in 4.3
1217
===============================================================================

autogen.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@ set_externals() {
228228
fi
229229

230230
if [ "yes" = "$do_yaksa" ] ; then
231-
check_submodule_presence "modules/yaksa"
232-
externals="${externals} modules/yaksa"
231+
externals="${externals} src/mpi/datatype/typerep/yaksa"
233232
fi
234233
fi
235234
}
@@ -594,7 +593,7 @@ autogen_external() {
594593
if [ -d "$_dir" -o -L "$_dir" ] ; then
595594
echo "------------------------------------------------------------------------"
596595
echo "running third-party initialization in $_dir"
597-
if test "$_dir" = "modules/yaksa" -a -n "$yaksa_depth" ; then
596+
if test "$_dir" = "src/mpi/datatype/typerep/yaksa" -a -n "$yaksa_depth" ; then
598597
(cd $_dir && ./autogen.sh --pup-max-nesting=$yaksa_depth) || exit 1
599598
else
600599
(cd $_dir && ./autogen.sh) || exit 1

modules/yaksa

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/mpi/datatype/typerep/src/subconfigure.m4

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,21 @@ yaksalib=""
4343
AC_SUBST([yaksalib])
4444
4545
AM_COND_IF([BUILD_YAKSA_ENGINE], [
46-
m4_define([yaksa_embedded_dir],[modules/yaksa])
46+
m4_define([yaksa_embedded_dir],[src/mpi/datatype/typerep/yaksa])
4747
PAC_CHECK_HEADER_LIB_EXPLICIT([yaksa],[yaksa.h],[$YAKSALIBNAME],[yaksa_init])
4848
if test "$with_yaksa" = "embedded" ; then
49-
yaksalib="modules/yaksa/lib${YAKSALIBNAME}.la"
50-
if test ! -e "${use_top_srcdir}/modules/PREBUILT"; then
49+
yaksalib="yaksa_embedded_dir/lib${YAKSALIBNAME}.la"
50+
if test ! -e "${use_top_srcdir}/modules/PREBUILT-yaksa"; then
5151
PAC_PUSH_ALL_FLAGS()
5252
PAC_RESET_ALL_FLAGS()
5353
# no need for libtool versioning when embedding YAKSA
5454
yaksa_subdir_args="--enable-embedded"
55-
PAC_CONFIG_SUBDIR_ARGS([modules/yaksa],[$yaksa_subdir_args],[],[AC_MSG_ERROR(YAKSA configure failed)])
55+
PAC_CONFIG_SUBDIR_ARGS(yaksa_embedded_dir,[$yaksa_subdir_args],[],[AC_MSG_ERROR(YAKSA configure failed)])
5656
PAC_POP_ALL_FLAGS()
57-
yaksasrcdir="modules/yaksa"
57+
yaksasrcdir="yaksa_embedded_dir"
5858
fi
59-
PAC_APPEND_FLAG([-I${main_top_builddir}/modules/yaksa/src/frontend/include], [CPPFLAGS])
60-
PAC_APPEND_FLAG([-I${use_top_srcdir}/modules/yaksa/src/frontend/include], [CPPFLAGS])
59+
PAC_APPEND_FLAG(-I${main_top_builddir}/yaksa_embedded_dir/src/frontend/include, [CPPFLAGS])
60+
PAC_APPEND_FLAG(-I${use_top_srcdir}/yaksa_embedded_dir/src/frontend/include, [CPPFLAGS])
6161
fi
6262
])
6363
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Pull Request Description
2+
3+
<!--
4+
By submitting a PR, you are confirming that you have read and agree to
5+
the terms in the Yaksa contributor license agreement
6+
(https://github.com/pmodels/yaksa/wiki/Yaksa-Contributor-License-Agreement).
7+
-->
8+
9+
<!--
10+
Insert description of the work in this merge request (above this comment),
11+
particularly focused on _why_ the work is necessary, not _what_ you did.
12+
-->
13+
14+
<!-- AUTHOR: After creating this merge request, check off each of the following items as you complete them. -->
15+
16+
## Expected Impact
17+
18+
## Author Checklist
19+
* [ ] Reference appropriate issues (with "Fixes" or "See" as appropriate)
20+
* [ ] Commits are self-contained and do not do two things at once
21+
* [ ] Commit message is of the form: `module: short description` and follows [good practice](https://chris.beams.io/posts/git-commit/)
22+
* [ ] Add comments such that someone without knowledge of the code could understand
23+
* [ ] Have read and agree to the Yaksa CLA terms (https://github.com/pmodels/yaksa/wiki/Yaksa-Contributor-License-Agreement)
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# generic files
2+
.libs
3+
.tmp
4+
.deps
5+
.dirstamp
6+
Makefile
7+
Makefile.in
8+
aclocal.m4
9+
autom4te.cache
10+
config.log
11+
config.status
12+
configure
13+
stamp-h1
14+
libtool
15+
*~
16+
*.la
17+
*.lo
18+
*.o
19+
__pycache__
20+
21+
# m4 temporary files
22+
ar-lib
23+
compile
24+
config.guess
25+
config.sub
26+
depcomp
27+
install-sh
28+
libtool.m4
29+
ltmain.sh
30+
ltoptions.m4
31+
ltsugar.m4
32+
ltversion.m4
33+
lt~obsolete.m4
34+
missing
35+
36+
# directory specific files
37+
/Doxyfile
38+
/src/frontend/include/yaksa.h
39+
/src/frontend/include/yaksa_config.h
40+
/src/frontend/include/yaksa_config.h.in
41+
/maint/Version
42+
/maint/yaksa.pc
43+
/maint/yutils.pyc
44+
/README
45+
46+
# autogenerated files
47+
/src/backend/gencomm.pyc
48+
/src/backend/cuda/pup/Makefile.populate_pupfns.mk
49+
/src/backend/cuda/pup/Makefile.pup.mk
50+
/src/backend/cuda/pup/yaksuri_cudai_populate_pupfns*
51+
/src/backend/cuda/pup/yaksuri_cudai_pup.h
52+
/src/backend/cuda/pup/yaksuri_cudai_pup_*
53+
/src/backend/ze/pup/Makefile.populate_pupfns.mk
54+
/src/backend/ze/pup/Makefile.pup.mk
55+
/src/backend/ze/pup/yaksuri_zei_populate_pupfns*
56+
/src/backend/ze/pup/yaksuri_zei_pup.h
57+
/src/backend/ze/pup/yaksuri_zei_pup_*
58+
/src/backend/ze/pup/yaksuri_zei_pup_kernels.cl
59+
/src/backend/ze/pup/yaksuri_zei_pup_kernels.ll
60+
/src/backend/ze/pup/yaksuri_zei_pup_kernels.c
61+
/src/backend/ze/hooks/yaksuri_zei_init_kernels.c
62+
/src/backend/ze/hooks/yaksuri_zei_finalize_kernels.c
63+
/src/backend/hip/pup/Makefile.populate_pupfns.mk
64+
/src/backend/hip/pup/Makefile.pup.mk
65+
/src/backend/hip/pup/yaksuri_hipi_populate_pupfns*
66+
/src/backend/hip/pup/yaksuri_hipi_pup.h
67+
/src/backend/hip/pup/yaksuri_hipi_pup_*
68+
/src/backend/seq/pup/Makefile.populate_pupfns.mk
69+
/src/backend/seq/pup/Makefile.pup.mk
70+
/src/backend/seq/pup/yaksuri_seqi_populate_pupfns*
71+
/src/backend/seq/pup/yaksuri_seqi_pup.h
72+
/src/backend/seq/pup/yaksuri_seqi_pup_*
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
===============================================================================
2+
Changes in 0.3
3+
===============================================================================
4+
5+
# Default to detecting the CUDA device capabilities at configure
6+
time. If no device is found on the build system, build all "major"
7+
CUDA capabilities to cut down on build time and library size. (thanks
8+
to Jeff Hammond for contributing)
9+
10+
# Add support for mixed memory types (thanks to ParTec AG for
11+
contributing)
12+
13+
# Add HIP backend for stream APIs
14+
15+
# Add automatic HIP SM detection
16+
17+
# Add automatic CUDA SM detection
18+
19+
# Add support for user-specified CUDA compiler
20+
21+
# Add support in --ze-native option to compile for multiple devices
22+
23+
# Add support for --pup-max-nesting < 2 in genpup.py
24+
25+
# Add support for --ze-revision-id to pass to ocloc compiler
26+
27+
# Other bug fixes and code cleanup
28+
29+
===============================================================================
30+
Changes in 0.2
31+
===============================================================================
32+
33+
# Add support for reduction operations (e.g. sum, prod, min, max, ...)
34+
35+
# Add support for AMD GPUs via HIP backend
36+
37+
# Add "nogpu" info hint to avoid unnecessary pointer attribute queries
38+
39+
# Add stream-based pack/unpack APIs
40+
41+
# Add blocking pack/unpack APIs
42+
43+
# Add support for NVIDIA HPC SDK compilers
44+
45+
# Improve compile time for Level Zero kernels
46+
47+
# Extend tests to support subdevices (tiles) of Intel GPUs
48+
49+
# Many bug fixes and code cleanups
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Copyright (C) 2020, UChicago Argonne, LLC
2+
All Rights Reserved
3+
Software Name: Yaksa
4+
By: Argonne National Laboratory
5+
6+
OPEN SOURCE LICENSE
7+
8+
Redistribution and use in source and binary forms, with or without
9+
modification, are permitted provided that the following conditions are met:
10+
11+
1. Redistributions of source code must retain the above copyright
12+
notice, this list of conditions and the following disclaimer.
13+
14+
2. Redistributions in binary form must reproduce the above copyright
15+
notice, this list of conditions and the following disclaimer in the
16+
documentation and/or other materials provided with the
17+
distribution.
18+
19+
3. Neither the names of the copyright holder nor the names of its
20+
contributors may be used to endorse or promote products derived
21+
from this software without specific prior written permission.
22+
23+
24+
********************************************************************************
25+
DISCLAIMER
26+
27+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
28+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
29+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
30+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
31+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
32+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
33+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
34+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
35+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
36+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
37+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38+
39+
********************************************************************************
40+
41+
EXTERNAL CONTRIBUTIONS
42+
43+
Portions of this code have been contributed under the above license by:
44+
45+
* Intel Corporation
46+
* ParTec AG

0 commit comments

Comments
 (0)