From 01bab9fee9f73620e754b23357a91f87131d21ce Mon Sep 17 00:00:00 2001 From: Arthi Nagarajan Date: Tue, 22 Aug 2023 11:18:41 -0500 Subject: [PATCH] Intel(R) MPI Benchmarks 2021.7 release --- Makefile | 69 +++----- Makefile_win | 69 +++----- README.md | 35 +++- ReadMe_IMB.txt | 16 +- WINDOWS/IMB-EXT_VS_2017/IMB-EXT.rc | 8 +- WINDOWS/IMB-IO_VS_2017/IMB-IO.rc | 8 +- WINDOWS/IMB-MPI1_VS_2017/IMB-MPI1.rc | 8 +- WINDOWS/IMB-MT_VS_2017/IMB-MT.rc | 8 +- WINDOWS/IMB-NBC_VS_2017/IMB-NBC.rc | 8 +- WINDOWS/IMB-P2P_VS_2017/IMB-P2P.rc | 8 +- WINDOWS/IMB-RMA_VS_2017/IMB-RMA.rc | 8 +- src_c/IMB_2018.c | 75 +++----- src_c/IMB_allgather.c | 75 +++----- src_c/IMB_allgatherv.c | 75 +++----- src_c/IMB_allreduce.c | 76 +++----- src_c/IMB_alltoall.c | 75 +++----- src_c/IMB_alltoallv.c | 75 +++----- src_c/IMB_appl_errors.h | 75 +++----- src_c/IMB_bandwidth.c | 75 +++----- src_c/IMB_barrier.c | 75 +++----- src_c/IMB_bcast.c | 75 +++----- src_c/IMB_benchlist.c | 75 +++----- src_c/IMB_benchmark.h | 75 +++----- src_c/IMB_bnames_ext.h | 75 +++----- src_c/IMB_bnames_io.h | 69 +++----- src_c/IMB_bnames_mpi1.h | 75 +++----- src_c/IMB_bnames_nbc.h | 75 +++----- src_c/IMB_bnames_rma.h | 75 +++----- src_c/IMB_cache.h | 69 +++----- src_c/IMB_chk_diff.c | 75 +++----- src_c/IMB_comm_info.h | 75 +++----- src_c/IMB_comments.h | 75 +++----- src_c/IMB_cpu_exploit.c | 75 +++----- src_c/IMB_cuda.c | 169 ++++++++++++++++++ src_c/IMB_cuda.h | 86 +++++++++ src_c/IMB_cuda_api.c | 101 +++++++++++ src_c/IMB_cuda_api.h | 80 +++++++++ src_c/IMB_declare.c | 75 +++----- src_c/IMB_declare.h | 75 +++----- src_c/IMB_err_check.h | 75 +++----- src_c/IMB_err_handler.c | 75 +++----- src_c/IMB_exchange.c | 75 +++----- src_c/IMB_g_info.c | 79 ++++----- src_c/IMB_gather.c | 75 +++----- src_c/IMB_gatherv.c | 75 +++----- src_c/IMB_gpu_common.c | 82 +++++++++ src_c/IMB_gpu_common.h | 76 ++++++++ src_c/IMB_init.c | 75 +++----- src_c/IMB_init_file.c | 75 +++----- src_c/IMB_init_transfer.c | 75 +++----- src_c/IMB_input.txt | 2 +- src_c/IMB_l0.c | 225 ------------------------ src_c/IMB_l0.h | 75 -------- src_c/IMB_mem_info.h | 75 +++----- src_c/IMB_mem_manager.c | 107 +++++------ src_c/IMB_ones_accu.c | 75 +++----- src_c/IMB_ones_bidir.c | 75 +++----- src_c/IMB_ones_unidir.c | 75 +++----- src_c/IMB_open_close.c | 75 +++----- src_c/IMB_output.c | 75 +++----- src_c/IMB_parse_name_ext.c | 75 +++----- src_c/IMB_parse_name_io.c | 75 +++----- src_c/IMB_parse_name_mpi1.c | 75 +++----- src_c/IMB_parse_name_nbc.c | 75 +++----- src_c/IMB_parse_name_rma.c | 75 +++----- src_c/IMB_pingping.c | 75 +++----- src_c/IMB_pingpong.c | 75 +++----- src_c/IMB_prototypes.h | 84 ++++----- src_c/IMB_read.c | 75 +++----- src_c/IMB_reduce.c | 75 +++----- src_c/IMB_reduce_local.c | 75 +++----- src_c/IMB_reduce_scatter.c | 75 +++----- src_c/IMB_reduce_scatter_block.c | 75 +++----- src_c/IMB_rma_atomic.c | 75 +++----- src_c/IMB_rma_get.c | 75 +++----- src_c/IMB_rma_put.c | 75 +++----- src_c/IMB_scatter.c | 75 +++----- src_c/IMB_scatterv.c | 75 +++----- src_c/IMB_sendrecv.c | 75 +++----- src_c/IMB_settings.h | 75 +++----- src_c/IMB_settings_io.h | 75 +++----- src_c/IMB_strgs.c | 75 +++----- src_c/IMB_user_set_info.c | 75 +++----- src_c/IMB_utils.c | 75 +++----- src_c/IMB_warm_up.c | 75 +++----- src_c/IMB_window.c | 75 +++----- src_c/IMB_write.c | 75 +++----- src_c/IMB_ze.c | 184 +++++++++++++++++++ src_c/IMB_ze.h | 87 +++++++++ src_c/IMB_ze_api.c | 111 ++++++++++++ src_c/IMB_ze_api.h | 90 ++++++++++ src_c/Makefile | 69 +++----- src_c/Makefile_win | 69 +++----- src_c/P2P/Makefile | 67 +++---- src_c/P2P/imb_p2p.c | 68 +++---- src_c/P2P/imb_p2p.h | 71 +++----- src_c/P2P/imb_p2p_birandom.c | 65 +++---- src_c/P2P/imb_p2p_corandom.c | 65 +++---- src_c/P2P/imb_p2p_pingping.c | 65 +++---- src_c/P2P/imb_p2p_pingpong.c | 65 +++---- src_c/P2P/imb_p2p_sendrecv_replace.c | 65 +++---- src_c/P2P/imb_p2p_stencil2d.c | 65 +++---- src_c/P2P/imb_p2p_stencil3d.c | 65 +++---- src_c/P2P/imb_p2p_unirandom.c | 65 +++---- src_cpp/EXT/EXT_benchmark.cpp | 80 ++++----- src_cpp/EXT/EXT_suite.cpp | 80 ++++----- src_cpp/EXT/Makefile.EXT.mk | 69 +++----- src_cpp/EXT/Makefile_win.EXT.mk | 69 +++----- src_cpp/HALO/Makefile.HALO.mk | 69 +++----- src_cpp/HALO/halo_benchmark.cpp | 80 ++++----- src_cpp/HALO/halo_benchmark.h | 72 +++----- src_cpp/HALO/halo_suite.cpp | 80 ++++----- src_cpp/IO/IO_benchmark.cpp | 80 ++++----- src_cpp/IO/IO_suite.cpp | 80 ++++----- src_cpp/IO/Makefile.IO.mk | 69 +++----- src_cpp/IO/Makefile_win.IO.mk | 69 +++----- src_cpp/MPI1/MPI1_benchmark.cpp | 80 ++++----- src_cpp/MPI1/MPI1_suite.cpp | 81 ++++----- src_cpp/MPI1/Makefile.MPI1.mk | 91 +++++----- src_cpp/MPI1/Makefile_win.MPI1.mk | 69 +++----- src_cpp/MT/MT_benchmark.cpp | 80 ++++----- src_cpp/MT/MT_benchmark.h | 80 ++++----- src_cpp/MT/MT_suite.cpp | 82 ++++----- src_cpp/MT/MT_types.h | 72 +++----- src_cpp/MT/Makefile.MT.mk | 70 +++----- src_cpp/MT/Makefile_win.MT.mk | 69 +++----- src_cpp/Makefile | 69 +++----- src_cpp/Makefile_win | 69 +++----- src_cpp/NBC/Makefile.NBC.mk | 71 +++----- src_cpp/NBC/Makefile_win.NBC.mk | 69 +++----- src_cpp/NBC/NBC_benchmark.cpp | 80 ++++----- src_cpp/NBC/NBC_suite.cpp | 80 ++++----- src_cpp/RMA/Makefile.RMA.mk | 70 +++----- src_cpp/RMA/Makefile_win.RMA.mk | 69 +++----- src_cpp/RMA/RMA_benchmark.cpp | 80 ++++----- src_cpp/RMA/RMA_suite.cpp | 80 ++++----- src_cpp/any.h | 72 +++----- src_cpp/args_parser.cpp | 80 ++++----- src_cpp/args_parser.h | 78 ++++---- src_cpp/args_parser_utests.cpp | 70 +++----- src_cpp/benchmark.h | 70 +++----- src_cpp/benchmark_suite.h | 72 +++----- src_cpp/benchmark_suite_base.h | 80 ++++----- src_cpp/benchmark_suites_collection.cpp | 80 ++++----- src_cpp/benchmark_suites_collection.h | 72 +++----- src_cpp/example/Makefile.example.mk | 69 +++----- src_cpp/example/example_benchmark1.cpp | 72 +++----- src_cpp/example/example_benchmark2.cpp | 72 +++----- src_cpp/example/example_benchmark3.cpp | 72 +++----- src_cpp/example/example_benchmark4.cpp | 80 ++++----- src_cpp/example/example_benchmark5.cpp | 72 +++----- src_cpp/helpers/Makefile.helpers.mk | 70 +++----- src_cpp/helpers/Makefile_win.helpers.mk | 71 +++----- src_cpp/helpers/helper_IMB_functions.h | 80 ++++----- src_cpp/helpers/original_benchmark.h | 80 ++++----- src_cpp/imb.cpp | 82 ++++----- src_cpp/scope.cpp | 80 ++++----- src_cpp/scope.h | 80 ++++----- src_cpp/smart_ptr.h | 72 +++----- src_cpp/utils.h | 72 +++----- 160 files changed, 5081 insertions(+), 6661 deletions(-) create mode 100644 src_c/IMB_cuda.c create mode 100644 src_c/IMB_cuda.h create mode 100644 src_c/IMB_cuda_api.c create mode 100644 src_c/IMB_cuda_api.h create mode 100644 src_c/IMB_gpu_common.c create mode 100644 src_c/IMB_gpu_common.h delete mode 100644 src_c/IMB_l0.c delete mode 100644 src_c/IMB_l0.h create mode 100644 src_c/IMB_ze.c create mode 100644 src_c/IMB_ze.h create mode 100644 src_c/IMB_ze_api.c create mode 100644 src_c/IMB_ze_api.h diff --git a/Makefile b/Makefile index 50556bf3..b44fbb9e 100644 --- a/Makefile +++ b/Makefile @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/Makefile_win b/Makefile_win index 3fe5b244..e2f5cecf 100644 --- a/Makefile_win +++ b/Makefile_win @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/README.md b/README.md index 5b9a9356..550f8729 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Intel(R) MPI Benchmarks -[![Common Public License Version 1.0](https://img.shields.io/badge/license-Common%20Public%20License%20Version%201.0-green.svg)](license/license.txt) -![v2021.3](https://img.shields.io/badge/v.2021.3-Update-orange.svg) +[![3-Clause BSD License](https://img.shields.io/badge/license-3%20Clause%20BSD%20License-green.svg)](license/license.txt) +![v2021.7](https://img.shields.io/badge/v.2021.7-Update-orange.svg) -------------------------------------------------- -------- @@ -26,7 +26,7 @@ command line using one executable file. Use command-line parameters to specify various settings, such as time measurement, message lengths, and selection of communicators. For details, see the Intel(R) MPI Benchmarks User's Guide located at: -https://software.intel.com/en-us/imb-user-guide. +https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html By default, Intel(R) MPI Benchmarks is installed at: - C:\Program Files (x86)\IntelSWTools\imb on Windows* OS @@ -63,6 +63,25 @@ files and folders appear on your system: ---------- What's New ---------- +New in Intel(R) MPI Benchmarks 2021.7 +---------------------------------------- +- IMB-MPI1-GPU benchmark. + Dinamically loading from LD_LIBRARY_PATH + cuda or level zero library. + +New in Intel(R) MPI Benchmarks 2021.6 +---------------------------------------- +- Bug fixes. + +New in Intel(R) MPI Benchmarks 2021.5 +---------------------------------------- +- License update +- Bug fixes. + +New in Intel(R) MPI Benchmarks 2021.4 +---------------------------------------- +- Bug fixes. + New in Intel(R) MPI Benchmarks 2021.3 ---------------------------------------- - Change default value for mem_alloc_type to device @@ -127,7 +146,7 @@ New in Intel(R) MPI Benchmarks 2019 using the OpenMP* paradigm. - New benchmarks infrastructure for easier benchmarks extension is implemented in C++ (See the guide: - https://software.intel.com/en-us/articles/creating-custom-benchmarks-for-imb-2019). + https://www.intel.com/content/www/us/en/developer/articles/technical/creating-custom-benchmarks-for-imb-2019.html?wapkw=creating-custom-benchmarks-for-imb-2019). The IMB-MPI1, IMB-RMA, IMB-NBC, IMB-EXT, IMB-IO, and IMB-MT implementation is now based on the new C++ infrastructure. The legacy infrastructure is preserved in the src_c subdirectory. @@ -154,7 +173,7 @@ New in Intel(R) MPI Benchmarks 2018 Update 1 New in Intel(R) MPI Benchmarks 2018 -------------------------------------------- - Product documentation is now available online only at: - https://software.intel.com/en-us/imb-user-guide + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html - Removed support of the Intel(R) Xeon Phi(TM) coprocessors (formerly code named Knights Corner). @@ -243,7 +262,7 @@ Building Instructions for Linux* OS where is one of the make targets above. For details, refer to the Intel(R) MPI Benchmarks User's Guide at: - https://software.intel.com/en-us/imb-user-guide + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html ----------------------------------------- Building Instructions for Windows* OS @@ -286,7 +305,7 @@ Building "x64" Executable Files 3) Use F7 or Build > Build Solution to create an executable. For details, refer to the Intel(R) MPI Benchmarks User's Guide at: - https://software.intel.com/en-us/imb-user-guide + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html ---------------------- Copyright and Licenses @@ -319,4 +338,4 @@ Corporation in the U.S. and/or other countries. * Other names and brands may be claimed as the property of others. -(C) Intel Corporation. +(C) Intel Corporation diff --git a/ReadMe_IMB.txt b/ReadMe_IMB.txt index da3ce9d4..aaef6b6d 100644 --- a/ReadMe_IMB.txt +++ b/ReadMe_IMB.txt @@ -1,5 +1,5 @@ -------------------------------------- -Intel(R) MPI Benchmarks 2021.6 +Intel(R) MPI Benchmarks 2021.7 README -------------------------------------- @@ -62,6 +62,12 @@ files and folders appear on your system: ---------- What's New ---------- +New in Intel(R) MPI Benchmarks 2021.7 +---------------------------------------- +- IMB-MPI1-GPU benchmarks support cuda. + Dinamically loading from LD_LIBRARY_PATH + cuda or level zero library. + New in Intel(R) MPI Benchmarks 2021.6 ---------------------------------------- - Bug fixes. @@ -146,7 +152,7 @@ New in Intel(R) MPI Benchmarks 2019 The benchmarks implement the multi-threaded version of IMB-MPI1 benchmarks using the OpenMP* paradigm. - New benchmarks infrastructure for easier benchmarks extension is implemented in C++ - (See the guide: https://software.intel.com/en-us/articles/creating-custom-benchmarks-for-imb-2019). + (See the guide: https://www.intel.com/content/www/us/en/developer/articles/technical/creating-custom-benchmarks-for-imb-2019.html?wapkw=creating-custom-benchmarks-for-imb-2019). The IMB-MPI1, IMB-RMA, IMB-NBC, IMB-EXT, IMB-IO and IMB-MT implementation is now based on the new C++ infrastructure. The legacy infrastructure is preserved in the src_c subdirectory. @@ -173,7 +179,7 @@ New in Intel(R) MPI Benchmarks 2018 Update 1 New in Intel(R) MPI Benchmarks 2018 -------------------------------------------- - Product documentation is now available online only at: - https://software.intel.com/en-us/imb-user-guide + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html - Removed support of the Intel(R) Xeon Phi(TM) coprocessors (formerly code named Knights Corner). @@ -257,7 +263,7 @@ Building Instructions for Linux* OS where is one of the make targets above. For details, refer to the Intel(R) MPI Benchmarks User's Guide at: - https://software.intel.com/en-us/imb-user-guide-2018-beta + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html ----------------------------------------- Building Instructions for Windows* OS @@ -300,7 +306,7 @@ Building "x64" Executable Files 3) Use F7 or Build > Build Solution to create an executable. For details, refer to the Intel(R) MPI Benchmarks User's Guide at: - https://software.intel.com/en-us/imb-user-guide-2018-beta + https://www.intel.com/content/www/us/en/docs/mpi-library/user-guide-benchmarks/2021-2/overview.html ---------------------- Copyright and Licenses diff --git a/WINDOWS/IMB-EXT_VS_2017/IMB-EXT.rc b/WINDOWS/IMB-EXT_VS_2017/IMB-EXT.rc index 18320f77..5e4bdd02 100644 --- a/WINDOWS/IMB-EXT_VS_2017/IMB-EXT.rc +++ b/WINDOWS/IMB-EXT_VS_2017/IMB-EXT.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,6,0,0 - PRODUCTVERSION 2021,6,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.6" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-EXT" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-EXT.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.6" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/WINDOWS/IMB-IO_VS_2017/IMB-IO.rc b/WINDOWS/IMB-IO_VS_2017/IMB-IO.rc index 9873e4f0..9976c086 100644 --- a/WINDOWS/IMB-IO_VS_2017/IMB-IO.rc +++ b/WINDOWS/IMB-IO_VS_2017/IMB-IO.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,6,0,0 - PRODUCTVERSION 2021,6,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.6" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-IO" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-IO.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.6" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/WINDOWS/IMB-MPI1_VS_2017/IMB-MPI1.rc b/WINDOWS/IMB-MPI1_VS_2017/IMB-MPI1.rc index 4d68ee39..eac82033 100644 --- a/WINDOWS/IMB-MPI1_VS_2017/IMB-MPI1.rc +++ b/WINDOWS/IMB-MPI1_VS_2017/IMB-MPI1.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,6,0,0 - PRODUCTVERSION 2021,6,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.6" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-MPI1" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-MPI1.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.6" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/WINDOWS/IMB-MT_VS_2017/IMB-MT.rc b/WINDOWS/IMB-MT_VS_2017/IMB-MT.rc index 51754e07..c25ff8ca 100644 --- a/WINDOWS/IMB-MT_VS_2017/IMB-MT.rc +++ b/WINDOWS/IMB-MT_VS_2017/IMB-MT.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,6,0,0 - PRODUCTVERSION 2021,6,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.6" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-MT" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-MT.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.6" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/WINDOWS/IMB-NBC_VS_2017/IMB-NBC.rc b/WINDOWS/IMB-NBC_VS_2017/IMB-NBC.rc index 0b3e2c1c..b1c18814 100644 --- a/WINDOWS/IMB-NBC_VS_2017/IMB-NBC.rc +++ b/WINDOWS/IMB-NBC_VS_2017/IMB-NBC.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,6,0,0 - PRODUCTVERSION 2021,6,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.6" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-NBC" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-NBC.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.6" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/WINDOWS/IMB-P2P_VS_2017/IMB-P2P.rc b/WINDOWS/IMB-P2P_VS_2017/IMB-P2P.rc index b26d9e46..49f49431 100644 --- a/WINDOWS/IMB-P2P_VS_2017/IMB-P2P.rc +++ b/WINDOWS/IMB-P2P_VS_2017/IMB-P2P.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,6,0,0 - PRODUCTVERSION 2021,6,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.6" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-P2P" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-P2P.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.6" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/WINDOWS/IMB-RMA_VS_2017/IMB-RMA.rc b/WINDOWS/IMB-RMA_VS_2017/IMB-RMA.rc index 8f20db0a..6358bc2a 100644 --- a/WINDOWS/IMB-RMA_VS_2017/IMB-RMA.rc +++ b/WINDOWS/IMB-RMA_VS_2017/IMB-RMA.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2021,6,0,0 - PRODUCTVERSION 2021,6,0,0 + FILEVERSION 2021,7,0,0 + PRODUCTVERSION 2021,7,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -71,12 +71,12 @@ BEGIN BEGIN VALUE "CompanyName", "Intel Corporation" VALUE "FileDescription", "Intel(R) MPI Benchmarks" - VALUE "FileVersion", "2021.6" + VALUE "FileVersion", "2021.7" VALUE "InternalName", "IMB-RMA" VALUE "LegalCopyright", "Copyright Intel Corporation." VALUE "OriginalFilename", "IMB-RMA.exe" VALUE "ProductName", "Intel(R) MPI Benchmarks" - VALUE "ProductVersion", "2021.6" + VALUE "ProductVersion", "2021.7" END END BLOCK "VarFileInfo" diff --git a/src_c/IMB_2018.c b/src_c/IMB_2018.c index bb5c2aa5..89bb433e 100644 --- a/src_c/IMB_2018.c +++ b/src_c/IMB_2018.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2018 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_allgather.c b/src_c/IMB_allgather.c index a37ee84c..8bc2859f 100644 --- a/src_c/IMB_allgather.c +++ b/src_c/IMB_allgather.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_allgatherv.c b/src_c/IMB_allgatherv.c index c49b19c6..3a9223ce 100644 --- a/src_c/IMB_allgatherv.c +++ b/src_c/IMB_allgatherv.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_allreduce.c b/src_c/IMB_allreduce.c index a6e8e64c..c8e597f4 100644 --- a/src_c/IMB_allreduce.c +++ b/src_c/IMB_allreduce.c @@ -1,50 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE ********************************************************************** diff --git a/src_c/IMB_alltoall.c b/src_c/IMB_alltoall.c index e4628979..acc00dfb 100644 --- a/src_c/IMB_alltoall.c +++ b/src_c/IMB_alltoall.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_alltoallv.c b/src_c/IMB_alltoallv.c index 9ffb5932..dcc7db36 100644 --- a/src_c/IMB_alltoallv.c +++ b/src_c/IMB_alltoallv.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_appl_errors.h b/src_c/IMB_appl_errors.h index e4c46cec..fd7d38b9 100644 --- a/src_c/IMB_appl_errors.h +++ b/src_c/IMB_appl_errors.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_bandwidth.c b/src_c/IMB_bandwidth.c index f36ccfc3..d0f3bc6c 100644 --- a/src_c/IMB_bandwidth.c +++ b/src_c/IMB_bandwidth.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_barrier.c b/src_c/IMB_barrier.c index f69c348f..1c91fe7a 100644 --- a/src_c/IMB_barrier.c +++ b/src_c/IMB_barrier.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_bcast.c b/src_c/IMB_bcast.c index 4ea7224d..0efe42a5 100644 --- a/src_c/IMB_bcast.c +++ b/src_c/IMB_bcast.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_benchlist.c b/src_c/IMB_benchlist.c index 94ff34f5..ba8e41f7 100644 --- a/src_c/IMB_benchlist.c +++ b/src_c/IMB_benchlist.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_benchmark.h b/src_c/IMB_benchmark.h index 6e1c3c01..1028df24 100644 --- a/src_c/IMB_benchmark.h +++ b/src_c/IMB_benchmark.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_bnames_ext.h b/src_c/IMB_bnames_ext.h index c297f9ac..ec2457e7 100644 --- a/src_c/IMB_bnames_ext.h +++ b/src_c/IMB_bnames_ext.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_bnames_io.h b/src_c/IMB_bnames_io.h index a7a6393f..d3aa4438 100644 --- a/src_c/IMB_bnames_io.h +++ b/src_c/IMB_bnames_io.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_bnames_mpi1.h b/src_c/IMB_bnames_mpi1.h index 156864e0..59024ef5 100644 --- a/src_c/IMB_bnames_mpi1.h +++ b/src_c/IMB_bnames_mpi1.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_bnames_nbc.h b/src_c/IMB_bnames_nbc.h index 122549a3..2487c177 100644 --- a/src_c/IMB_bnames_nbc.h +++ b/src_c/IMB_bnames_nbc.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_bnames_rma.h b/src_c/IMB_bnames_rma.h index 54a92b51..29bee64b 100644 --- a/src_c/IMB_bnames_rma.h +++ b/src_c/IMB_bnames_rma.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_cache.h b/src_c/IMB_cache.h index 789312e6..4892a18b 100644 --- a/src_c/IMB_cache.h +++ b/src_c/IMB_cache.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** */ diff --git a/src_c/IMB_chk_diff.c b/src_c/IMB_chk_diff.c index 48e6a0dd..775c44c6 100644 --- a/src_c/IMB_chk_diff.c +++ b/src_c/IMB_chk_diff.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_comm_info.h b/src_c/IMB_comm_info.h index da842694..1278d577 100644 --- a/src_c/IMB_comm_info.h +++ b/src_c/IMB_comm_info.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_comments.h b/src_c/IMB_comments.h index 45e9494b..d3e005fc 100644 --- a/src_c/IMB_comments.h +++ b/src_c/IMB_comments.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_cpu_exploit.c b/src_c/IMB_cpu_exploit.c index ada425f1..48e5ee64 100644 --- a/src_c/IMB_cpu_exploit.c +++ b/src_c/IMB_cpu_exploit.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_cuda.c b/src_c/IMB_cuda.c new file mode 100644 index 00000000..2ed97e8f --- /dev/null +++ b/src_c/IMB_cuda.c @@ -0,0 +1,169 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ +#ifdef GPU_ENABLE +#include "IMB_cuda.h" + +int cuda_initialize(char *dll_name) +{ + cuda_init_functable_dll(dll_name); + CUDA_CHKERR(cudaGetDeviceCount((int *)&num_devices)); + CUDA_CHKERR(cudaStreamCreate(&cuda_stream)); + + return 0; +f_err: + return 1; +} + +int cuda_memcpy(void *dst, const void *src, size_t sz) +{ + CUDA_CHKERR(cudaMemcpyAsync(dst, src, sz, cudaMemcpyDefault, cuda_stream)); + CUDA_CHKERR(cudaStreamSynchronize(cuda_stream)); + + return 0; +f_err: + return 1; +} + +void *cuda_alloc(size_t size, char *where, MEM_ALLOC_TYPE mem_alloc_type) +{ + void *buf; + switch (mem_alloc_type) + { + case MAT_DEVICE: + { + CUDA_CHKERR(cudaMalloc(&buf, size)); + break; + } + case MAT_HOST: + { + CUDA_CHKERR(cudaMallocHost(&buf, size)); + break; + } + case MAT_SHARED: + { + CUDA_CHKERR(cudaMallocManaged(&buf, size, cudaMemAttachGlobal)); + break; + } + default: + { + printf("Error: Unknown buf type\n"); + exit(1); + } + } + + return buf; +f_err: + return NULL; +} + +void cuda_ass_buf(void *buf, int rank, size_t pos1, size_t pos2, int value) +{ + /* + + Assigns values to a buffer + + Input variables: + + -rank (type int) + Rank of calling process + + -pos1 (type int) + -pos2 (type int) + Assignment between byte positions pos1, pos2 + + -value (type int) + 1/0 for non-zero (defined in IMB_settings.h)/ zero value + + In/out variables: + + -buf (type void*) + Values assigned within given positions + */ + if (pos2 <= pos1) + return; + + static const int asize = (int)sizeof(assign_type); + char *tmp_buf = malloc(pos2 + 1 - pos1); + cuda_memcpy(tmp_buf, buf + pos1, pos2 - pos1); + IMB_ass_buf(tmp_buf, rank, pos1, pos2, value); + cuda_memcpy(buf + pos1, tmp_buf, pos2 - pos1); + free(tmp_buf); +} + +void cuda_free(void **B, MEM_ALLOC_TYPE mem_alloc_type) +{ + if (B && *B) + { + switch (mem_alloc_type) + { + case MAT_DEVICE: + { + CUDA_CHKERR_DO_NOT_FAIL(cudaFree(*B)); + break; + } + case MAT_HOST: + { + CUDA_CHKERR_DO_NOT_FAIL(cudaFreeHost(*B)); + break; + } + case MAT_SHARED: + { + CUDA_CHKERR_DO_NOT_FAIL(cudaFree(*B)); + break; + } + default: + { + printf("Error: Unknown buf type\n"); + exit(1); + } + } + if (cuda_stream) + { + CUDA_CHKERR_DO_NOT_FAIL(cudaStreamDestroy(cuda_stream)); + cuda_stream = NULL; + } + *B = NULL; + } +} + +#endif // GPU_ENABLE diff --git a/src_c/IMB_cuda.h b/src_c/IMB_cuda.h new file mode 100644 index 00000000..084f1f95 --- /dev/null +++ b/src_c/IMB_cuda.h @@ -0,0 +1,86 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ +#ifndef __cuda_h__ +#define __cuda_h__ + +#include "stdbool.h" +#include + +#include "IMB_declare.h" +#include "IMB_benchmark.h" +#include "IMB_cuda_api.h" + +static unsigned num_devices = 0; + +#define CUDA_CHKERR_EXPL_FINALLY(f, fin, a) { cudaError_t _cuda_chkerr_err; \ + if ((_cuda_chkerr_err=(f), (fin), _cuda_chkerr_err) != cudaSuccess) { \ + fprintf(stderr, "ERROR: 0x%x returned from %s\n", _cuda_chkerr_err, #f); \ + a; \ + } \ +} +#define CUDA_CHKERR_EXPL(f, a) CUDA_CHKERR_EXPL_FINALLY(f, 0, a) +#define CUDA_CHKERR_FINALLY(f, fin) CUDA_CHKERR_EXPL_FINALLY(f, fin, goto f_err) +#define CUDA_CHKERR(f) CUDA_CHKERR_EXPL(f, goto f_err) +#define CUDA_CHKERR_DO_NOT_FAIL(f) CUDA_CHKERR_EXPL_FINALLY(f, 0, (void)0) + +#define NZ_CHKERR_EXPL(f, a) if ((f) == 0) { \ + fprintf(stderr, "ERROR: %s failed\n", #f); \ + a; \ +} +#define NZ_CHKERR(f) NZ_CHKERR_EXPL(f, goto f_err) + +#define C_CHKERR_EXPL(f, a) if ((f) != 0) { \ + fprintf(stderr, "ERROR: %s failed\n", #f); \ + a; \ +} +#define C_CHKERR(f) C_CHKERR_EXPL(f, goto f_err) + +cudaStream_t cuda_stream; + +int cuda_initialize(char *dll_name); +void *cuda_alloc(size_t size, char *where, MEM_ALLOC_TYPE mem_alloc_type); +void cuda_free(void **B, MEM_ALLOC_TYPE mem_alloc_type); +void cuda_ass_buf(void *buf, int rank, size_t pos1, size_t pos2, int value); +int cuda_memcpy(void *dst, const void *src, size_t sz); + +#endif diff --git a/src_c/IMB_cuda_api.c b/src_c/IMB_cuda_api.c new file mode 100644 index 00000000..3da4c4f9 --- /dev/null +++ b/src_c/IMB_cuda_api.c @@ -0,0 +1,101 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ +#ifdef GPU_ENABLE +#include "IMB_cuda_api.h" + +cuda_functable_t cuda_proxy = { + NULL, +}; + +static const char *fn_names[] = { + "cudaMalloc", + "cudaMallocHost", + "cudaMallocManaged", + "cudaFree", + "cudaFreeHost", + "cudaMemcpyAsync", + "cudaGetDeviceCount", + "cudaStreamCreate", + "cudaStreamDestroy", + "cudaStreamSynchronize", +}; + +#define CUDA_FUNCTABLE_COUNT (sizeof(cuda_proxy) / sizeof(void *)) + +void cuda_init_functable_dll(const char *dll_name) +{ + void **sym_ptr = (void **)&cuda_proxy; + + void *handle = dlopen(dll_name, RTLD_LAZY | RTLD_GLOBAL); + + char *dl_error = dlerror(); + + if (dl_error) + { + printf("%s\n", dl_error); + exit(1); + } + + size_t i; + + for (i = 0; i < CUDA_FUNCTABLE_COUNT; i++) + { + sym_ptr[i] = dlsym(handle, fn_names[i]); + + dl_error = dlerror(); + + if (dl_error) + { + printf("%s\n", dl_error); + exit(1); + } + + if (sym_ptr[i] == NULL) + { + printf("Symbol %s is not available!\n", fn_names[i]); + exit(1); + } + } +} + +#endif // GPU_ENABLE diff --git a/src_c/IMB_cuda_api.h b/src_c/IMB_cuda_api.h new file mode 100644 index 00000000..1a96ad38 --- /dev/null +++ b/src_c/IMB_cuda_api.h @@ -0,0 +1,80 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ +#ifndef CUDA_API_H +#define CUDA_API_H + +#include "cuda_runtime_api.h" +#include "driver_types.h" +#include + +/* *INDENT-OFF* */ +/* The current function names are from CUDA 12.0 */ +typedef struct cuda_functable_t { + cudaError_t (*cudaMalloc)(void **, size_t); + cudaError_t (*cudaMallocHost)(void **, size_t); + cudaError_t (*cudaMallocManaged)(void **, size_t, unsigned int); + typeof(cudaFree) *cudaFree; + typeof(cudaFreeHost) *cudaFreeHost; + typeof(cudaMemcpyAsync) *cudaMemcpyAsync; + typeof(cudaGetDeviceCount) *cudaGetDeviceCount; + typeof(cudaStreamCreate) *cudaStreamCreate; + typeof(cudaStreamDestroy) *cudaStreamDestroy; + typeof(cudaStreamSynchronize) *cudaStreamSynchronize; +} cuda_functable_t; + +extern cuda_functable_t cuda_proxy; + +#define cudaMalloc cuda_proxy.cudaMalloc +#define cudaMallocHost cuda_proxy.cudaMallocHost +#define cudaMallocManaged cuda_proxy.cudaMallocManaged +#define cudaFree cuda_proxy.cudaFree +#define cudaFreeHost cuda_proxy.cudaFreeHost +#define cudaMemcpyAsync cuda_proxy.cudaMemcpyAsync +#define cudaGetDeviceCount cuda_proxy.cudaGetDeviceCount +#define cudaStreamCreate cuda_proxy.cudaStreamCreate +#define cudaStreamDestroy cuda_proxy.cudaStreamDestroy +#define cudaStreamSynchronize cuda_proxy.cudaStreamSynchronize + +void cuda_init_functable_dll(const char *dll_name); + +#endif /* CUDA_API_H */ diff --git a/src_c/IMB_declare.c b/src_c/IMB_declare.c index 08c1be1b..46d23f01 100644 --- a/src_c/IMB_declare.c +++ b/src_c/IMB_declare.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_declare.h b/src_c/IMB_declare.h index 1ece4b1d..a0f84e58 100644 --- a/src_c/IMB_declare.h +++ b/src_c/IMB_declare.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_err_check.h b/src_c/IMB_err_check.h index 952da173..56226160 100644 --- a/src_c/IMB_err_check.h +++ b/src_c/IMB_err_check.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_err_handler.c b/src_c/IMB_err_handler.c index 5630f956..dedbec8a 100644 --- a/src_c/IMB_err_handler.c +++ b/src_c/IMB_err_handler.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_exchange.c b/src_c/IMB_exchange.c index 457bba50..8fcccadc 100644 --- a/src_c/IMB_exchange.c +++ b/src_c/IMB_exchange.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_g_info.c b/src_c/IMB_g_info.c index f508660d..671a1208 100644 --- a/src_c/IMB_g_info.c +++ b/src_c/IMB_g_info.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** @@ -72,7 +55,7 @@ For more documentation than found here, see #ifdef IMB2018 char* VERSION="2018"; #else -char* VERSION="2021.6"; +char* VERSION="2021.7"; #endif #include @@ -104,7 +87,7 @@ void IMB_general_info() { #ifdef MPI1 #ifdef GPU_ENABLE - fprintf(unit, "# Intel(R) MPI Benchmarks %s Technical Preview, MPI-1 part (GPU)\n", VERSION); + fprintf(unit, "# Intel(R) MPI Benchmarks %s, MPI-1 part (GPU)\n", VERSION); #else fprintf(unit, "# Intel(R) MPI Benchmarks %s, MPI-1 part\n", VERSION); #endif //GPU_ENABLE diff --git a/src_c/IMB_gather.c b/src_c/IMB_gather.c index 5e600632..795fb2f4 100644 --- a/src_c/IMB_gather.c +++ b/src_c/IMB_gather.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_gatherv.c b/src_c/IMB_gatherv.c index 6f5ae8bf..f71f49c8 100644 --- a/src_c/IMB_gatherv.c +++ b/src_c/IMB_gatherv.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_gpu_common.c b/src_c/IMB_gpu_common.c new file mode 100644 index 00000000..ded2f5f8 --- /dev/null +++ b/src_c/IMB_gpu_common.c @@ -0,0 +1,82 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ +#ifdef GPU_ENABLE +#include "IMB_gpu_common.h" + +void gpu_initialize() +{ + char dll_name_cuda[] = "libcudart.so"; + + char dll_name_ze[] = "libze_loader.so.1"; + + if (dlopen(dll_name_cuda, RTLD_LAZY | RTLD_GLOBAL)) { +#ifdef CUDA_INCLUDE_DIR + cuda_initialize(dll_name_cuda); + IMB_gpu_backend.IMB_gpu_backend_type = GPU_BACKEND_CUDA; + IMB_gpu_backend.IMB_gpu_alloc = cuda_alloc; + IMB_gpu_backend.IMB_gpu_free = cuda_free; + IMB_gpu_backend.IMB_gpu_ass_buf = cuda_ass_buf; + IMB_gpu_backend.IMB_gpu_memcpy = cuda_memcpy; +#endif + } else { + if (dlopen(dll_name_ze, RTLD_LAZY | RTLD_GLOBAL)) { +#ifdef ZE_INCLUDE_DIR + ze_initialize(dll_name_ze); + IMB_gpu_backend.IMB_gpu_backend_type = GPU_BACKEND_ZE; + IMB_gpu_backend.IMB_gpu_alloc = ze_alloc; + IMB_gpu_backend.IMB_gpu_free = ze_free; + IMB_gpu_backend.IMB_gpu_ass_buf = ze_ass_buf; + IMB_gpu_backend.IMB_gpu_memcpy = ze_memcpy; +#endif + } else { + fprintf(stderr,"Neither CUDA nor Level Zero is available! \nPlease put path to gpu library in LD_LIBRARY_PATH\n"); + exit(1); + } + } +} + +int gpu_memcpy(void *dst, const void *src, size_t sz) +{ + return IMB_gpu_backend.IMB_gpu_memcpy(dst, src, sz); +} +#endif //GPU_ENABLE diff --git a/src_c/IMB_gpu_common.h b/src_c/IMB_gpu_common.h new file mode 100644 index 00000000..b15f21c4 --- /dev/null +++ b/src_c/IMB_gpu_common.h @@ -0,0 +1,76 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ +#ifndef IMB_GPU_COMMON_H +#define IMB_GPU_COMMON_H + +#include +#include +#include +#include "IMB_comm_info.h" +#ifdef ZE_INCLUDE_DIR +#include "IMB_ze.h" +#endif +#ifdef CUDA_INCLUDE_DIR +#include "IMB_cuda.h" +#endif + +typedef enum gpu_backend_type_t { + GPU_BACKEND_ZE = 0, + GPU_BACKEND_CUDA, +} gpu_backend_type_t; + +typedef struct gpu_backend { + gpu_backend_type_t IMB_gpu_backend_type; + void* (*IMB_gpu_alloc) (size_t, char*, MEM_ALLOC_TYPE); + void (*IMB_gpu_free) (void**,MEM_ALLOC_TYPE); + void (*IMB_gpu_ass_buf) (void*, int, size_t, size_t, int); + int (*IMB_gpu_memcpy) (void*, const void*, size_t); +} gpu_backend; + +gpu_backend IMB_gpu_backend; + +void gpu_initialize(); + +int gpu_memcpy(void *dst, const void *src, size_t sz); + +#endif //IMB_GPU_COMMON_H diff --git a/src_c/IMB_init.c b/src_c/IMB_init.c index 90a39694..222927ec 100644 --- a/src_c/IMB_init.c +++ b/src_c/IMB_init.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_init_file.c b/src_c/IMB_init_file.c index 710bd268..d6de597d 100644 --- a/src_c/IMB_init_file.c +++ b/src_c/IMB_init_file.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_init_transfer.c b/src_c/IMB_init_transfer.c index a7c4445c..de7582bc 100644 --- a/src_c/IMB_init_transfer.c +++ b/src_c/IMB_init_transfer.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_input.txt b/src_c/IMB_input.txt index fef0a8b6..9b7da7f0 100644 --- a/src_c/IMB_input.txt +++ b/src_c/IMB_input.txt @@ -1,3 +1,3 @@ pingping pingpong -Allgather +allgather diff --git a/src_c/IMB_l0.c b/src_c/IMB_l0.c deleted file mode 100644 index 4ce929ea..00000000 --- a/src_c/IMB_l0.c +++ /dev/null @@ -1,225 +0,0 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** - -For more documentation than found here, see - -[1] doc/ReadMe_IMB.txt - -[2] Intel(R) MPI Benchmarks - Users Guide and Methodology Description - In - doc/IMB_Users_Guide.pdf - - ***************************************************************************/ -#ifdef GPU_ENABLE -#include -#include - -#include "IMB_declare.h" -#include "IMB_benchmark.h" -#include "IMB_prototypes.h" - -#include "IMB_l0.h" - -#define ZE_NULL_HANDLE NULL /* just for verbosity */ - -#define ZE_CHKERR_EXPL_FINALLY(f, fin, a) { ze_result_t _ze_chkerr_err; \ - if ((_ze_chkerr_err=(f), (fin), _ze_chkerr_err) != ZE_RESULT_SUCCESS) { \ - fprintf(stderr, "ERROR: 0x%x returned from %s\n", _ze_chkerr_err, #f); \ - a; \ - } \ -} -#define ZE_CHKERR_EXPL(f, a) ZE_CHKERR_EXPL_FINALLY(f, 0, a) -#define ZE_CHKERR_FINALLY(f, fin) ZE_CHKERR_EXPL_FINALLY(f, fin, goto f_err) -#define ZE_CHKERR(f) ZE_CHKERR_EXPL(f, goto f_err) -#define ZE_CHKERR_DO_NOT_FAIL(f) ZE_CHKERR_EXPL_FINALLY(f, 0, (void)0) - -#define C_CHKERR_EXPL(f, a) if ((f) != 0) { \ - fprintf(stderr, "ERROR: %s failed\n", #f); \ - a; \ -} -#define C_CHKERR(f) C_CHKERR_EXPL(f, goto f_err) - -static ze_context_handle_t l0_context = ZE_NULL_HANDLE; -static ze_driver_handle_t l0_driver = ZE_NULL_HANDLE; -static ze_device_handle_t l0_device = ZE_NULL_HANDLE; -static ze_command_queue_handle_t l0_cq = ZE_NULL_HANDLE; -static ze_command_list_handle_t l0_cl = ZE_NULL_HANDLE; - -static int l0_initialize(void) -{ - ZE_CHKERR(zeInit(0)); - - uint32_t ze_driver_count = 1, ze_device_count = 1; - ZE_CHKERR(zeDriverGet(&ze_driver_count, &l0_driver)); - ZE_CHKERR(zeDeviceGet(l0_driver, &ze_device_count, &l0_device)); - - ze_context_desc_t ctxtDesc = { ZE_STRUCTURE_TYPE_CONTEXT_DESC, NULL, 0 }; - ZE_CHKERR(zeContextCreate(l0_driver, &ctxtDesc, &l0_context)); - - ze_command_queue_desc_t l0_cq_desc = { - .flags = 0, - .mode = ZE_COMMAND_QUEUE_MODE_DEFAULT, - .priority = ZE_COMMAND_QUEUE_PRIORITY_NORMAL, - .ordinal = 0 /* this must be less than device_properties.numAsyncComputeEngines */ - }; - ZE_CHKERR(zeCommandQueueCreate(l0_context, l0_device, &l0_cq_desc, &l0_cq)); - - ze_command_list_desc_t l0_cl_desc = { .flags = 0 }; - ZE_CHKERR(zeCommandListCreate(l0_context, l0_device, &l0_cl_desc, &l0_cl)); - return 0; -f_err: - return 1; -} - -static int l0_memcpy(void *dst, const void *src, size_t sz) -{ - ZE_CHKERR(zeCommandListAppendMemoryCopy(l0_cl, dst, src, sz, ZE_NULL_HANDLE, 0, ZE_NULL_HANDLE)); - ZE_CHKERR(zeCommandListClose(l0_cl)); - ZE_CHKERR(zeCommandQueueExecuteCommandLists(l0_cq, 1, &l0_cl, ZE_NULL_HANDLE)); - ZE_CHKERR(zeCommandQueueSynchronize(l0_cq, UINT32_MAX)); - ZE_CHKERR(zeCommandListReset(l0_cl)); - return 0; -f_err: - return 1; -} - -void *IMB_l0_alloc(size_t size, char *where, MEM_ALLOC_TYPE mem_alloc_type) -{ - if (!l0_driver) { - C_CHKERR(l0_initialize()); - } - void *buf; - switch (mem_alloc_type) { - case MAT_DEVICE: - { - ze_device_mem_alloc_desc_t l0_device_mem_desc = { - .flags = 0, - .ordinal = 0 /* this must be less than count of zeDeviceGetMemoryProperties */ - }; - ZE_CHKERR(zeMemAllocDevice(l0_context, &l0_device_mem_desc, size, IMB_L0_MEM_ALIGNMENT, l0_device, &buf)); - break; - } - case MAT_HOST: - { - ze_host_mem_alloc_desc_t l0_host_mem_desc = { - .flags = 0, - }; - ZE_CHKERR(zeMemAllocHost(l0_context, &l0_host_mem_desc, size, IMB_L0_MEM_ALIGNMENT, &buf)); - break; - } - case MAT_SHARED: - { - ze_device_mem_alloc_desc_t l0_device_mem_desc = { - .flags = 0, - .ordinal = 0 /* this must be less than count of zeDeviceGetMemoryProperties */ - }; - ze_host_mem_alloc_desc_t l0_host_mem_desc = { - .flags = 0, - }; - ZE_CHKERR(zeMemAllocShared(l0_context, &l0_device_mem_desc, &l0_host_mem_desc, size, IMB_L0_MEM_ALIGNMENT, l0_device, &buf)); - break; - } - default: - { - printf("Error: Unknown buf type\n"); - exit(1); - } - } - - return buf; -f_err: - return NULL; -} - - -void IMB_l0_ass_buf(void *buf, int rank, size_t pos1, size_t pos2, int value) -{ -/* - - Assigns values to a buffer - -Input variables: - --rank (type int) - Rank of calling process - --pos1 (type int) --pos2 (type int) - Assignment between byte positions pos1, pos2 - --value (type int) - 1/0 for non-zero (defined in IMB_settings.h)/ zero value - -In/out variables: - --buf (type void*) - Values assigned within given positions -*/ - if (pos2 <= pos1) - return; - - static const int asize = (int) sizeof(assign_type); - - char *tmp_buf = malloc(pos2 + 1 - pos1); - l0_memcpy(tmp_buf, buf + pos1, pos2 - pos1); - IMB_ass_buf(tmp_buf, rank, pos1, pos2, value); - l0_memcpy(buf + pos1, tmp_buf, pos2 - pos1); - free(tmp_buf); -} - -void IMB_l0_free(void **B) -{ - if (B && *B) { - ZE_CHKERR_DO_NOT_FAIL(zeMemFree(l0_context, *B)); - *B = NULL; - } -} - -#endif //GPU_ENABLE diff --git a/src_c/IMB_l0.h b/src_c/IMB_l0.h deleted file mode 100644 index 50089637..00000000 --- a/src_c/IMB_l0.h +++ /dev/null @@ -1,75 +0,0 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** - -For more documentation than found here, see - -[1] doc/ReadMe_IMB.txt - -[2] Intel(R) MPI Benchmarks - Users Guide and Methodology Description - In - doc/IMB_Users_Guide.pdf - - ***************************************************************************/ - - - -#ifndef __l0_h__ -#define __l0_h__ - - -#include - -#define IMB_L0_MEM_ALIGNMENT 64 - -void *IMB_l0_alloc(size_t size, char *where, MEM_ALLOC_TYPE mem_alloc_type); -void IMB_l0_free(void **B); -void IMB_l0_ass_buf(void *buf, int rank, size_t pos1, size_t pos2, int value); - -#endif diff --git a/src_c/IMB_mem_info.h b/src_c/IMB_mem_info.h index b9612dde..f8d92ad5 100644 --- a/src_c/IMB_mem_info.h +++ b/src_c/IMB_mem_info.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_mem_manager.c b/src_c/IMB_mem_manager.c index 44f7e616..bd3a170e 100644 --- a/src_c/IMB_mem_manager.c +++ b/src_c/IMB_mem_manager.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** @@ -78,50 +61,46 @@ For more documentation than found here, see ***************************************************************************/ - - #include "IMB_declare.h" #include "IMB_benchmark.h" #include "IMB_prototypes.h" + #include /* for INT_MAX declaration*/ #include - #if defined(GPU_ENABLE) && defined(MPI1) -#include "IMB_l0.h" - +#include "IMB_gpu_common.h" #define IMB_ALLOC(buff, size, where) \ do { \ if (c_info->mem_alloc_type != MAT_CPU) { \ - buff = IMB_l0_alloc(size, where, c_info->mem_alloc_type); \ + buff = IMB_gpu_backend.IMB_gpu_alloc(size, where, c_info->mem_alloc_type);\ } \ else { \ buff = IMB_v_alloc(size, where); \ } \ } while (0); -#define IMB_FREE(buff) \ - do { \ - if (c_info->mem_alloc_type != MAT_CPU) { \ - IMB_l0_free(buff); \ - } \ - else { \ - IMB_v_free(buff); \ - } \ +#define IMB_FREE(buff) \ + do { \ + if (c_info->mem_alloc_type != MAT_CPU) { \ + IMB_gpu_backend.IMB_gpu_free(buff, c_info->mem_alloc_type);\ + } \ + else { \ + IMB_v_free(buff); \ + } \ } while (0); #define IMB_ASSIGN(buf, rank, pos1, pos2, value) \ do { \ if (c_info->mem_alloc_type != MAT_CPU) { \ - IMB_l0_ass_buf(buf, rank, pos1, pos2, value); \ + IMB_gpu_backend.IMB_gpu_ass_buf(buf, rank, pos1, pos2, value);\ } \ else { \ IMB_ass_buf(buf, rank, pos1, pos2, value); \ } \ } while (0); - #else // !GPU_ENABLE or !MPI1 #define IMB_ALLOC(buff, size, where) \ do { \ @@ -741,10 +720,11 @@ In/out variables: /* Determine #iterations if dynamic adaptation requested */ if ((ITERATIONS->iter_policy == imode_dynamic) || (ITERATIONS->iter_policy == imode_auto && !root_based)) { - double time[MAX_TIME_ID] = {0}; + double time[MAX_TIME_ID]; int acc_rep_test, t_sample; int selected_n_sample = ITERATIONS->n_sample; + memset(time, 0, MAX_TIME_ID); if (iter == 0 || BMODE->type == Sync) { ITERATIONS->n_sample_prev = ITERATIONS->msgspersample; if (c_info->n_lens > 0) { @@ -968,4 +948,3 @@ In/out variables: } } - diff --git a/src_c/IMB_ones_accu.c b/src_c/IMB_ones_accu.c index 7af3fda4..3f3c3626 100644 --- a/src_c/IMB_ones_accu.c +++ b/src_c/IMB_ones_accu.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_ones_bidir.c b/src_c/IMB_ones_bidir.c index 922bfa5e..90878212 100644 --- a/src_c/IMB_ones_bidir.c +++ b/src_c/IMB_ones_bidir.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_ones_unidir.c b/src_c/IMB_ones_unidir.c index 1850a625..4bbf8ce6 100644 --- a/src_c/IMB_ones_unidir.c +++ b/src_c/IMB_ones_unidir.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_open_close.c b/src_c/IMB_open_close.c index 92a550ff..14a2f2e8 100644 --- a/src_c/IMB_open_close.c +++ b/src_c/IMB_open_close.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_output.c b/src_c/IMB_output.c index cff5fd81..93f95b47 100644 --- a/src_c/IMB_output.c +++ b/src_c/IMB_output.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_parse_name_ext.c b/src_c/IMB_parse_name_ext.c index 50a94312..8585ef30 100644 --- a/src_c/IMB_parse_name_ext.c +++ b/src_c/IMB_parse_name_ext.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_parse_name_io.c b/src_c/IMB_parse_name_io.c index d97b0534..1cd21e07 100644 --- a/src_c/IMB_parse_name_io.c +++ b/src_c/IMB_parse_name_io.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_parse_name_mpi1.c b/src_c/IMB_parse_name_mpi1.c index adea6155..110c1a19 100644 --- a/src_c/IMB_parse_name_mpi1.c +++ b/src_c/IMB_parse_name_mpi1.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_parse_name_nbc.c b/src_c/IMB_parse_name_nbc.c index 84a3c46e..bc9acfa0 100644 --- a/src_c/IMB_parse_name_nbc.c +++ b/src_c/IMB_parse_name_nbc.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_parse_name_rma.c b/src_c/IMB_parse_name_rma.c index b832f7d4..542f05ce 100644 --- a/src_c/IMB_parse_name_rma.c +++ b/src_c/IMB_parse_name_rma.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_pingping.c b/src_c/IMB_pingping.c index 4e556705..255d4bcb 100644 --- a/src_c/IMB_pingping.c +++ b/src_c/IMB_pingping.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_pingpong.c b/src_c/IMB_pingpong.c index 067e905d..54de9aba 100644 --- a/src_c/IMB_pingpong.c +++ b/src_c/IMB_pingpong.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_prototypes.h b/src_c/IMB_prototypes.h index 4e48fc85..5b35b250 100644 --- a/src_c/IMB_prototypes.h +++ b/src_c/IMB_prototypes.h @@ -1,54 +1,36 @@ -#ifndef IMB_PROTOTYPES_H -#define IMB_PROTOTYPES_H - -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ +#ifndef IMB_PROTOTYPES_H +#define IMB_PROTOTYPES_H #include "IMB_benchmark.h" @@ -559,6 +541,10 @@ void* IMB_v_alloc(size_t Len, char* where); /*void IMB_i_alloc(int** B, size_t Len, char* where ); ==> define macro*/ +void gpu_initialize(); + +int gpu_memcpy(void *dst, const void *src, size_t sz); + void IMB_alloc_buf(struct comm_info* c_info, char* where, size_t s_len, size_t r_len); diff --git a/src_c/IMB_read.c b/src_c/IMB_read.c index 86370fdf..46b1ee43 100644 --- a/src_c/IMB_read.c +++ b/src_c/IMB_read.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_reduce.c b/src_c/IMB_reduce.c index e8d8ebfb..5cbdf37c 100644 --- a/src_c/IMB_reduce.c +++ b/src_c/IMB_reduce.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_reduce_local.c b/src_c/IMB_reduce_local.c index 400ea680..1b43cd33 100644 --- a/src_c/IMB_reduce_local.c +++ b/src_c/IMB_reduce_local.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_reduce_scatter.c b/src_c/IMB_reduce_scatter.c index 89bac8ac..62eef1bf 100644 --- a/src_c/IMB_reduce_scatter.c +++ b/src_c/IMB_reduce_scatter.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_reduce_scatter_block.c b/src_c/IMB_reduce_scatter_block.c index 5c405653..61078c37 100644 --- a/src_c/IMB_reduce_scatter_block.c +++ b/src_c/IMB_reduce_scatter_block.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_rma_atomic.c b/src_c/IMB_rma_atomic.c index 68489625..ca8a679f 100644 --- a/src_c/IMB_rma_atomic.c +++ b/src_c/IMB_rma_atomic.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_rma_get.c b/src_c/IMB_rma_get.c index 05d9e33f..808f512e 100644 --- a/src_c/IMB_rma_get.c +++ b/src_c/IMB_rma_get.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_rma_put.c b/src_c/IMB_rma_put.c index 1cfb7aad..2161abb6 100644 --- a/src_c/IMB_rma_put.c +++ b/src_c/IMB_rma_put.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_scatter.c b/src_c/IMB_scatter.c index 5c765f5d..cb2fefcd 100644 --- a/src_c/IMB_scatter.c +++ b/src_c/IMB_scatter.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_scatterv.c b/src_c/IMB_scatterv.c index de4ef1d0..13eeba4b 100644 --- a/src_c/IMB_scatterv.c +++ b/src_c/IMB_scatterv.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_sendrecv.c b/src_c/IMB_sendrecv.c index 98e3f6f5..268c26cc 100644 --- a/src_c/IMB_sendrecv.c +++ b/src_c/IMB_sendrecv.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_settings.h b/src_c/IMB_settings.h index 66ec0b27..5b872138 100644 --- a/src_c/IMB_settings.h +++ b/src_c/IMB_settings.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_settings_io.h b/src_c/IMB_settings_io.h index 7920289f..d1f7a5ef 100644 --- a/src_c/IMB_settings_io.h +++ b/src_c/IMB_settings_io.h @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_strgs.c b/src_c/IMB_strgs.c index b41fbbd0..9951b81e 100644 --- a/src_c/IMB_strgs.c +++ b/src_c/IMB_strgs.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_user_set_info.c b/src_c/IMB_user_set_info.c index 1ad4a795..3dbc8f41 100644 --- a/src_c/IMB_user_set_info.c +++ b/src_c/IMB_user_set_info.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_utils.c b/src_c/IMB_utils.c index 86c5d692..98145a5a 100644 --- a/src_c/IMB_utils.c +++ b/src_c/IMB_utils.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_warm_up.c b/src_c/IMB_warm_up.c index 50e17659..6faf5deb 100644 --- a/src_c/IMB_warm_up.c +++ b/src_c/IMB_warm_up.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_window.c b/src_c/IMB_window.c index 4d077e81..7ea0d9d5 100644 --- a/src_c/IMB_window.c +++ b/src_c/IMB_window.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_write.c b/src_c/IMB_write.c index 94d1f517..4eed6d77 100644 --- a/src_c/IMB_write.c +++ b/src_c/IMB_write.c @@ -1,49 +1,32 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *************************************************************************** diff --git a/src_c/IMB_ze.c b/src_c/IMB_ze.c new file mode 100644 index 00000000..9af7b8fb --- /dev/null +++ b/src_c/IMB_ze.c @@ -0,0 +1,184 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ + +#ifdef GPU_ENABLE +#include "IMB_ze.h" + +static ze_context_handle_t l0_context = ZE_NULL_HANDLE; +static ze_driver_handle_t l0_driver = ZE_NULL_HANDLE; +static ze_device_handle_t l0_device = ZE_NULL_HANDLE; +static ze_command_queue_handle_t l0_cq = ZE_NULL_HANDLE; +static ze_command_list_handle_t l0_cl = ZE_NULL_HANDLE; + +int ze_initialize(char *dll_name) +{ + level_zero_init_functable_dll(dll_name); + ZE_CHKERR(zeInit(0)); + + uint32_t ze_driver_count = 1, ze_device_count = 1; + ZE_CHKERR(zeDriverGet(&ze_driver_count, &l0_driver)); + ZE_CHKERR(zeDeviceGet(l0_driver, &ze_device_count, &l0_device)); + + ze_context_desc_t ctxtDesc = {ZE_STRUCTURE_TYPE_CONTEXT_DESC, NULL, 0}; + ZE_CHKERR(zeContextCreate(l0_driver, &ctxtDesc, &l0_context)); + + ze_command_queue_desc_t l0_cq_desc = { + .flags = 0, + .mode = ZE_COMMAND_QUEUE_MODE_DEFAULT, + .priority = ZE_COMMAND_QUEUE_PRIORITY_NORMAL, + .ordinal = 0 /* this must be less than device_properties.numAsyncComputeEngines */ + }; + ZE_CHKERR(zeCommandQueueCreate(l0_context, l0_device, &l0_cq_desc, &l0_cq)); + + ze_command_list_desc_t l0_cl_desc = {.flags = 0}; + ZE_CHKERR(zeCommandListCreate(l0_context, l0_device, &l0_cl_desc, &l0_cl)); + return 0; +f_err: + return 1; +} + +int ze_memcpy(void *dst, const void *src, size_t sz) +{ + ZE_CHKERR(zeCommandListAppendMemoryCopy(l0_cl, dst, src, sz, ZE_NULL_HANDLE, 0, ZE_NULL_HANDLE)); + ZE_CHKERR(zeCommandListClose(l0_cl)); + ZE_CHKERR(zeCommandQueueExecuteCommandLists(l0_cq, 1, &l0_cl, ZE_NULL_HANDLE)); + ZE_CHKERR(zeCommandQueueSynchronize(l0_cq, UINT32_MAX)); + ZE_CHKERR(zeCommandListReset(l0_cl)); + return 0; +f_err: + return 1; +} + +void *ze_alloc(size_t size, char *where, MEM_ALLOC_TYPE mem_alloc_type) +{ + void *buf; + switch (mem_alloc_type) + { + case MAT_DEVICE: + { + ze_device_mem_alloc_desc_t l0_device_mem_desc = { + .flags = 0, + .ordinal = 0 /* this must be less than count of zeDeviceGetMemoryProperties */ + }; + ZE_CHKERR(zeMemAllocDevice(l0_context, &l0_device_mem_desc, size, IMB_L0_MEM_ALIGNMENT, l0_device, &buf)); + break; + } + case MAT_HOST: + { + ze_host_mem_alloc_desc_t l0_host_mem_desc = { + .flags = 0, + }; + ZE_CHKERR(zeMemAllocHost(l0_context, &l0_host_mem_desc, size, IMB_L0_MEM_ALIGNMENT, &buf)); + break; + } + case MAT_SHARED: + { + ze_device_mem_alloc_desc_t l0_device_mem_desc = { + .flags = 0, + .ordinal = 0 /* this must be less than count of zeDeviceGetMemoryProperties */ + }; + ze_host_mem_alloc_desc_t l0_host_mem_desc = { + .flags = 0, + }; + ZE_CHKERR(zeMemAllocShared(l0_context, &l0_device_mem_desc, &l0_host_mem_desc, size, IMB_L0_MEM_ALIGNMENT, l0_device, &buf)); + break; + } + default: + { + printf("Error: Unknown buf type\n"); + exit(1); + } + } + + return buf; +f_err: + return NULL; +} + +void ze_ass_buf(void *buf, int rank, size_t pos1, size_t pos2, int value) +{ + /* + + Assigns values to a buffer + + Input variables: + + -rank (type int) + Rank of calling process + + -pos1 (type int) + -pos2 (type int) + Assignment between byte positions pos1, pos2 + + -value (type int) + 1/0 for non-zero (defined in IMB_settings.h)/ zero value + + In/out variables: + + -buf (type void*) + Values assigned within given positions + */ + if (pos2 <= pos1) + return; + + static const int asize = (int)sizeof(assign_type); + char *tmp_buf = malloc(pos2 + 1 - pos1); + ze_memcpy(tmp_buf, buf + pos1, pos2 - pos1); + IMB_ass_buf(tmp_buf, rank, pos1, pos2, value); + ze_memcpy(buf + pos1, tmp_buf, pos2 - pos1); + free(tmp_buf); +} + +void ze_free(void **B, MEM_ALLOC_TYPE mem_alloc_type) +{ + if (B && *B) + { + if (l0_driver) + { + ZE_CHKERR_DO_NOT_FAIL(zeMemFree(l0_context, *B)); + *B = NULL; + } + } +} + +#endif // GPU_ENABLE diff --git a/src_c/IMB_ze.h b/src_c/IMB_ze.h new file mode 100644 index 00000000..07768244 --- /dev/null +++ b/src_c/IMB_ze.h @@ -0,0 +1,87 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ + +#ifndef __ze_h__ +#define __ze_h__ + +#include +#include "stdbool.h" +#include + +#include "IMB_declare.h" +#include "IMB_benchmark.h" +#include "IMB_ze_api.h" + +#define IMB_L0_MEM_ALIGNMENT 64 +#define ZE_NULL_HANDLE NULL /* just for verbosity */ + +#define ZE_CHKERR_EXPL_FINALLY(f, fin, a) { ze_result_t _ze_chkerr_err; \ + if ((_ze_chkerr_err=(f), (fin), _ze_chkerr_err) != ZE_RESULT_SUCCESS) { \ + fprintf(stderr, "ERROR: 0x%x returned from %s\n", _ze_chkerr_err, #f); \ + a; \ + } \ +} +#define ZE_CHKERR_EXPL(f, a) ZE_CHKERR_EXPL_FINALLY(f, 0, a) +#define ZE_CHKERR_FINALLY(f, fin) ZE_CHKERR_EXPL_FINALLY(f, fin, goto f_err) +#define ZE_CHKERR(f) ZE_CHKERR_EXPL(f, goto f_err) +#define ZE_CHKERR_DO_NOT_FAIL(f) ZE_CHKERR_EXPL_FINALLY(f, 0, (void)0) + +#define NZ_CHKERR_EXPL(f, a) if ((f) == 0) { \ + fprintf(stderr, "ERROR: %s failed\n", #f); \ + a; \ +} +#define NZ_CHKERR(f) NZ_CHKERR_EXPL(f, goto f_err) + +#define C_CHKERR_EXPL(f, a) if ((f) != 0) { \ + fprintf(stderr, "ERROR: %s failed\n", #f); \ + a; \ +} +#define C_CHKERR(f) C_CHKERR_EXPL(f, goto f_err) + +int ze_initialize(char *dll_name); +void *ze_alloc(size_t size, char *where, MEM_ALLOC_TYPE mem_alloc_type); +void ze_free(void **B, MEM_ALLOC_TYPE mem_alloc_type); +void ze_ass_buf(void *buf, int rank, size_t pos1, size_t pos2, int value); +int ze_memcpy(void *dst, const void *src, size_t sz); + +#endif diff --git a/src_c/IMB_ze_api.c b/src_c/IMB_ze_api.c new file mode 100644 index 00000000..8f3245bd --- /dev/null +++ b/src_c/IMB_ze_api.c @@ -0,0 +1,111 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ + +#ifdef GPU_ENABLE +#include "IMB_ze_api.h" +#include "IMB_gpu_common.h" + +level_zero_functable_t level_zero_proxy = { + NULL, /* zeInit */ + /* the rest is zeroed */ +}; + +static const char *fn_names[] = { + "zeInit", + "zeDriverGet", + "zeMemAllocDevice", + "zeMemAllocHost", + "zeMemAllocShared", + "zeMemFree", + "zeDeviceGet", + "zeCommandQueueCreate", + "zeCommandQueueExecuteCommandLists", + "zeCommandQueueSynchronize", + "zeCommandListCreate", + "zeCommandListCreateImmediate", + "zeCommandListAppendMemoryCopy", + "zeCommandListReset", + "zeCommandListClose", + "zeContextCreate", +}; + +#define LEVEL_ZERO_FUNCTABLE_COUNT (sizeof(level_zero_proxy) / sizeof(void *)) + +void level_zero_init_functable_dll(const char *dll_name) +{ + void **sym_ptr = (void **)&level_zero_proxy; + + void *handle = dlopen(dll_name, RTLD_LAZY | RTLD_GLOBAL); + + char *dl_error = dlerror(); + + if (dl_error) + { + printf("%s\n", dl_error); + exit(1); + } + + size_t i; + + for (i = 0; i < LEVEL_ZERO_FUNCTABLE_COUNT; i++) + { + sym_ptr[i] = dlsym(handle, fn_names[i]); + + dl_error = dlerror(); + + if (dl_error) + { + printf("%s\n", dl_error); + exit(1); + } + + if (sym_ptr[i] == NULL) + { + printf("Symbol %s is not available!\n", fn_names[i]); + exit(1); + } + } + +} + +#endif //GPU_ENABLE diff --git a/src_c/IMB_ze_api.h b/src_c/IMB_ze_api.h new file mode 100644 index 00000000..052e8b93 --- /dev/null +++ b/src_c/IMB_ze_api.h @@ -0,0 +1,90 @@ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + *************************************************************************** + +For more documentation than found here, see + +[1] doc/ReadMe_IMB.txt + +[2] Intel(R) MPI Benchmarks + Users Guide and Methodology Description + In + doc/IMB_Users_Guide.pdf + + ***************************************************************************/ + +#ifndef IMB_ZE_API_H +#define IMB_ZE_API_H + +#include +#include "ze_api.h" + +typedef struct level_zero_functable_t { + typeof(zeInit) *zeInit; + typeof(zeDriverGet) *zeDriverGet; + typeof(zeMemAllocDevice) *zeMemAllocDevice; + typeof(zeMemAllocHost) *zeMemAllocHost; + typeof(zeMemAllocShared) *zeMemAllocShared; + typeof(zeMemFree) *zeMemFree; + typeof(zeDeviceGet) *zeDeviceGet; + typeof(zeCommandQueueCreate) *zeCommandQueueCreate; + typeof(zeCommandQueueExecuteCommandLists) *zeCommandQueueExecuteCommandLists; + typeof(zeCommandQueueSynchronize) *zeCommandQueueSynchronize; + typeof(zeCommandListCreate) *zeCommandListCreate; + typeof(zeCommandListCreateImmediate) *zeCommandListCreateImmediate; + typeof(zeCommandListAppendMemoryCopy) *zeCommandListAppendMemoryCopy; + typeof(zeCommandListReset) *zeCommandListReset; + typeof(zeCommandListClose) *zeCommandListClose; + typeof(zeContextCreate) *zeContextCreate; +} level_zero_functable_t; + +extern level_zero_functable_t level_zero_proxy; + +#define zeInit level_zero_proxy.zeInit +#define zeDriverGet level_zero_proxy.zeDriverGet +#define zeMemAllocDevice level_zero_proxy.zeMemAllocDevice +#define zeMemAllocHost level_zero_proxy.zeMemAllocHost +#define zeMemAllocShared level_zero_proxy.zeMemAllocShared +#define zeMemFree level_zero_proxy.zeMemFree +#define zeDeviceGet level_zero_proxy.zeDeviceGet +#define zeCommandQueueCreate level_zero_proxy.zeCommandQueueCreate +#define zeCommandQueueExecuteCommandLists level_zero_proxy.zeCommandQueueExecuteCommandLists +#define zeCommandQueueSynchronize level_zero_proxy.zeCommandQueueSynchronize +#define zeCommandListCreate level_zero_proxy.zeCommandListCreate +#define zeCommandListCreateImmediate level_zero_proxy.zeCommandListCreateImmediate +#define zeCommandListAppendMemoryCopy level_zero_proxy.zeCommandListAppendMemoryCopy +#define zeCommandListReset level_zero_proxy.zeCommandListReset +#define zeCommandListClose level_zero_proxy.zeCommandListClose +#define zeContextCreate level_zero_proxy.zeContextCreate + +void level_zero_init_functable_dll(const char *dll_name); + +#endif /* IMB_ZE_API_H */ diff --git a/src_c/Makefile b/src_c/Makefile index 2aa1ba5b..5a13d3d5 100644 --- a/src_c/Makefile +++ b/src_c/Makefile @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_c/Makefile_win b/src_c/Makefile_win index 7ba34f14..37862815 100644 --- a/src_c/Makefile_win +++ b/src_c/Makefile_win @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_c/P2P/Makefile b/src_c/P2P/Makefile index e9c93e0c..9ac62f45 100644 --- a/src_c/P2P/Makefile +++ b/src_c/P2P/Makefile @@ -1,49 +1,32 @@ # ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_c/P2P/imb_p2p.c b/src_c/P2P/imb_p2p.c index d239654c..90c0fb1e 100644 --- a/src_c/P2P/imb_p2p.c +++ b/src_c/P2P/imb_p2p.c @@ -1,51 +1,35 @@ -/* -***************************************************************************** + +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 Intel Corporation * * * ***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ + ***************************************************************************/ #include "imb_p2p.h" @@ -56,7 +40,7 @@ goods and services. #define INFO_BUFFER_SIZE 32767 #endif -static const char * VERSION = "2021.6"; +static const char * VERSION = "2021.7"; FILE* unit = NULL; imb_p2p_configuration_t imb_p2p_config = { 0 }; diff --git a/src_c/P2P/imb_p2p.h b/src_c/P2P/imb_p2p.h index 784ad954..6c3be8b0 100644 --- a/src_c/P2P/imb_p2p.h +++ b/src_c/P2P/imb_p2p.h @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 Intel Corporation * * * ***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #ifndef IMB_P2P_HEADER_INCLUDED #define IMB_P2P_HEADER_INCLUDED diff --git a/src_c/P2P/imb_p2p_birandom.c b/src_c/P2P/imb_p2p_birandom.c index 1552bfc8..be309e81 100644 --- a/src_c/P2P/imb_p2p_birandom.c +++ b/src_c/P2P/imb_p2p_birandom.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 Intel Corporation * * * ***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/src_c/P2P/imb_p2p_corandom.c b/src_c/P2P/imb_p2p_corandom.c index 571e5cfc..fbf94e68 100644 --- a/src_c/P2P/imb_p2p_corandom.c +++ b/src_c/P2P/imb_p2p_corandom.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 Intel Corporation * * * ***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/src_c/P2P/imb_p2p_pingping.c b/src_c/P2P/imb_p2p_pingping.c index e0d2e5a0..acd99c93 100644 --- a/src_c/P2P/imb_p2p_pingping.c +++ b/src_c/P2P/imb_p2p_pingping.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 Intel Corporation * * * ***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/src_c/P2P/imb_p2p_pingpong.c b/src_c/P2P/imb_p2p_pingpong.c index 2fa0bfee..f6ae5fc7 100644 --- a/src_c/P2P/imb_p2p_pingpong.c +++ b/src_c/P2P/imb_p2p_pingpong.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 Intel Corporation * * * ***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/src_c/P2P/imb_p2p_sendrecv_replace.c b/src_c/P2P/imb_p2p_sendrecv_replace.c index 6e7eacac..05b34091 100644 --- a/src_c/P2P/imb_p2p_sendrecv_replace.c +++ b/src_c/P2P/imb_p2p_sendrecv_replace.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 Intel Corporation * * * ***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/src_c/P2P/imb_p2p_stencil2d.c b/src_c/P2P/imb_p2p_stencil2d.c index 92f83857..008cf38a 100644 --- a/src_c/P2P/imb_p2p_stencil2d.c +++ b/src_c/P2P/imb_p2p_stencil2d.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 Intel Corporation * * * ***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/src_c/P2P/imb_p2p_stencil3d.c b/src_c/P2P/imb_p2p_stencil3d.c index 019ff5d5..0a1c43b8 100644 --- a/src_c/P2P/imb_p2p_stencil3d.c +++ b/src_c/P2P/imb_p2p_stencil3d.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 Intel Corporation * * * ***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/src_c/P2P/imb_p2p_unirandom.c b/src_c/P2P/imb_p2p_unirandom.c index fc7b3678..05eed32f 100644 --- a/src_c/P2P/imb_p2p_unirandom.c +++ b/src_c/P2P/imb_p2p_unirandom.c @@ -1,51 +1,34 @@ -/* -***************************************************************************** +/**************************************************************************** * * -* Copyright Intel Corporation. * +* Copyright (C) 2020 Intel Corporation * * * ***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ + ***************************************************************************/ #include "imb_p2p.h" diff --git a/src_cpp/EXT/EXT_benchmark.cpp b/src_cpp/EXT/EXT_benchmark.cpp index b48f6d85..5e9c09f7 100644 --- a/src_cpp/EXT/EXT_benchmark.cpp +++ b/src_cpp/EXT/EXT_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ****************************************************************************/ #include #include diff --git a/src_cpp/EXT/EXT_suite.cpp b/src_cpp/EXT/EXT_suite.cpp index f9e0b83e..1c848c57 100644 --- a/src_cpp/EXT/EXT_suite.cpp +++ b/src_cpp/EXT/EXT_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ****************************************************************************/ #if defined MPI1 || defined NBC || defined MPIIO || defined RMA #error Legacy benchmark components cannot be linked together diff --git a/src_cpp/EXT/Makefile.EXT.mk b/src_cpp/EXT/Makefile.EXT.mk index 9a690c41..9ed5a0bb 100644 --- a/src_cpp/EXT/Makefile.EXT.mk +++ b/src_cpp/EXT/Makefile.EXT.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/EXT/Makefile_win.EXT.mk b/src_cpp/EXT/Makefile_win.EXT.mk index 93deb428..f8c109a1 100644 --- a/src_cpp/EXT/Makefile_win.EXT.mk +++ b/src_cpp/EXT/Makefile_win.EXT.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/HALO/Makefile.HALO.mk b/src_cpp/HALO/Makefile.HALO.mk index d155890e..0d72a503 100644 --- a/src_cpp/HALO/Makefile.HALO.mk +++ b/src_cpp/HALO/Makefile.HALO.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/HALO/halo_benchmark.cpp b/src_cpp/HALO/halo_benchmark.cpp index 125a7315..f4594cff 100644 --- a/src_cpp/HALO/halo_benchmark.cpp +++ b/src_cpp/HALO/halo_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/src_cpp/HALO/halo_benchmark.h b/src_cpp/HALO/halo_benchmark.h index 40b07d65..ed607a38 100644 --- a/src_cpp/HALO/halo_benchmark.h +++ b/src_cpp/HALO/halo_benchmark.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once #include diff --git a/src_cpp/HALO/halo_suite.cpp b/src_cpp/HALO/halo_suite.cpp index f314f960..0622fb6b 100644 --- a/src_cpp/HALO/halo_suite.cpp +++ b/src_cpp/HALO/halo_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/src_cpp/IO/IO_benchmark.cpp b/src_cpp/IO/IO_benchmark.cpp index 41a5273b..056f432c 100644 --- a/src_cpp/IO/IO_benchmark.cpp +++ b/src_cpp/IO/IO_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/src_cpp/IO/IO_suite.cpp b/src_cpp/IO/IO_suite.cpp index f8d26daf..90d4bb0e 100644 --- a/src_cpp/IO/IO_suite.cpp +++ b/src_cpp/IO/IO_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #if defined MPI1 || defined NBC || defined RMA || defined EXT #error Legacy benchmark components cannot be linked together diff --git a/src_cpp/IO/Makefile.IO.mk b/src_cpp/IO/Makefile.IO.mk index 21fc3b8a..7fcd3421 100644 --- a/src_cpp/IO/Makefile.IO.mk +++ b/src_cpp/IO/Makefile.IO.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/IO/Makefile_win.IO.mk b/src_cpp/IO/Makefile_win.IO.mk index 238a189f..8dd25802 100644 --- a/src_cpp/IO/Makefile_win.IO.mk +++ b/src_cpp/IO/Makefile_win.IO.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/MPI1/MPI1_benchmark.cpp b/src_cpp/MPI1/MPI1_benchmark.cpp index 3969f7e7..fbe4263d 100644 --- a/src_cpp/MPI1/MPI1_benchmark.cpp +++ b/src_cpp/MPI1/MPI1_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/src_cpp/MPI1/MPI1_suite.cpp b/src_cpp/MPI1/MPI1_suite.cpp index 1f1a554f..be046dd5 100644 --- a/src_cpp/MPI1/MPI1_suite.cpp +++ b/src_cpp/MPI1/MPI1_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #if defined RMA || defined NBC || defined MPIIO || defined EXT #error Legacy benchmark components cannot be linked together @@ -711,6 +693,7 @@ template <> bool BenchmarkSuite::prepare(const args_parser &parser, con } #ifdef GPU_ENABLE + gpu_initialize(); // mem_alloc_type string mem_alloc_type = parser.get("mem_alloc_type"); if (mem_alloc_type == "cpu") { diff --git a/src_cpp/MPI1/Makefile.MPI1.mk b/src_cpp/MPI1/Makefile.MPI1.mk index de81a4b6..c9b905f2 100644 --- a/src_cpp/MPI1/Makefile.MPI1.mk +++ b/src_cpp/MPI1/Makefile.MPI1.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** @@ -88,9 +71,23 @@ $(C_SRC_DIR)/IMB_strgs.c \ $(C_SRC_DIR)/IMB_utils.c \ $(C_SRC_DIR)/IMB_warm_up.c ifdef GPU_ENABLE -override C_SRC += $(C_SRC_DIR)/IMB_l0.c -override LDFLAGS += -lze_loader -override CPPFLAGS += -DGPU_ENABLE +override C_SRC += $(C_SRC_DIR)/IMB_gpu_common.c +override CPPFLAGS += -DGPU_ENABLE -ldl +ifdef CUDA_INCLUDE_DIR +override C_SRC += $(C_SRC_DIR)/IMB_cuda.c \ +$(C_SRC_DIR)/IMB_cuda_api.c +override CPPFLAGS += -I${CUDA_INCLUDE_DIR} -DCUDA_INCLUDE_DIR +endif +ifdef ZE_INCLUDE_DIR +override C_SRC += $(C_SRC_DIR)/IMB_ze.c \ +$(C_SRC_DIR)/IMB_ze_api.c +override CPPFLAGS += -I${ZE_INCLUDE_DIR} -DZE_INCLUDE_DIR +endif +ifndef CUDA_INCLUDE_DIR +ifndef ZE_INCLUDE_DIR +$(error CUDA_INCLUDE_DIR and ZE_INCLUDE_DIR are not set) +endif +endif SUBDIR:=GPU else SUBDIR:=CPU @@ -108,4 +105,4 @@ MPI1/$(SUBDIR)/%.o: MPI1/%.cpp $(SUBDIR) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -DMPI1 -c -o $@ $< ${SUBDIR}: - mkdir -p MPI1/${SUBDIR} \ No newline at end of file + mkdir -p MPI1/${SUBDIR} diff --git a/src_cpp/MPI1/Makefile_win.MPI1.mk b/src_cpp/MPI1/Makefile_win.MPI1.mk index b5f6fd8c..3a1b2e81 100644 --- a/src_cpp/MPI1/Makefile_win.MPI1.mk +++ b/src_cpp/MPI1/Makefile_win.MPI1.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/MT/MT_benchmark.cpp b/src_cpp/MT/MT_benchmark.cpp index 5fa859b6..3288beab 100644 --- a/src_cpp/MT/MT_benchmark.cpp +++ b/src_cpp/MT/MT_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/src_cpp/MT/MT_benchmark.h b/src_cpp/MT/MT_benchmark.h index 0d3874c8..911eb184 100644 --- a/src_cpp/MT/MT_benchmark.h +++ b/src_cpp/MT/MT_benchmark.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once #include diff --git a/src_cpp/MT/MT_suite.cpp b/src_cpp/MT/MT_suite.cpp index b102cd64..ea968afe 100644 --- a/src_cpp/MT/MT_suite.cpp +++ b/src_cpp/MT/MT_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include @@ -196,7 +178,7 @@ template <> bool BenchmarkSuite::prepare(const args_parser &parser, MPI_Comm_rank(MPI_COMM_WORLD, &rank); if (rank == 0 && !noheader) { output << "#------------------------------------------------------------------" << std::endl; - output << "# Intel(R) MPI Benchmarks " << "2021.6" << ", MT part " << std::endl; + output << "# Intel(R) MPI Benchmarks " << "2021.7" << ", MT part " << std::endl; output << "#------------------------------------------------------------------" << std::endl; output << "#" << std::endl; } diff --git a/src_cpp/MT/MT_types.h b/src_cpp/MT/MT_types.h index 08cee964..6de96d37 100644 --- a/src_cpp/MT/MT_types.h +++ b/src_cpp/MT/MT_types.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once diff --git a/src_cpp/MT/Makefile.MT.mk b/src_cpp/MT/Makefile.MT.mk index db0f172d..b2b46270 100644 --- a/src_cpp/MT/Makefile.MT.mk +++ b/src_cpp/MT/Makefile.MT.mk @@ -1,53 +1,35 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** - override CPPFLAGS += -DMT override CPPFLAGS += -IMT diff --git a/src_cpp/MT/Makefile_win.MT.mk b/src_cpp/MT/Makefile_win.MT.mk index c5165e22..df0cf137 100644 --- a/src_cpp/MT/Makefile_win.MT.mk +++ b/src_cpp/MT/Makefile_win.MT.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/Makefile b/src_cpp/Makefile index f01d065c..aceb9d6b 100644 --- a/src_cpp/Makefile +++ b/src_cpp/Makefile @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/Makefile_win b/src_cpp/Makefile_win index 1f02765f..e88b000f 100644 --- a/src_cpp/Makefile_win +++ b/src_cpp/Makefile_win @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/NBC/Makefile.NBC.mk b/src_cpp/NBC/Makefile.NBC.mk index 103aa33b..ab7aee88 100644 --- a/src_cpp/NBC/Makefile.NBC.mk +++ b/src_cpp/NBC/Makefile.NBC.mk @@ -1,53 +1,34 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. -# -# *************************************************************************** +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# *************************************************************************** include helpers/Makefile.*.mk diff --git a/src_cpp/NBC/Makefile_win.NBC.mk b/src_cpp/NBC/Makefile_win.NBC.mk index ebfadf33..544b2276 100644 --- a/src_cpp/NBC/Makefile_win.NBC.mk +++ b/src_cpp/NBC/Makefile_win.NBC.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/NBC/NBC_benchmark.cpp b/src_cpp/NBC/NBC_benchmark.cpp index 9c2c6b56..7e23471c 100644 --- a/src_cpp/NBC/NBC_benchmark.cpp +++ b/src_cpp/NBC/NBC_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/src_cpp/NBC/NBC_suite.cpp b/src_cpp/NBC/NBC_suite.cpp index 8aa053bb..e09fd4c2 100644 --- a/src_cpp/NBC/NBC_suite.cpp +++ b/src_cpp/NBC/NBC_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #if defined MPI1 || defined RMA || defined MPIIO || defined EXT #error Legacy benchmark components cannot be linked together diff --git a/src_cpp/RMA/Makefile.RMA.mk b/src_cpp/RMA/Makefile.RMA.mk index 666a2624..8fb7a283 100644 --- a/src_cpp/RMA/Makefile.RMA.mk +++ b/src_cpp/RMA/Makefile.RMA.mk @@ -1,53 +1,35 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** - include helpers/Makefile.*.mk override CPPFLAGS += -DRMA diff --git a/src_cpp/RMA/Makefile_win.RMA.mk b/src_cpp/RMA/Makefile_win.RMA.mk index 43079500..a23473b9 100644 --- a/src_cpp/RMA/Makefile_win.RMA.mk +++ b/src_cpp/RMA/Makefile_win.RMA.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/RMA/RMA_benchmark.cpp b/src_cpp/RMA/RMA_benchmark.cpp index 76bd501e..2100fbf7 100644 --- a/src_cpp/RMA/RMA_benchmark.cpp +++ b/src_cpp/RMA/RMA_benchmark.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/src_cpp/RMA/RMA_suite.cpp b/src_cpp/RMA/RMA_suite.cpp index 0fcc2b8b..7b71871b 100644 --- a/src_cpp/RMA/RMA_suite.cpp +++ b/src_cpp/RMA/RMA_suite.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #if defined MPI1 || defined NBC || defined MPIIO || defined EXT #error Legacy benchmark components cannot be linked together diff --git a/src_cpp/any.h b/src_cpp/any.h index 67ce9c25..455ba26d 100644 --- a/src_cpp/any.h +++ b/src_cpp/any.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once #include diff --git a/src_cpp/args_parser.cpp b/src_cpp/args_parser.cpp index e8ec5cdc..b2349206 100644 --- a/src_cpp/args_parser.cpp +++ b/src_cpp/args_parser.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include "args_parser.h" #ifdef WITH_YAML_CPP diff --git a/src_cpp/args_parser.h b/src_cpp/args_parser.h index cc62d510..e40a7a22 100644 --- a/src_cpp/args_parser.h +++ b/src_cpp/args_parser.h @@ -1,50 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once diff --git a/src_cpp/args_parser_utests.cpp b/src_cpp/args_parser_utests.cpp index 60ed2c1c..871dae78 100644 --- a/src_cpp/args_parser_utests.cpp +++ b/src_cpp/args_parser_utests.cpp @@ -1,50 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ + ***************************************************************************/ #include "args_parser.h" #ifdef WITH_YAML_CPP diff --git a/src_cpp/benchmark.h b/src_cpp/benchmark.h index f8bfe080..257c05b7 100644 --- a/src_cpp/benchmark.h +++ b/src_cpp/benchmark.h @@ -1,50 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. -*/ + ***************************************************************************/ #pragma once #include "smart_ptr.h" diff --git a/src_cpp/benchmark_suite.h b/src_cpp/benchmark_suite.h index 7bf4605d..4738f3b2 100644 --- a/src_cpp/benchmark_suite.h +++ b/src_cpp/benchmark_suite.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once diff --git a/src_cpp/benchmark_suite_base.h b/src_cpp/benchmark_suite_base.h index 7359e49a..5b3d773a 100644 --- a/src_cpp/benchmark_suite_base.h +++ b/src_cpp/benchmark_suite_base.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once diff --git a/src_cpp/benchmark_suites_collection.cpp b/src_cpp/benchmark_suites_collection.cpp index f1a02438..805fc2f5 100644 --- a/src_cpp/benchmark_suites_collection.cpp +++ b/src_cpp/benchmark_suites_collection.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include diff --git a/src_cpp/benchmark_suites_collection.h b/src_cpp/benchmark_suites_collection.h index 738cc69d..31cf1c2e 100644 --- a/src_cpp/benchmark_suites_collection.h +++ b/src_cpp/benchmark_suites_collection.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once diff --git a/src_cpp/example/Makefile.example.mk b/src_cpp/example/Makefile.example.mk index 96a1c2d4..2ff4e03d 100644 --- a/src_cpp/example/Makefile.example.mk +++ b/src_cpp/example/Makefile.example.mk @@ -1,49 +1,32 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** diff --git a/src_cpp/example/example_benchmark1.cpp b/src_cpp/example/example_benchmark1.cpp index 40b06f16..14a5bb4c 100644 --- a/src_cpp/example/example_benchmark1.cpp +++ b/src_cpp/example/example_benchmark1.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ + ****************************************************************************/ #include #include diff --git a/src_cpp/example/example_benchmark2.cpp b/src_cpp/example/example_benchmark2.cpp index b1d24a94..66c81f24 100644 --- a/src_cpp/example/example_benchmark2.cpp +++ b/src_cpp/example/example_benchmark2.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ + ****************************************************************************/ #include #include diff --git a/src_cpp/example/example_benchmark3.cpp b/src_cpp/example/example_benchmark3.cpp index e6b27275..6212c109 100644 --- a/src_cpp/example/example_benchmark3.cpp +++ b/src_cpp/example/example_benchmark3.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ + ****************************************************************************/ #include #include diff --git a/src_cpp/example/example_benchmark4.cpp b/src_cpp/example/example_benchmark4.cpp index a9f3af56..f1a60e13 100644 --- a/src_cpp/example/example_benchmark4.cpp +++ b/src_cpp/example/example_benchmark4.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ****************************************************************************/ #include #include diff --git a/src_cpp/example/example_benchmark5.cpp b/src_cpp/example/example_benchmark5.cpp index 4bce3189..d5ea57d1 100644 --- a/src_cpp/example/example_benchmark5.cpp +++ b/src_cpp/example/example_benchmark5.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ + ****************************************************************************/ #include diff --git a/src_cpp/helpers/Makefile.helpers.mk b/src_cpp/helpers/Makefile.helpers.mk index 15dc95a4..bae737cc 100644 --- a/src_cpp/helpers/Makefile.helpers.mk +++ b/src_cpp/helpers/Makefile.helpers.mk @@ -1,53 +1,35 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. + +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. + +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # *************************************************************************** - C_SRC_DIR=../src_c override CPPFLAGS += -Ihelpers override CPPFLAGS += -I$(C_SRC_DIR) diff --git a/src_cpp/helpers/Makefile_win.helpers.mk b/src_cpp/helpers/Makefile_win.helpers.mk index 9df280ad..fedae594 100644 --- a/src_cpp/helpers/Makefile_win.helpers.mk +++ b/src_cpp/helpers/Makefile_win.helpers.mk @@ -1,53 +1,34 @@ -#***************************************************************************** +# ***************************************************************************** # * * -# * Copyright Intel Corporation. * +# * Copyright (C) 2023 Intel Corporation * # * * # ***************************************************************************** -# -# This code is covered by the Community Source License (CPL), version -# 1.0 as published by IBM and reproduced in the file "license.txt" in the -# "license" subdirectory. Redistribution in source and binary form, with -# or without modification, is permitted ONLY within the regulations -# contained in above mentioned license. -# -# Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -# within the regulations of the "License for Use of "Intel(R) MPI -# Benchmarks" Name and Trademark" as reproduced in the file -# "use-of-trademark-license.txt" in the "license" subdirectory. -# -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, compliance with applicable -# laws, damage to or loss of data, programs or equipment, and -# unavailability or interruption of operations. -# -# EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -# ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -# WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -# DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. -# -# EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -# YOUR JURISDICTION. It is licensee's responsibility to comply with any -# export regulations applicable in licensee's jurisdiction. Under -# CURRENT U.S. export regulations this software is eligible for export -# from the U.S. and can be downloaded by or otherwise exported or -# reexported worldwide EXCEPT to U.S. embargoed destinations which -# include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -# Afghanistan and any other country to which the U.S. has embargoed -# goods and services. -# -# *************************************************************************** +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: + +# 1. Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# 3. Neither the name of the copyright holder nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +# *************************************************************************** C_SRC_DIR= ../src_c diff --git a/src_cpp/helpers/helper_IMB_functions.h b/src_cpp/helpers/helper_IMB_functions.h index 286a03ec..e90b04ca 100644 --- a/src_cpp/helpers/helper_IMB_functions.h +++ b/src_cpp/helpers/helper_IMB_functions.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once diff --git a/src_cpp/helpers/original_benchmark.h b/src_cpp/helpers/original_benchmark.h index bcfe6b33..700b78c8 100644 --- a/src_cpp/helpers/original_benchmark.h +++ b/src_cpp/helpers/original_benchmark.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once #include diff --git a/src_cpp/imb.cpp b/src_cpp/imb.cpp index 034013e3..3f4302e1 100644 --- a/src_cpp/imb.cpp +++ b/src_cpp/imb.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include #include @@ -70,7 +52,7 @@ int main(int argc, char * *argv) bool no_mpi_init_flag = true; int return_value = 0; int rank = 0, size = 0; - const char *program_name = "Intel(R) MPI Benchmarks 2021.6"; + const char *program_name = "Intel(R) MPI Benchmarks 2021.7"; std::ostringstream output; // Some unit tests for args parser diff --git a/src_cpp/scope.cpp b/src_cpp/scope.cpp index 226489ed..0873740f 100644 --- a/src_cpp/scope.cpp +++ b/src_cpp/scope.cpp @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #include "scope.h" diff --git a/src_cpp/scope.h b/src_cpp/scope.h index 2ac3bde8..d3938cbc 100644 --- a/src_cpp/scope.h +++ b/src_cpp/scope.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** - -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. - -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. - -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + ***************************************************************************/ #pragma once diff --git a/src_cpp/smart_ptr.h b/src_cpp/smart_ptr.h index 63bababd..73600ccc 100644 --- a/src_cpp/smart_ptr.h +++ b/src_cpp/smart_ptr.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once diff --git a/src_cpp/utils.h b/src_cpp/utils.h index df4b449a..42dc253a 100644 --- a/src_cpp/utils.h +++ b/src_cpp/utils.h @@ -1,52 +1,34 @@ -/***************************************************************************** - * * - * Copyright Intel Corporation. * - * * - ***************************************************************************** +/**************************************************************************** +* * +* Copyright (C) 2023 Intel Corporation * +* * +***************************************************************************** -This code is covered by the Community Source License (CPL), version -1.0 as published by IBM and reproduced in the file "license.txt" in the -"license" subdirectory. Redistribution in source and binary form, with -or without modification, is permitted ONLY within the regulations -contained in above mentioned license. +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: -Use of the name and trademark "Intel(R) MPI Benchmarks" is allowed ONLY -within the regulations of the "License for Use of "Intel(R) MPI -Benchmarks" Name and Trademark" as reproduced in the file -"use-of-trademark-license.txt" in the "license" subdirectory. +1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. -THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -solely responsible for determining the appropriateness of using and -distributing the Program and assumes all risks associated with its -exercise of rights under this Agreement, including but not limited to -the risks and costs of program errors, compliance with applicable -laws, damage to or loss of data, programs or equipment, and -unavailability or interruption of operations. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, +EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR -ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING -WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR -DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -EXPORT LAWS: THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS OF -YOUR JURISDICTION. It is licensee's responsibility to comply with any -export regulations applicable in licensee's jurisdiction. Under -CURRENT U.S. export regulations this software is eligible for export -from the U.S. and can be downloaded by or otherwise exported or -reexported worldwide EXCEPT to U.S. embargoed destinations which -include Cuba, Iraq, Libya, North Korea, Iran, Syria, Sudan, -Afghanistan and any other country to which the U.S. has embargoed -goods and services. - - *************************************************************************** -*/ + ***************************************************************************/ #pragma once