From 835182b71bd41db3a9e05f7084ea05e4c796fc79 Mon Sep 17 00:00:00 2001 From: "Yount, Chuck" Date: Mon, 6 May 2024 15:13:35 -0700 Subject: [PATCH 01/10] Update copyright to 2024. --- Makefile | 2 +- README.md | 4 ++-- YASK-LICENSE.md | 2 +- include/aux/Soln.hpp | 2 +- include/aux/yc_node_api.hpp | 2 +- include/aux/yc_solution_api.hpp | 2 +- include/aux/yk_solution_api.hpp | 2 +- include/aux/yk_var_api.hpp | 2 +- include/yask_common_api.hpp | 2 +- include/yask_compiler_api.hpp | 2 +- include/yask_kernel_api.hpp | 2 +- src/common/combo.cpp | 2 +- src/common/combo.hpp | 2 +- src/common/common.mk | 2 +- src/common/common_utils.cpp | 6 +++--- src/common/common_utils.hpp | 2 +- src/common/fd_coeff2.cpp | 2 +- src/common/idiv.hpp | 2 +- src/common/output.cpp | 2 +- src/common/swig/yask_common_api.i | 2 +- src/common/tests/combo_test.cpp | 2 +- src/common/tests/tuple_test.cpp | 2 +- src/common/tuple.cpp | 2 +- src/common/tuple.hpp | 2 +- src/common/yask_assert.hpp | 2 +- src/compiler/Makefile | 2 +- src/compiler/compiler_main.cpp | 2 +- src/compiler/lib/Cpp.cpp | 2 +- src/compiler/lib/Cpp.hpp | 2 +- src/compiler/lib/CppIntrin.cpp | 2 +- src/compiler/lib/CppIntrin.hpp | 2 +- src/compiler/lib/Eqs.cpp | 2 +- src/compiler/lib/Eqs.hpp | 2 +- src/compiler/lib/Expr.cpp | 2 +- src/compiler/lib/Expr.hpp | 2 +- src/compiler/lib/ExprUtils.cpp | 2 +- src/compiler/lib/ExprUtils.hpp | 2 +- src/compiler/lib/Print.cpp | 2 +- src/compiler/lib/Print.hpp | 2 +- src/compiler/lib/Settings.cpp | 2 +- src/compiler/lib/Settings.hpp | 2 +- src/compiler/lib/Solution.cpp | 2 +- src/compiler/lib/Solution.hpp | 2 +- src/compiler/lib/Var.cpp | 2 +- src/compiler/lib/Var.hpp | 2 +- src/compiler/lib/VarPoint.cpp | 2 +- src/compiler/lib/VarPoint.hpp | 2 +- src/compiler/lib/Vec.cpp | 2 +- src/compiler/lib/Vec.hpp | 2 +- src/compiler/lib/Visitor.hpp | 2 +- src/compiler/lib/YaskKernel.cpp | 2 +- src/compiler/swig/yask_compiler_api.i | 2 +- src/compiler/tests/yask_compiler_api_exception_test.cpp | 2 +- src/compiler/tests/yask_compiler_api_exception_test.py | 2 +- src/compiler/tests/yask_compiler_api_test.cpp | 2 +- src/compiler/tests/yask_compiler_api_test.py | 2 +- src/contrib/coefficients/Makefile | 2 +- src/contrib/coefficients/fd_coeff.cpp | 2 +- src/contrib/coefficients/fd_coeff.hpp | 2 +- src/contrib/coefficients/fd_coeff_test.cpp | 2 +- src/examples/Makefile | 2 +- src/examples/swe.mk | 2 +- src/examples/swe_main.cpp | 2 +- src/examples/wave_eq.mk | 2 +- src/examples/wave_eq_main.cpp | 2 +- src/kernel/Makefile | 2 +- src/kernel/lib/alloc.cpp | 2 +- src/kernel/lib/alloc.hpp | 2 +- src/kernel/lib/auto_tuner.cpp | 2 +- src/kernel/lib/auto_tuner.hpp | 2 +- src/kernel/lib/cache_model.hpp | 2 +- src/kernel/lib/context.cpp | 2 +- src/kernel/lib/context.hpp | 2 +- src/kernel/lib/factory.cpp | 2 +- src/kernel/lib/generic_var.cpp | 2 +- src/kernel/lib/generic_var.hpp | 2 +- src/kernel/lib/halo.cpp | 2 +- src/kernel/lib/indices.hpp | 2 +- src/kernel/lib/new_var.cpp | 2 +- src/kernel/lib/offload.hpp | 2 +- src/kernel/lib/realv.hpp | 2 +- src/kernel/lib/settings.cpp | 2 +- src/kernel/lib/settings.hpp | 2 +- src/kernel/lib/setup.cpp | 2 +- src/kernel/lib/soln_apis.cpp | 2 +- src/kernel/lib/stencil_calc.cpp | 2 +- src/kernel/lib/stencil_calc.hpp | 2 +- src/kernel/lib/utils.cpp | 2 +- src/kernel/lib/utils.hpp | 2 +- src/kernel/lib/yask.hpp | 2 +- src/kernel/lib/yask_stencil.hpp | 2 +- src/kernel/lib/yk_var.cpp | 2 +- src/kernel/lib/yk_var.hpp | 2 +- src/kernel/lib/yk_var_apis.cpp | 2 +- src/kernel/swig/yask_kernel_api.i | 2 +- src/kernel/tests/openmp_test.cpp | 2 +- src/kernel/tests/var_test.cpp | 2 +- src/kernel/tests/yask_kernel_api_exception_test.cpp | 2 +- src/kernel/tests/yask_kernel_api_exception_test.py | 2 +- src/kernel/tests/yask_kernel_api_test.cpp | 2 +- src/kernel/tests/yask_kernel_api_test.py | 2 +- src/kernel/yask.sh | 2 +- src/kernel/yask_main.cpp | 2 +- src/stencils/AwpStencil.cpp | 2 +- src/stencils/ElasticStencil/Elastic2Stencil.hpp | 2 +- src/stencils/ElasticStencil/ElasticStencil.hpp | 2 +- src/stencils/FSGElastic2Stencil.cpp | 2 +- src/stencils/FSGElasticStencil.cpp | 2 +- src/stencils/Iso3dfdStencil.cpp | 2 +- src/stencils/SSGElastic2Stencil.cpp | 2 +- src/stencils/SSGElasticStencil.cpp | 2 +- src/stencils/SWE2dStencil.cpp | 2 +- src/stencils/SimpleStencils.cpp | 2 +- src/stencils/TTIStencil.cpp | 2 +- src/stencils/TestStencils.cpp | 2 +- src/stencils/Wave2dStencil.cpp | 2 +- utils/bin/analyze_trace.pl | 2 +- utils/bin/convert_v2_stencil.pl | 2 +- utils/bin/gen_layouts.pl | 2 +- utils/bin/gen_loops.pl | 2 +- utils/bin/macroize_stencils.pl | 2 +- utils/bin/view_asm.pl | 2 +- utils/bin/yask_indent.sh | 2 +- utils/bin/yask_log_to_csv.pl | 2 +- utils/lib/CmdLine.pm | 2 +- utils/lib/YaskUtils.pm | 2 +- 126 files changed, 129 insertions(+), 129 deletions(-) diff --git a/Makefile b/Makefile index 939e0b06..844c2908 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/README.md b/README.md index c9167eb0..d3d82a25 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,11 @@ and Intel(R) graphics processors. ### Pre-requisites: * Intel(R) [oneAPI](https://software.intel.com/content/www/us/en/develop/tools/oneapi.html) - HPC Toolkit for Linux (toolkit 2023.2 or later recommended); this will install + HPC Toolkit for Linux (toolkit 2024.1 or later recommended); this will install the Intel(R) oneAPI DPC++/C++ Compiler and the Intel(R) MPI Library. See compiler notes below under version 4.00.00 changes. * Gnu C++ compiler, g++ (8.5.0 or later recommended). - Even when using Intel compilers, a g++ installation is required. + (Even when using Intel compilers, a g++ installation is required.) * Linux libraries `librt` and `libnuma`. * Grep. * Perl (v5 or later). diff --git a/YASK-LICENSE.md b/YASK-LICENSE.md index 45bd437f..6bc70b1c 100644 --- a/YASK-LICENSE.md +++ b/YASK-LICENSE.md @@ -1,5 +1,5 @@ YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/include/aux/Soln.hpp b/include/aux/Soln.hpp index c68e06f2..a8b23162 100644 --- a/include/aux/Soln.hpp +++ b/include/aux/Soln.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/include/aux/yc_node_api.hpp b/include/aux/yc_node_api.hpp index 2c5b04ab..188e7d31 100644 --- a/include/aux/yc_node_api.hpp +++ b/include/aux/yc_node_api.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/include/aux/yc_solution_api.hpp b/include/aux/yc_solution_api.hpp index 8410aa39..737566cf 100644 --- a/include/aux/yc_solution_api.hpp +++ b/include/aux/yc_solution_api.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/include/aux/yk_solution_api.hpp b/include/aux/yk_solution_api.hpp index 89072561..4c947172 100644 --- a/include/aux/yk_solution_api.hpp +++ b/include/aux/yk_solution_api.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/include/aux/yk_var_api.hpp b/include/aux/yk_var_api.hpp index 8451d365..d16fee1a 100644 --- a/include/aux/yk_var_api.hpp +++ b/include/aux/yk_var_api.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/include/yask_common_api.hpp b/include/yask_common_api.hpp index 804df7c2..42dc45a4 100644 --- a/include/yask_common_api.hpp +++ b/include/yask_common_api.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/include/yask_compiler_api.hpp b/include/yask_compiler_api.hpp index 60bf76d1..7d0c6268 100644 --- a/include/yask_compiler_api.hpp +++ b/include/yask_compiler_api.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/include/yask_kernel_api.hpp b/include/yask_kernel_api.hpp index 104d6187..cf0e0cc6 100644 --- a/include/yask_kernel_api.hpp +++ b/include/yask_kernel_api.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/combo.cpp b/src/common/combo.cpp index f00d17ce..a7e2f941 100644 --- a/src/common/combo.cpp +++ b/src/common/combo.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/combo.hpp b/src/common/combo.hpp index 6146eb17..9ebfccb2 100644 --- a/src/common/combo.hpp +++ b/src/common/combo.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/common.mk b/src/common/common.mk index 88fba652..639e2980 100644 --- a/src/common/common.mk +++ b/src/common/common.mk @@ -1,6 +1,6 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/common/common_utils.cpp b/src/common/common_utils.cpp index b688be9d..54c92332 100644 --- a/src/common/common_utils.cpp +++ b/src/common/common_utils.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to @@ -47,7 +47,7 @@ namespace yask { // https://semver.org/. // Format: "major.minor.patch[-alpha|-beta]". - const string version = "4.05.02"; + const string version = "4.05.03"; string yask_get_version_string() { return version; @@ -623,7 +623,7 @@ namespace yask { "\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n" "\u2502 Y*A*S*K \u2500\u2500 Yet Another Stencil Kit \u2502\n" "\u2502 https://github.com/intel/yask \u2502\n" - "\u2502 Copyright (c) 2014-2023, Intel Corporation \u2502\n" + "\u2502 Copyright (c) 2014-2024, Intel Corporation \u2502\n" "\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n" "Version: " << yask_get_version_string() << endl; diff --git a/src/common/common_utils.hpp b/src/common/common_utils.hpp index 1d6de5a6..d89100a3 100644 --- a/src/common/common_utils.hpp +++ b/src/common/common_utils.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/fd_coeff2.cpp b/src/common/fd_coeff2.cpp index 99c2fa7b..5ba40c4a 100644 --- a/src/common/fd_coeff2.cpp +++ b/src/common/fd_coeff2.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/idiv.hpp b/src/common/idiv.hpp index 2eb05203..ecfe22f9 100644 --- a/src/common/idiv.hpp +++ b/src/common/idiv.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/output.cpp b/src/common/output.cpp index fb49a07f..191d09cc 100644 --- a/src/common/output.cpp +++ b/src/common/output.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/swig/yask_common_api.i b/src/common/swig/yask_common_api.i index 1d203679..ce61895b 100644 --- a/src/common/swig/yask_common_api.i +++ b/src/common/swig/yask_common_api.i @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/tests/combo_test.cpp b/src/common/tests/combo_test.cpp index 4e6636d2..1beb5b8f 100644 --- a/src/common/tests/combo_test.cpp +++ b/src/common/tests/combo_test.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/tests/tuple_test.cpp b/src/common/tests/tuple_test.cpp index cbec4293..7be8d986 100644 --- a/src/common/tests/tuple_test.cpp +++ b/src/common/tests/tuple_test.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/tuple.cpp b/src/common/tuple.cpp index e964b353..d7e8540d 100644 --- a/src/common/tuple.cpp +++ b/src/common/tuple.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/tuple.hpp b/src/common/tuple.hpp index 0642ded8..8f45fc20 100644 --- a/src/common/tuple.hpp +++ b/src/common/tuple.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/common/yask_assert.hpp b/src/common/yask_assert.hpp index 3e46e382..2b6e720c 100644 --- a/src/common/yask_assert.hpp +++ b/src/common/yask_assert.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/Makefile b/src/compiler/Makefile index a252b098..bf30a265 100644 --- a/src/compiler/Makefile +++ b/src/compiler/Makefile @@ -1,6 +1,6 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/compiler_main.cpp b/src/compiler/compiler_main.cpp index 9fdea4fd..7cb9e9b2 100644 --- a/src/compiler/compiler_main.cpp +++ b/src/compiler/compiler_main.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Cpp.cpp b/src/compiler/lib/Cpp.cpp index 527bfd25..ec248f22 100644 --- a/src/compiler/lib/Cpp.cpp +++ b/src/compiler/lib/Cpp.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Cpp.hpp b/src/compiler/lib/Cpp.hpp index 9ba1a666..a6962fca 100644 --- a/src/compiler/lib/Cpp.hpp +++ b/src/compiler/lib/Cpp.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/CppIntrin.cpp b/src/compiler/lib/CppIntrin.cpp index 784d2989..0bad68b8 100644 --- a/src/compiler/lib/CppIntrin.cpp +++ b/src/compiler/lib/CppIntrin.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/CppIntrin.hpp b/src/compiler/lib/CppIntrin.hpp index 7bf16734..dc501a61 100644 --- a/src/compiler/lib/CppIntrin.hpp +++ b/src/compiler/lib/CppIntrin.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Eqs.cpp b/src/compiler/lib/Eqs.cpp index d2c515a7..f03ef421 100644 --- a/src/compiler/lib/Eqs.cpp +++ b/src/compiler/lib/Eqs.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Eqs.hpp b/src/compiler/lib/Eqs.hpp index 33b466ac..df688965 100644 --- a/src/compiler/lib/Eqs.hpp +++ b/src/compiler/lib/Eqs.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Expr.cpp b/src/compiler/lib/Expr.cpp index 0db69a44..0f9c54b4 100644 --- a/src/compiler/lib/Expr.cpp +++ b/src/compiler/lib/Expr.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Expr.hpp b/src/compiler/lib/Expr.hpp index baf5bc7e..e05828d2 100644 --- a/src/compiler/lib/Expr.hpp +++ b/src/compiler/lib/Expr.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/ExprUtils.cpp b/src/compiler/lib/ExprUtils.cpp index 260e78ec..e4a8478b 100644 --- a/src/compiler/lib/ExprUtils.cpp +++ b/src/compiler/lib/ExprUtils.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/ExprUtils.hpp b/src/compiler/lib/ExprUtils.hpp index 89560c2d..715fdcb8 100644 --- a/src/compiler/lib/ExprUtils.hpp +++ b/src/compiler/lib/ExprUtils.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Print.cpp b/src/compiler/lib/Print.cpp index c49853d0..24ee2d55 100644 --- a/src/compiler/lib/Print.cpp +++ b/src/compiler/lib/Print.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Print.hpp b/src/compiler/lib/Print.hpp index 911338f8..dd026b74 100644 --- a/src/compiler/lib/Print.hpp +++ b/src/compiler/lib/Print.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Settings.cpp b/src/compiler/lib/Settings.cpp index 48f2947c..28638197 100644 --- a/src/compiler/lib/Settings.cpp +++ b/src/compiler/lib/Settings.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Settings.hpp b/src/compiler/lib/Settings.hpp index d51e295b..0b139dc6 100644 --- a/src/compiler/lib/Settings.hpp +++ b/src/compiler/lib/Settings.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Solution.cpp b/src/compiler/lib/Solution.cpp index 3f6f5d89..b0f327e1 100644 --- a/src/compiler/lib/Solution.cpp +++ b/src/compiler/lib/Solution.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Solution.hpp b/src/compiler/lib/Solution.hpp index 94ccc2eb..c4462896 100644 --- a/src/compiler/lib/Solution.hpp +++ b/src/compiler/lib/Solution.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Var.cpp b/src/compiler/lib/Var.cpp index 821e3005..1ac3dc21 100644 --- a/src/compiler/lib/Var.cpp +++ b/src/compiler/lib/Var.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Var.hpp b/src/compiler/lib/Var.hpp index 313120d1..e2d4ebd1 100644 --- a/src/compiler/lib/Var.hpp +++ b/src/compiler/lib/Var.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/VarPoint.cpp b/src/compiler/lib/VarPoint.cpp index 9225e8d4..573d109a 100644 --- a/src/compiler/lib/VarPoint.cpp +++ b/src/compiler/lib/VarPoint.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/VarPoint.hpp b/src/compiler/lib/VarPoint.hpp index fe7dc06d..02440907 100644 --- a/src/compiler/lib/VarPoint.hpp +++ b/src/compiler/lib/VarPoint.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Vec.cpp b/src/compiler/lib/Vec.cpp index dbca99a2..b1d125e5 100644 --- a/src/compiler/lib/Vec.cpp +++ b/src/compiler/lib/Vec.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Vec.hpp b/src/compiler/lib/Vec.hpp index 2e228153..36e5e987 100644 --- a/src/compiler/lib/Vec.hpp +++ b/src/compiler/lib/Vec.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/Visitor.hpp b/src/compiler/lib/Visitor.hpp index 9274a54d..3a0b0efb 100644 --- a/src/compiler/lib/Visitor.hpp +++ b/src/compiler/lib/Visitor.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/lib/YaskKernel.cpp b/src/compiler/lib/YaskKernel.cpp index 80ff1aff..d779a04c 100644 --- a/src/compiler/lib/YaskKernel.cpp +++ b/src/compiler/lib/YaskKernel.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/swig/yask_compiler_api.i b/src/compiler/swig/yask_compiler_api.i index a18086b7..3d3ffe09 100644 --- a/src/compiler/swig/yask_compiler_api.i +++ b/src/compiler/swig/yask_compiler_api.i @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/tests/yask_compiler_api_exception_test.cpp b/src/compiler/tests/yask_compiler_api_exception_test.cpp index e030dcdb..132e9aa1 100644 --- a/src/compiler/tests/yask_compiler_api_exception_test.cpp +++ b/src/compiler/tests/yask_compiler_api_exception_test.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/tests/yask_compiler_api_exception_test.py b/src/compiler/tests/yask_compiler_api_exception_test.py index 7216615d..3876249b 100755 --- a/src/compiler/tests/yask_compiler_api_exception_test.py +++ b/src/compiler/tests/yask_compiler_api_exception_test.py @@ -2,7 +2,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/tests/yask_compiler_api_test.cpp b/src/compiler/tests/yask_compiler_api_test.cpp index 9974a2e7..dde76441 100644 --- a/src/compiler/tests/yask_compiler_api_test.cpp +++ b/src/compiler/tests/yask_compiler_api_test.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/compiler/tests/yask_compiler_api_test.py b/src/compiler/tests/yask_compiler_api_test.py index 2b042a76..b7cbe764 100755 --- a/src/compiler/tests/yask_compiler_api_test.py +++ b/src/compiler/tests/yask_compiler_api_test.py @@ -2,7 +2,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/contrib/coefficients/Makefile b/src/contrib/coefficients/Makefile index 186ff1fe..9e7fcae9 100644 --- a/src/contrib/coefficients/Makefile +++ b/src/contrib/coefficients/Makefile @@ -1,6 +1,6 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/contrib/coefficients/fd_coeff.cpp b/src/contrib/coefficients/fd_coeff.cpp index 59b8f12d..ca2a1b8e 100644 --- a/src/contrib/coefficients/fd_coeff.cpp +++ b/src/contrib/coefficients/fd_coeff.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/contrib/coefficients/fd_coeff.hpp b/src/contrib/coefficients/fd_coeff.hpp index 92ca7ad0..bce2dfc3 100644 --- a/src/contrib/coefficients/fd_coeff.hpp +++ b/src/contrib/coefficients/fd_coeff.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/contrib/coefficients/fd_coeff_test.cpp b/src/contrib/coefficients/fd_coeff_test.cpp index 17d181cc..ffddf312 100644 --- a/src/contrib/coefficients/fd_coeff_test.cpp +++ b/src/contrib/coefficients/fd_coeff_test.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/examples/Makefile b/src/examples/Makefile index 8d1c63b4..e5f462e1 100644 --- a/src/examples/Makefile +++ b/src/examples/Makefile @@ -1,6 +1,6 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/examples/swe.mk b/src/examples/swe.mk index 8255e4e3..f70fc09b 100644 --- a/src/examples/swe.mk +++ b/src/examples/swe.mk @@ -1,6 +1,6 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/examples/swe_main.cpp b/src/examples/swe_main.cpp index dc6e2f77..c94554ef 100644 --- a/src/examples/swe_main.cpp +++ b/src/examples/swe_main.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/examples/wave_eq.mk b/src/examples/wave_eq.mk index 811c15a4..e1fd86c1 100644 --- a/src/examples/wave_eq.mk +++ b/src/examples/wave_eq.mk @@ -1,6 +1,6 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/examples/wave_eq_main.cpp b/src/examples/wave_eq_main.cpp index df8dc8d5..444a7210 100644 --- a/src/examples/wave_eq_main.cpp +++ b/src/examples/wave_eq_main.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/Makefile b/src/kernel/Makefile index 451ded6a..9e135f2f 100644 --- a/src/kernel/Makefile +++ b/src/kernel/Makefile @@ -1,6 +1,6 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/alloc.cpp b/src/kernel/lib/alloc.cpp index 136f5313..87611dfa 100644 --- a/src/kernel/lib/alloc.cpp +++ b/src/kernel/lib/alloc.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/alloc.hpp b/src/kernel/lib/alloc.hpp index e3b36ee1..e98ecc0f 100644 --- a/src/kernel/lib/alloc.hpp +++ b/src/kernel/lib/alloc.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/auto_tuner.cpp b/src/kernel/lib/auto_tuner.cpp index 7bbaf6fc..25d2056c 100644 --- a/src/kernel/lib/auto_tuner.cpp +++ b/src/kernel/lib/auto_tuner.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/auto_tuner.hpp b/src/kernel/lib/auto_tuner.hpp index 0a2fdeff..7b947963 100644 --- a/src/kernel/lib/auto_tuner.hpp +++ b/src/kernel/lib/auto_tuner.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/cache_model.hpp b/src/kernel/lib/cache_model.hpp index 44d56168..3db3f2d9 100644 --- a/src/kernel/lib/cache_model.hpp +++ b/src/kernel/lib/cache_model.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/context.cpp b/src/kernel/lib/context.cpp index b14699ef..fd8d5922 100644 --- a/src/kernel/lib/context.cpp +++ b/src/kernel/lib/context.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/context.hpp b/src/kernel/lib/context.hpp index 7d5ba39e..cb129850 100644 --- a/src/kernel/lib/context.hpp +++ b/src/kernel/lib/context.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/factory.cpp b/src/kernel/lib/factory.cpp index 2626fed4..75121b31 100644 --- a/src/kernel/lib/factory.cpp +++ b/src/kernel/lib/factory.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/generic_var.cpp b/src/kernel/lib/generic_var.cpp index 9df2ac4b..1f624ecd 100644 --- a/src/kernel/lib/generic_var.cpp +++ b/src/kernel/lib/generic_var.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/generic_var.hpp b/src/kernel/lib/generic_var.hpp index 782c4ab7..d3165de9 100644 --- a/src/kernel/lib/generic_var.hpp +++ b/src/kernel/lib/generic_var.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/halo.cpp b/src/kernel/lib/halo.cpp index 8439de43..cb6fd6da 100644 --- a/src/kernel/lib/halo.cpp +++ b/src/kernel/lib/halo.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/indices.hpp b/src/kernel/lib/indices.hpp index 9ff4e0c2..dbe596af 100644 --- a/src/kernel/lib/indices.hpp +++ b/src/kernel/lib/indices.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/new_var.cpp b/src/kernel/lib/new_var.cpp index ea3818d3..deb1529a 100644 --- a/src/kernel/lib/new_var.cpp +++ b/src/kernel/lib/new_var.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/offload.hpp b/src/kernel/lib/offload.hpp index a1551995..ebb8793d 100644 --- a/src/kernel/lib/offload.hpp +++ b/src/kernel/lib/offload.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/realv.hpp b/src/kernel/lib/realv.hpp index 9a0d98a7..299640b0 100644 --- a/src/kernel/lib/realv.hpp +++ b/src/kernel/lib/realv.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/settings.cpp b/src/kernel/lib/settings.cpp index e65dc872..883a2eb9 100644 --- a/src/kernel/lib/settings.cpp +++ b/src/kernel/lib/settings.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/settings.hpp b/src/kernel/lib/settings.hpp index fd4e3234..20ae3923 100644 --- a/src/kernel/lib/settings.hpp +++ b/src/kernel/lib/settings.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/setup.cpp b/src/kernel/lib/setup.cpp index ccc8870c..0ec22efc 100644 --- a/src/kernel/lib/setup.cpp +++ b/src/kernel/lib/setup.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/soln_apis.cpp b/src/kernel/lib/soln_apis.cpp index e159b84c..c7eee69d 100644 --- a/src/kernel/lib/soln_apis.cpp +++ b/src/kernel/lib/soln_apis.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/stencil_calc.cpp b/src/kernel/lib/stencil_calc.cpp index 83c9b11c..aad3e760 100644 --- a/src/kernel/lib/stencil_calc.cpp +++ b/src/kernel/lib/stencil_calc.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/stencil_calc.hpp b/src/kernel/lib/stencil_calc.hpp index d9b40115..b305cfd1 100644 --- a/src/kernel/lib/stencil_calc.hpp +++ b/src/kernel/lib/stencil_calc.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/utils.cpp b/src/kernel/lib/utils.cpp index f92cf4ba..9f4b67b0 100644 --- a/src/kernel/lib/utils.cpp +++ b/src/kernel/lib/utils.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/utils.hpp b/src/kernel/lib/utils.hpp index e0e46e8e..250ce9d9 100644 --- a/src/kernel/lib/utils.hpp +++ b/src/kernel/lib/utils.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/yask.hpp b/src/kernel/lib/yask.hpp index 599c0c80..db93268d 100644 --- a/src/kernel/lib/yask.hpp +++ b/src/kernel/lib/yask.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/yask_stencil.hpp b/src/kernel/lib/yask_stencil.hpp index 4d834e40..90c5858b 100644 --- a/src/kernel/lib/yask_stencil.hpp +++ b/src/kernel/lib/yask_stencil.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/yk_var.cpp b/src/kernel/lib/yk_var.cpp index e06830b8..2a4a608c 100644 --- a/src/kernel/lib/yk_var.cpp +++ b/src/kernel/lib/yk_var.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/yk_var.hpp b/src/kernel/lib/yk_var.hpp index e8526aad..156a92f7 100644 --- a/src/kernel/lib/yk_var.hpp +++ b/src/kernel/lib/yk_var.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/lib/yk_var_apis.cpp b/src/kernel/lib/yk_var_apis.cpp index d2864a7a..ec8f2bad 100644 --- a/src/kernel/lib/yk_var_apis.cpp +++ b/src/kernel/lib/yk_var_apis.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/swig/yask_kernel_api.i b/src/kernel/swig/yask_kernel_api.i index 5afe9010..f1e7ad2d 100644 --- a/src/kernel/swig/yask_kernel_api.i +++ b/src/kernel/swig/yask_kernel_api.i @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/tests/openmp_test.cpp b/src/kernel/tests/openmp_test.cpp index 7b016cfc..f0039056 100644 --- a/src/kernel/tests/openmp_test.cpp +++ b/src/kernel/tests/openmp_test.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/tests/var_test.cpp b/src/kernel/tests/var_test.cpp index bb19f514..1ae3fade 100644 --- a/src/kernel/tests/var_test.cpp +++ b/src/kernel/tests/var_test.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/tests/yask_kernel_api_exception_test.cpp b/src/kernel/tests/yask_kernel_api_exception_test.cpp index b6b4cfcd..b10bf782 100644 --- a/src/kernel/tests/yask_kernel_api_exception_test.cpp +++ b/src/kernel/tests/yask_kernel_api_exception_test.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/tests/yask_kernel_api_exception_test.py b/src/kernel/tests/yask_kernel_api_exception_test.py index 5499c909..0e8a883a 100755 --- a/src/kernel/tests/yask_kernel_api_exception_test.py +++ b/src/kernel/tests/yask_kernel_api_exception_test.py @@ -2,7 +2,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/tests/yask_kernel_api_test.cpp b/src/kernel/tests/yask_kernel_api_test.cpp index 7a226681..47e55b89 100644 --- a/src/kernel/tests/yask_kernel_api_test.cpp +++ b/src/kernel/tests/yask_kernel_api_test.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/tests/yask_kernel_api_test.py b/src/kernel/tests/yask_kernel_api_test.py index bd5675ea..39e2a9d2 100755 --- a/src/kernel/tests/yask_kernel_api_test.py +++ b/src/kernel/tests/yask_kernel_api_test.py @@ -2,7 +2,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/yask.sh b/src/kernel/yask.sh index 138045f3..83586899 100755 --- a/src/kernel/yask.sh +++ b/src/kernel/yask.sh @@ -2,7 +2,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/src/kernel/yask_main.cpp b/src/kernel/yask_main.cpp index 5b43fa77..c818d55e 100644 --- a/src/kernel/yask_main.cpp +++ b/src/kernel/yask_main.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/AwpStencil.cpp b/src/stencils/AwpStencil.cpp index 4cf34b79..6c04f8c2 100644 --- a/src/stencils/AwpStencil.cpp +++ b/src/stencils/AwpStencil.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/ElasticStencil/Elastic2Stencil.hpp b/src/stencils/ElasticStencil/Elastic2Stencil.hpp index 70864222..4fc9dcbc 100644 --- a/src/stencils/ElasticStencil/Elastic2Stencil.hpp +++ b/src/stencils/ElasticStencil/Elastic2Stencil.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/ElasticStencil/ElasticStencil.hpp b/src/stencils/ElasticStencil/ElasticStencil.hpp index 30cc6e5b..27e55701 100644 --- a/src/stencils/ElasticStencil/ElasticStencil.hpp +++ b/src/stencils/ElasticStencil/ElasticStencil.hpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/FSGElastic2Stencil.cpp b/src/stencils/FSGElastic2Stencil.cpp index 21ef35b1..d6a9d8fc 100644 --- a/src/stencils/FSGElastic2Stencil.cpp +++ b/src/stencils/FSGElastic2Stencil.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/FSGElasticStencil.cpp b/src/stencils/FSGElasticStencil.cpp index 37172f4e..8fc692fc 100644 --- a/src/stencils/FSGElasticStencil.cpp +++ b/src/stencils/FSGElasticStencil.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/Iso3dfdStencil.cpp b/src/stencils/Iso3dfdStencil.cpp index 8ca920ad..22114fdb 100644 --- a/src/stencils/Iso3dfdStencil.cpp +++ b/src/stencils/Iso3dfdStencil.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/SSGElastic2Stencil.cpp b/src/stencils/SSGElastic2Stencil.cpp index 44d4a629..0ab3e9fa 100644 --- a/src/stencils/SSGElastic2Stencil.cpp +++ b/src/stencils/SSGElastic2Stencil.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/SSGElasticStencil.cpp b/src/stencils/SSGElasticStencil.cpp index 157fe9f1..80c897b9 100644 --- a/src/stencils/SSGElasticStencil.cpp +++ b/src/stencils/SSGElasticStencil.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/SWE2dStencil.cpp b/src/stencils/SWE2dStencil.cpp index 3c26ada6..77f7e87a 100644 --- a/src/stencils/SWE2dStencil.cpp +++ b/src/stencils/SWE2dStencil.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/SimpleStencils.cpp b/src/stencils/SimpleStencils.cpp index 9b0b73c6..94f7c72b 100644 --- a/src/stencils/SimpleStencils.cpp +++ b/src/stencils/SimpleStencils.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/TTIStencil.cpp b/src/stencils/TTIStencil.cpp index 61eccc21..a99fee6e 100644 --- a/src/stencils/TTIStencil.cpp +++ b/src/stencils/TTIStencil.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/TestStencils.cpp b/src/stencils/TestStencils.cpp index 5d57c78d..704a935f 100644 --- a/src/stencils/TestStencils.cpp +++ b/src/stencils/TestStencils.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/src/stencils/Wave2dStencil.cpp b/src/stencils/Wave2dStencil.cpp index 4d13096d..9caee32b 100644 --- a/src/stencils/Wave2dStencil.cpp +++ b/src/stencils/Wave2dStencil.cpp @@ -1,7 +1,7 @@ /***************************************************************************** YASK: Yet Another Stencil Kit -Copyright (c) 2014-2023, Intel Corporation +Copyright (c) 2014-2024, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/utils/bin/analyze_trace.pl b/utils/bin/analyze_trace.pl index d7b0585c..d1bc4041 100755 --- a/utils/bin/analyze_trace.pl +++ b/utils/bin/analyze_trace.pl @@ -2,7 +2,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/utils/bin/convert_v2_stencil.pl b/utils/bin/convert_v2_stencil.pl index 731a9571..d2471d62 100755 --- a/utils/bin/convert_v2_stencil.pl +++ b/utils/bin/convert_v2_stencil.pl @@ -3,7 +3,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/utils/bin/gen_layouts.pl b/utils/bin/gen_layouts.pl index 7270042c..73c2fc1e 100755 --- a/utils/bin/gen_layouts.pl +++ b/utils/bin/gen_layouts.pl @@ -2,7 +2,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/utils/bin/gen_loops.pl b/utils/bin/gen_loops.pl index 30075878..02908e71 100755 --- a/utils/bin/gen_loops.pl +++ b/utils/bin/gen_loops.pl @@ -3,7 +3,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/utils/bin/macroize_stencils.pl b/utils/bin/macroize_stencils.pl index 3d95d37b..c4c7b87b 100755 --- a/utils/bin/macroize_stencils.pl +++ b/utils/bin/macroize_stencils.pl @@ -3,7 +3,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/utils/bin/view_asm.pl b/utils/bin/view_asm.pl index 5458aeee..37a34500 100755 --- a/utils/bin/view_asm.pl +++ b/utils/bin/view_asm.pl @@ -2,7 +2,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/utils/bin/yask_indent.sh b/utils/bin/yask_indent.sh index b5445c81..af2f559f 100755 --- a/utils/bin/yask_indent.sh +++ b/utils/bin/yask_indent.sh @@ -2,7 +2,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/utils/bin/yask_log_to_csv.pl b/utils/bin/yask_log_to_csv.pl index 0385af82..98e3ddfd 100755 --- a/utils/bin/yask_log_to_csv.pl +++ b/utils/bin/yask_log_to_csv.pl @@ -2,7 +2,7 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/utils/lib/CmdLine.pm b/utils/lib/CmdLine.pm index c97d5268..cbc9152a 100644 --- a/utils/lib/CmdLine.pm +++ b/utils/lib/CmdLine.pm @@ -1,6 +1,6 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to diff --git a/utils/lib/YaskUtils.pm b/utils/lib/YaskUtils.pm index 5e0d9fa9..8fb3ec26 100644 --- a/utils/lib/YaskUtils.pm +++ b/utils/lib/YaskUtils.pm @@ -1,6 +1,6 @@ ############################################################################## ## YASK: Yet Another Stencil Kit -## Copyright (c) 2014-2023, Intel Corporation +## Copyright (c) 2014-2024, Intel Corporation ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and associated documentation files (the "Software"), to From 69f2558e39761cc960c8e85e5f2753219b1feae0 Mon Sep 17 00:00:00 2001 From: "Yount, Chuck" Date: Wed, 8 May 2024 09:48:22 -0700 Subject: [PATCH 02/10] update copyright in API docs --- docs/api/html/yask__common__api_8hpp_source.html | 2 +- docs/api/html/yask__compiler__api_8hpp_source.html | 2 +- docs/api/html/yask__kernel__api_8hpp_source.html | 2 +- docs/api/html/yc__node__api_8hpp_source.html | 2 +- docs/api/html/yc__solution__api_8hpp_source.html | 2 +- docs/api/html/yk__solution__api_8hpp_source.html | 2 +- docs/api/html/yk__var__api_8hpp_source.html | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/api/html/yask__common__api_8hpp_source.html b/docs/api/html/yask__common__api_8hpp_source.html index acf56f44..23bd9306 100644 --- a/docs/api/html/yask__common__api_8hpp_source.html +++ b/docs/api/html/yask__common__api_8hpp_source.html @@ -85,7 +85,7 @@ Go to the documentation of this file.
1/*****************************************************************************
2
3YASK: Yet Another Stencil Kit
-
4Copyright (c) 2014-2023, Intel Corporation
+
4Copyright (c) 2014-2024, Intel Corporation
5
6Permission is hereby granted, free of charge, to any person obtaining a copy
7of this software and associated documentation files (the "Software"), to
diff --git a/docs/api/html/yask__compiler__api_8hpp_source.html b/docs/api/html/yask__compiler__api_8hpp_source.html index 2de430d0..25d7c846 100644 --- a/docs/api/html/yask__compiler__api_8hpp_source.html +++ b/docs/api/html/yask__compiler__api_8hpp_source.html @@ -85,7 +85,7 @@ Go to the documentation of this file.
1/*****************************************************************************
2
3YASK: Yet Another Stencil Kit
-
4Copyright (c) 2014-2023, Intel Corporation
+
4Copyright (c) 2014-2024, Intel Corporation
5
6Permission is hereby granted, free of charge, to any person obtaining a copy
7of this software and associated documentation files (the "Software"), to
diff --git a/docs/api/html/yask__kernel__api_8hpp_source.html b/docs/api/html/yask__kernel__api_8hpp_source.html index fa82c2b9..8f8ad6d9 100644 --- a/docs/api/html/yask__kernel__api_8hpp_source.html +++ b/docs/api/html/yask__kernel__api_8hpp_source.html @@ -85,7 +85,7 @@ Go to the documentation of this file.
1/*****************************************************************************
2
3YASK: Yet Another Stencil Kit
-
4Copyright (c) 2014-2023, Intel Corporation
+
4Copyright (c) 2014-2024, Intel Corporation
5
6Permission is hereby granted, free of charge, to any person obtaining a copy
7of this software and associated documentation files (the "Software"), to
diff --git a/docs/api/html/yc__node__api_8hpp_source.html b/docs/api/html/yc__node__api_8hpp_source.html index d23e8495..58d2b7b3 100644 --- a/docs/api/html/yc__node__api_8hpp_source.html +++ b/docs/api/html/yc__node__api_8hpp_source.html @@ -85,7 +85,7 @@ Go to the documentation of this file.
1/*****************************************************************************
2
3YASK: Yet Another Stencil Kit
-
4Copyright (c) 2014-2023, Intel Corporation
+
4Copyright (c) 2014-2024, Intel Corporation
5
6Permission is hereby granted, free of charge, to any person obtaining a copy
7of this software and associated documentation files (the "Software"), to
diff --git a/docs/api/html/yc__solution__api_8hpp_source.html b/docs/api/html/yc__solution__api_8hpp_source.html index 36553ad4..5868b5fa 100644 --- a/docs/api/html/yc__solution__api_8hpp_source.html +++ b/docs/api/html/yc__solution__api_8hpp_source.html @@ -85,7 +85,7 @@ Go to the documentation of this file.
1/*****************************************************************************
2
3YASK: Yet Another Stencil Kit
-
4Copyright (c) 2014-2023, Intel Corporation
+
4Copyright (c) 2014-2024, Intel Corporation
5
6Permission is hereby granted, free of charge, to any person obtaining a copy
7of this software and associated documentation files (the "Software"), to
diff --git a/docs/api/html/yk__solution__api_8hpp_source.html b/docs/api/html/yk__solution__api_8hpp_source.html index 9e1cdfca..bcaa1384 100644 --- a/docs/api/html/yk__solution__api_8hpp_source.html +++ b/docs/api/html/yk__solution__api_8hpp_source.html @@ -85,7 +85,7 @@ Go to the documentation of this file.
1/*****************************************************************************
2
3YASK: Yet Another Stencil Kit
-
4Copyright (c) 2014-2023, Intel Corporation
+
4Copyright (c) 2014-2024, Intel Corporation
5
6Permission is hereby granted, free of charge, to any person obtaining a copy
7of this software and associated documentation files (the "Software"), to
diff --git a/docs/api/html/yk__var__api_8hpp_source.html b/docs/api/html/yk__var__api_8hpp_source.html index 50906fe2..f66e06af 100644 --- a/docs/api/html/yk__var__api_8hpp_source.html +++ b/docs/api/html/yk__var__api_8hpp_source.html @@ -85,7 +85,7 @@ Go to the documentation of this file.
1/*****************************************************************************
2
3YASK: Yet Another Stencil Kit
-
4Copyright (c) 2014-2023, Intel Corporation
+
4Copyright (c) 2014-2024, Intel Corporation
5
6Permission is hereby granted, free of charge, to any person obtaining a copy
7of this software and associated documentation files (the "Software"), to
From bb566fe9520f8253480f0cda22aa430bcdaca720 Mon Sep 17 00:00:00 2001 From: "Yount, Chuck" Date: Wed, 8 May 2024 11:42:42 -0700 Subject: [PATCH 03/10] Add image filter examples. --- src/stencils/ImageFilters.cpp | 125 ++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 src/stencils/ImageFilters.cpp diff --git a/src/stencils/ImageFilters.cpp b/src/stencils/ImageFilters.cpp new file mode 100644 index 00000000..53ec77ba --- /dev/null +++ b/src/stencils/ImageFilters.cpp @@ -0,0 +1,125 @@ +/***************************************************************************** + +YASK: Yet Another Stencil Kit +Copyright (c) 2014-2024, Intel Corporation + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +* The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + +*****************************************************************************/ + +// Example stencil equations for 2D image filtering. + +// YASK stencil solution(s) in this file will be integrated into the YASK compiler utility. +#include "yask_compiler_api.hpp" +using namespace std; +using namespace yask; + +// Create an anonymous namespace to ensure that types are local. +namespace { + + using yn=yc_number_node_ptr; + using yb=yc_bool_node_ptr; + + // A simple smoothing filter where each pixel is updated with the + // average value of its neighbors. + class BoxFilter : public yc_solution_with_radius_base { + + protected: + // Indices & dimensions. + MAKE_STEP_INDEX(n); // step dim. + MAKE_DOMAIN_INDEX(x); // spatial dim. + MAKE_DOMAIN_INDEX(y); // spatial dim. + + // Vars. + MAKE_VAR(A, n, x, y); + + public: + BoxFilter(string name="box_filter", int radius=2) : + yc_solution_with_radius_base(name, radius) { } + + // Define equation at n+1 based on values at n. + virtual void define() { + auto r = get_radius(); + + // RHS of expression being created. + yn v; + + // Add points in square from step n. + for (int i = -r; i <= r; i++) + for (int j = -r; j <= r; j++) + v += A(n, x+i, y+j); + + // Average by dividing by number of points + // in square. + v /= r * r; + + // Define the value at n+1 to be expression v. + A(n+1, x, y) EQUALS v; + } + }; + REGISTER_SOLUTION(BoxFilter); + + // Isotropic Gaussian. + // TODO: update to parameterize sigma (or perhaps parameterize + // radius and determine good sigma value from requested radius). + class GaussianFilter : public yc_solution_base { + + protected: + // Indices & dimensions. + MAKE_STEP_INDEX(n); // step dim. + MAKE_DOMAIN_INDEX(x); // spatial dim. + MAKE_DOMAIN_INDEX(y); // spatial dim. + + // Vars. + MAKE_VAR(A, n, x, y); + + public: + GaussianFilter(string name="gaussian_filter") : + yc_solution_base(name) { } + + // Define equation at n+1 based on values at n. + virtual void define() { + + // G(x, y) = exp(-(x^2 + y^2) / (2 * sigma^2)) / (2 * pi * sigma^2). + // For the given coefficients, sigma = 1.0. + // See https://homepages.inf.ed.ac.uk/rbf/HIPR2/gsmooth.htm + + // RHS of expression being created. + yn v; + + // Add points in square from step n. + double coeff[5][5] = { { 1., 4., 7., 4., 1. }, + { 4., 16., 26., 16., 4. }, + { 7., 26., 41., 26., 7. }, + { 4., 16., 26., 16., 4. }, + { 1., 4., 7., 4., 1. } }; + double sum = 273.; + for (int i = -2; i <= 2; i++) + for (int j = -2; j <= 2; j++) { + double c = coeff[i+2][j+2] / sum; + v += A(n, x+i, y+j) * c; + } + + // Define the value at n+1 to be expression v. + A(n+1, x, y) EQUALS v; + } + }; + REGISTER_SOLUTION(GaussianFilter); + +}; // namespace. From c7ef39f555e71cf70e7fb1ee0eb2f58b136db955 Mon Sep 17 00:00:00 2001 From: "Yount, Chuck" Date: Wed, 8 May 2024 17:53:02 -0700 Subject: [PATCH 04/10] Small change to test stencil. --- src/stencils/TestStencils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stencils/TestStencils.cpp b/src/stencils/TestStencils.cpp index 704a935f..47757bd1 100644 --- a/src/stencils/TestStencils.cpp +++ b/src/stencils/TestStencils.cpp @@ -644,8 +644,8 @@ namespace { // Define values in scratch var 'B' based on 'A'. B(x) EQUALS def_t1d(A, t, x, 1, 0); - // Set 'A' from scratch var values. - A(t+1, x) EQUALS def_1d(B, x-4, 2, 3) + def_1d(B, x+6, 0, 1); + // Set each point in 'A' from 2 scratch var values offset from x. + A(t+1, x) EQUALS def_1d(B, x-4, 2, 3) + def_1d(B, 6+x, 0, 1); } }; From 221d4c252e03cc728ecf540ddbd4719c4e684476 Mon Sep 17 00:00:00 2001 From: "Yount, Chuck" Date: Wed, 8 May 2024 17:53:42 -0700 Subject: [PATCH 05/10] Remove 'iso3dfd' as default stencil. --- Makefile | 3 +-- README.md | 2 ++ src/common/common.mk | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 844c2908..6eb65cef 100644 --- a/Makefile +++ b/Makefile @@ -292,6 +292,5 @@ all-tests: compiler-api common-unit-tests all: $(MAKE) realclean $(MAKE) tags - $(MAKE) default - $(MAKE) api-all + $(MAKE) docs $(MAKE) all-tests diff --git a/README.md b/README.md index d3d82a25..f06a9883 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,8 @@ and Intel(R) graphics processors. ## Backward-compatibility notices ### Version 4 +* Version 4.05.03 removes the default stencil name "iso3dfd"; this means + you must always set the stencil name when building a kernel -- there is no default. * Version 4.05.00 removes the "out-of-band" genetic-algorithm tuning script due to lack of resources for maintenance and testing. * Version 4.04.00 deprecates the existing `void* {set,get}_elements_in_slice()` diff --git a/src/common/common.mk b/src/common/common.mk index 639e2980..6c5b06ab 100644 --- a/src/common/common.mk +++ b/src/common/common.mk @@ -120,7 +120,7 @@ DBL_EPSILON_CXXFLAG := -DDBL_EPSILON=2.2204460492503131e-16 arch ?= $(shell $(BASH) $(SRC_DIR)/kernel/yask.sh -show_arch) # Set 'stencil' to the name of the YASK solution to build. -stencil ?= iso3dfd +stencil ?= unspecified # Set 'real_bytes' to number of bytes in a float (4 or 8). real_bytes ?= 4 From 3a96b6445208e3a6c686102ec4e70ef998959d52 Mon Sep 17 00:00:00 2001 From: "Yount, Chuck" Date: Wed, 8 May 2024 18:06:10 -0700 Subject: [PATCH 06/10] Small tweak to 'make clean' --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6eb65cef..7e5ebe4a 100644 --- a/Makefile +++ b/Makefile @@ -142,11 +142,11 @@ clean: $(YK_MAKE) $@ # Remove executables, generated documentation, etc. (not logs). -# Use 'find *' instead of 'find .' to avoid searching in '.git'. +# Avoid 'find .' to prevent searching in '.git'. realclean: clean rm -rf $(LIB_OUT_DIR) $(BIN_OUT_DIR) $(BUILD_OUT_DIR) rm -fv TAGS '*~' - - find src include utils docs -name '*~' -print -delete + - find src include utils docs yask -name '*~' -print -delete - find src -name '*.optrpt' -print -delete - find src -name __pycache__ -print -delete $(YC_MAKE) $@ From e569fe1adb73ecc1778b961906c10a93766c33d2 Mon Sep 17 00:00:00 2001 From: "Yount, Chuck" Date: Thu, 9 May 2024 11:33:45 -0700 Subject: [PATCH 07/10] Make improvements and fixes, primarily for testing --- Makefile | 2 ++ src/kernel/Makefile | 45 ++++++++++++++++++++++++++------------------- 2 files changed, 28 insertions(+), 19 deletions(-) diff --git a/Makefile b/Makefile index 7e5ebe4a..7da57955 100644 --- a/Makefile +++ b/Makefile @@ -293,4 +293,6 @@ all: $(MAKE) realclean $(MAKE) tags $(MAKE) docs + $(MAKE) compiler + $(MAKE) compiler-api $(MAKE) all-tests diff --git a/src/kernel/Makefile b/src/kernel/Makefile index 9e135f2f..c454bc2b 100644 --- a/src/kernel/Makefile +++ b/src/kernel/Makefile @@ -602,7 +602,7 @@ $(YK_EXT_OBJ_DIR)/%.o: %.cpp $(YK_GEN_HEADERS) $(YK_INC_GLOB) ######## Primary targets. # NB: must set stencil and arch make vars to generate the desired YASK kernel. -default: kernel +default: kernel scripts # Compile the kernel. kernel: $(YK_EXEC) $(YK_SCRIPT) $(MAKE_REPORT_FILE) @@ -703,12 +703,15 @@ headers: $(YK_GEN_HEADERS) ######## API targets # NB: must set stencil and arch to generate the desired kernel API. -# Build C++ and Python kernel API libs. -api: $(YK_LIB) $(YK_PY_LIB) +# Build C++ kernel API lib. +kernel-api: $(YK_LIB) # Build python kernel API lib. py-api: $(YK_PY_LIB) +# Build C++ and Python kernel API libs. +api: kernel-api py-api + # Build C++ SWIG wrapper code. # This also creates $(YK_PY_MOD) as a side-effect. $(YK_SWIG_OUT_DIR)/yask_kernel_api_wrap.cpp: $(YK_SWIG_DIR)/yask*.i $(INC_DIR)/*.hpp @@ -879,17 +882,16 @@ help: echo " $(MAKE) clean; $(MAKE) -j stencil=awp yk-api"; \ echo " " @echo "Example debug builds of kernel cmd-line tool:"; \ - echo " $(MAKE) clean; $(MAKE) -j stencil=iso3dfd mpi=0 omp=0 YK_CXXOPT='-O0' check=1 # No optimization, OpenMP, or MPI; use internal checking"; \ - echo " $(MAKE) clean; $(MAKE) -j arch=avx2 stencil=test_2d YK_CXXOPT='-O0' trace=1 # Enable tracing; run with '-trace' to get trace"; \ + echo " $(MAKE) clean; $(MAKE) -j stencil=iso3dfd mpi=0 YK_CXXOPT='-O0' check=1 # No optimization or MPI; use internal checking"; \ + echo " $(MAKE) clean; $(MAKE) -j arch=avx2 stencil=test_2d YK_CXXOPT='-O0' trace=1 # Enable tracing; run with '-trace' to get trace"; \ echo " " @echo "Example regression tests (run before any git push or pull request):"; \ echo " $(MAKE) -j all # Normal full API and stencil tests"; \ echo " $(MAKE) -j all offload=1 # Test device offload"; \ - echo " $(MAKE) -j all offload_usm=1 # Test device offload with unified shared memory"; \ echo " $(MAKE) -j all ranks=8 # Test with 8 MPI ranks"; \ + echo " $(MAKE) -j all mpi=0 # Test w/o MPI"; \ echo " $(MAKE) -j all YK_CXXOPT=-O1 # Test at O1 optimization"; \ echo " $(MAKE) -j all YK_CXX=g++ # Test w/g++"; \ - echo " $(MAKE) -j all mpi=0 # Test w/o MPI"; \ echo " $(MAKE) -j all YASK_OUTPUT_DIR=test-dir # Test using alternate output dir" @@ -932,7 +934,8 @@ cxx-yk-omp-test: @echo '*** Running the C++ YASK OpenMP test...' $(RUN_PREFIX) $(YK_OMP_TEST_EXEC) -$(YK_VAR_TEST_EXEC): $(YK_TEST_SRC_DIR)/var_test.cpp $(YK_LIB) +$(YK_VAR_TEST_EXEC): $(YK_TEST_SRC_DIR)/var_test.cpp + $(TEST_MAKE) $(YK_LIB) stencil=test_3d $(call MK_DIR,$(dir $@)) $(CXX_PREFIX) $(YK_CXXCMD) $(YK_CXXFLAGS2) $< $(YK_LFLAGS) -o $@ $(YK_LIBS) @ls -l $@ @@ -946,7 +949,8 @@ cxx-yk-var-test: ### API tests. # Build C++ kernel tests. -$(YK_API_TEST_EXEC): $(YK_TEST_SRC_DIR)/yask_kernel_api_test.cpp $(YK_LIB) +$(YK_API_TEST_EXEC): $(YK_TEST_SRC_DIR)/yask_kernel_api_test.cpp + $(TEST_MAKE) kernel-api allow_new_var_types=1 $(call MK_DIR,$(dir $@)) $(CXX_PREFIX) $(YK_CXXCMD) $(YK_CXXFLAGS) $< $(YK_LFLAGS) -o $@ $(YK_LIBS) @ls -l $@ @@ -954,31 +958,35 @@ $(YK_API_TEST_EXEC): $(YK_TEST_SRC_DIR)/yask_kernel_api_test.cpp $(YK_LIB) # Build and run C++ tests. # First run on 1 rank, then multiple ranks if ranks>1. cxx-yk-api-test: - $(TEST_MAKE) $(YK_API_TEST_EXEC) allow_new_var_types=1 + $(TEST_MAKE) $(YK_API_TEST_EXEC) stencil=test_3d @echo '*** Running the C++ YASK kernel API test...' $(RUN_PREFIX) $(YK_API_TEST_EXEC) if (( $(ranks) > 1 )); then $(RUN_PREFIX) mpirun -np $(ranks) $(YK_API_TEST_EXEC); fi # Run Python kernel API test. # First run on 1 rank, then multiple ranks if ranks>1. -py-yk-api-test: $(YK_TEST_SRC_DIR)/yask_kernel_api_test.py $(YK_PY_LIB) +py-yk-api-test: $(YK_TEST_SRC_DIR)/yask_kernel_api_test.py + $(TEST_MAKE) py-api allow_new_var_types=1 stencil=test_3d @echo '*** Running the Python YASK kernel API test...' $(RUN_PYTHON) $< if (( $(ranks) > 1 )); then mpirun -np $(ranks) $(RUN_PYTHON) $<; fi # Build C++ kernel tests with exceptions. -$(YK_API_TEST_EXEC_WITH_EXCEPTION): $(YK_TEST_SRC_DIR)/yask_kernel_api_exception_test.cpp $(YK_LIB) +$(YK_API_TEST_EXEC_WITH_EXCEPTION): $(YK_TEST_SRC_DIR)/yask_kernel_api_exception_test.cpp + $(TEST_MAKE) kernel-api allow_new_var_types=1 $(call MK_DIR,$(dir $@)) $(CXX_PREFIX) $(YK_CXXCMD) $(YK_CXXFLAGS) $< $(YK_LFLAGS) -o $@ $(YK_LIBS) @ls -l $@ # Run C++ tests with exceptions. -cxx-yk-api-test-with-exception: $(YK_API_TEST_EXEC_WITH_EXCEPTION) +cxx-yk-api-test-with-exception: + $(TEST_MAKE) $(YK_API_TEST_EXEC_WITH_EXCEPTION) stencil=test_3d @echo '*** Running the C++ YASK kernel API test with exception...' - $(RUN_PREFIX) $< + $(RUN_PREFIX) $(YK_API_TEST_EXEC_WITH_EXCEPTION) # Run Python kernel API test with exceptions. -py-yk-api-test-with-exception: $(YK_TEST_SRC_DIR)/yask_kernel_api_exception_test.py $(YK_PY_LIB) +py-yk-api-test-with-exception: $(YK_TEST_SRC_DIR)/yask_kernel_api_exception_test.py + $(TEST_MAKE) py-api allow_new_var_types=1 stencil=test_3d @echo '*** Running the Python YASK kernel API test with exception...' $(RUN_PYTHON) $< @@ -1176,13 +1184,12 @@ unit-tests: all-tests: $(MAKE) unit-tests - $(MAKE) stencil-tests $(MAKE) api-tests + $(MAKE) stencil-tests -# First, build a kernel and an API lib w/o any validation just to test the build env. +# Install the script. # Then, build and run all the tests. all: - $(MAKE) kernel stencil=test_3d - $(MAKE) api stencil=test_3d + $(MAKE) script $(MAKE) all-tests From 1a4141c0a643163a39cfd33eb2c2246790c7e00a Mon Sep 17 00:00:00 2001 From: "Yount, Chuck" Date: Thu, 9 May 2024 16:36:30 -0700 Subject: [PATCH 08/10] More makefile cleanup, esp for offload testing --- src/common/common.mk | 11 ++++++++--- src/kernel/Makefile | 12 ++++++------ 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/common/common.mk b/src/common/common.mk index 6c5b06ab..687bc1fb 100644 --- a/src/common/common.mk +++ b/src/common/common.mk @@ -78,9 +78,6 @@ INDENT := $(UTILS_BIN_DIR)/yask_indent.sh PYTHON := python3 SHELL := /bin/bash SO_SUFFIX := .so -RUN_PREFIX := env I_MPI_DEBUG=+5 I_MPI_PRINT_VERSION=1 OMP_DISPLAY_ENV=VERBOSE KMP_VERSION=1 -RUN_PYTHON := $(RUN_PREFIX) \ - env PYTHONPATH=$(LIB_DIR):$(LIB_OUT_DIR):$(PY_OUT_DIR):$(YASK_DIR):$(PYTHONPATH) $(PYTHON) # Find include path needed for python interface. PYINC := $(addprefix -I,$(shell $(PYTHON) -c \ @@ -233,6 +230,14 @@ endif YK_LIBS := -lrt YK_LFLAGS := -Wl,-rpath=$(LIB_OUT_DIR) -L$(LIB_OUT_DIR) -l$(YK_EXT_BASE) +# Prefixes to run commands. +RUN_PREFIX := env I_MPI_DEBUG=+5 I_MPI_PRINT_VERSION=1 OMP_DISPLAY_ENV=VERBOSE KMP_VERSION=1 +ifeq ($(offload),1) + RUN_PREFIX += I_MPI_OFFLOAD=2 +endif +RUN_PYTHON := $(RUN_PREFIX) \ + PYTHONPATH=$(LIB_DIR):$(LIB_OUT_DIR):$(PY_OUT_DIR):$(YASK_DIR):$(PYTHONPATH) $(PYTHON) + # Default number of ranks for running MPI tests. # 4 tests in-plane diagonal exchanges for 2D and 3D tests. # 8 tests all exchanges for 3D tests. diff --git a/src/kernel/Makefile b/src/kernel/Makefile index c454bc2b..1d99c826 100644 --- a/src/kernel/Makefile +++ b/src/kernel/Makefile @@ -704,13 +704,13 @@ headers: $(YK_GEN_HEADERS) # NB: must set stencil and arch to generate the desired kernel API. # Build C++ kernel API lib. -kernel-api: $(YK_LIB) +cxx-api: $(YK_LIB) # Build python kernel API lib. py-api: $(YK_PY_LIB) # Build C++ and Python kernel API libs. -api: kernel-api py-api +api: cxx-api py-api # Build C++ SWIG wrapper code. # This also creates $(YK_PY_MOD) as a side-effect. @@ -750,8 +750,8 @@ NO_YC_MAKE_FLAGS := --new-file=$(YK_CODE_FILE) kernel-no-yc: $(MAKE) $(NO_YC_MAKE_FLAGS) kernel -api-no-yc: - $(MAKE) $(NO_YC_MAKE_FLAGS) api +cxx-api-no-yc: + $(MAKE) $(NO_YC_MAKE_FLAGS) cxx-api py-api-no-yc: $(MAKE) $(NO_YC_MAKE_FLAGS) py-api @@ -950,7 +950,7 @@ cxx-yk-var-test: # Build C++ kernel tests. $(YK_API_TEST_EXEC): $(YK_TEST_SRC_DIR)/yask_kernel_api_test.cpp - $(TEST_MAKE) kernel-api allow_new_var_types=1 + $(TEST_MAKE) cxx-api allow_new_var_types=1 $(call MK_DIR,$(dir $@)) $(CXX_PREFIX) $(YK_CXXCMD) $(YK_CXXFLAGS) $< $(YK_LFLAGS) -o $@ $(YK_LIBS) @ls -l $@ @@ -973,7 +973,7 @@ py-yk-api-test: $(YK_TEST_SRC_DIR)/yask_kernel_api_test.py # Build C++ kernel tests with exceptions. $(YK_API_TEST_EXEC_WITH_EXCEPTION): $(YK_TEST_SRC_DIR)/yask_kernel_api_exception_test.cpp - $(TEST_MAKE) kernel-api allow_new_var_types=1 + $(TEST_MAKE) cxx-api allow_new_var_types=1 $(call MK_DIR,$(dir $@)) $(CXX_PREFIX) $(YK_CXXCMD) $(YK_CXXFLAGS) $< $(YK_LFLAGS) -o $@ $(YK_LIBS) @ls -l $@ From 9b3157f4cc547db02abaa0cb13e81de1a66b3203 Mon Sep 17 00:00:00 2001 From: "Yount, Chuck" Date: Thu, 9 May 2024 16:48:41 -0700 Subject: [PATCH 09/10] Make API targets more consistent --- Makefile | 12 ++++++------ README.md | 6 +++++- src/compiler/Makefile | 4 +++- src/kernel/Makefile | 10 ++++++---- 4 files changed, 20 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 7da57955..7e748aa8 100644 --- a/Makefile +++ b/Makefile @@ -109,16 +109,16 @@ api-docs: docs/api/html/index.html compiler-api: $(YC_MAKE) api -kernel-api: - $(YK_MAKE) api +cxx-kernel-api: + $(YK_MAKE) $@ py-kernel-api: - $(YK_MAKE) py-api - -api: - $(YC_MAKE) $@ $(YK_MAKE) $@ +kernel-api: cxx-kernel-api py-kernel-api + +api: compiler-api kernel-api + # Remove old generated API documents and make new ones. docs/api/html/index.html: include/*.hpp include/*/*.hpp docs/api/*.* doxygen -v diff --git a/README.md b/README.md index f06a9883..20cb9f03 100644 --- a/README.md +++ b/README.md @@ -68,8 +68,12 @@ and Intel(R) graphics processors. ## Backward-compatibility notices ### Version 4 -* Version 4.05.03 removes the default stencil name "iso3dfd"; this means +* Version 4.05.03 has a few notices: + - The default stencil name "iso3dfd" is removed; this means you must always set the stencil name when building a kernel -- there is no default. + If you get an error about the "undefined" stencil, this means you didn't set the + stencil name. + - Some of the API-related Makefile target names were changed for consistency. * Version 4.05.00 removes the "out-of-band" genetic-algorithm tuning script due to lack of resources for maintenance and testing. * Version 4.04.00 deprecates the existing `void* {set,get}_elements_in_slice()` diff --git a/src/compiler/Makefile b/src/compiler/Makefile index bf30a265..85453900 100644 --- a/src/compiler/Makefile +++ b/src/compiler/Makefile @@ -122,7 +122,9 @@ $(YC_EXEC): compiler_main.cpp $(YC_STENCIL_OBJS) $(YC_LIB) # Build C++ and Python compiler API libs. # (Makes sure the compiler exists also, to avoid problems # when trying to build the kernel w/o a compiler binary.) -api: compiler $(YC_PY_LIB) +compiler-api: compiler $(YC_PY_LIB) + +api: compiler-api # Build python compiler API lib. # Also builds $(YC_PY_MOD) diff --git a/src/kernel/Makefile b/src/kernel/Makefile index 1d99c826..83910451 100644 --- a/src/kernel/Makefile +++ b/src/kernel/Makefile @@ -704,10 +704,10 @@ headers: $(YK_GEN_HEADERS) # NB: must set stencil and arch to generate the desired kernel API. # Build C++ kernel API lib. -cxx-api: $(YK_LIB) +cxx-kernel-api: $(YK_LIB) # Build python kernel API lib. -py-api: $(YK_PY_LIB) +py-kernel-api: $(YK_PY_LIB) # Build C++ and Python kernel API libs. api: cxx-api py-api @@ -750,12 +750,14 @@ NO_YC_MAKE_FLAGS := --new-file=$(YK_CODE_FILE) kernel-no-yc: $(MAKE) $(NO_YC_MAKE_FLAGS) kernel -cxx-api-no-yc: +cxx-kernel-api-no-yc: $(MAKE) $(NO_YC_MAKE_FLAGS) cxx-api -py-api-no-yc: +py-kernel-api-no-yc: $(MAKE) $(NO_YC_MAKE_FLAGS) py-api +kernel-api-no-yc: cxx-kernel-api-no-yc py-kernel-api-no-yc + # Remove intermediate files. # Should not trigger remake of stencil compiler. # Make this target before rebuilding YASK with any new parameters. From 12a7dc18fde58f341d3d4cef1c3222d4b319a7aa Mon Sep 17 00:00:00 2001 From: "Yount, Chuck" Date: Thu, 9 May 2024 17:10:56 -0700 Subject: [PATCH 10/10] A few more kernel API make target changes --- Makefile | 4 ++-- src/kernel/Makefile | 14 +++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 7e748aa8..0c37f3f2 100644 --- a/Makefile +++ b/Makefile @@ -110,10 +110,10 @@ compiler-api: $(YC_MAKE) api cxx-kernel-api: - $(YK_MAKE) $@ + $(YK_MAKE) cxx-api py-kernel-api: - $(YK_MAKE) $@ + $(YK_MAKE) py-api kernel-api: cxx-kernel-api py-kernel-api diff --git a/src/kernel/Makefile b/src/kernel/Makefile index 83910451..27287fbf 100644 --- a/src/kernel/Makefile +++ b/src/kernel/Makefile @@ -704,10 +704,14 @@ headers: $(YK_GEN_HEADERS) # NB: must set stencil and arch to generate the desired kernel API. # Build C++ kernel API lib. -cxx-kernel-api: $(YK_LIB) +cxx-api: $(YK_LIB) + +cxx-kernel-api: cxx-api # Build python kernel API lib. -py-kernel-api: $(YK_PY_LIB) +py-api: $(YK_PY_LIB) + +py-kernel-api: py-api # Build C++ and Python kernel API libs. api: cxx-api py-api @@ -750,13 +754,13 @@ NO_YC_MAKE_FLAGS := --new-file=$(YK_CODE_FILE) kernel-no-yc: $(MAKE) $(NO_YC_MAKE_FLAGS) kernel -cxx-kernel-api-no-yc: +cxx-api-no-yc: $(MAKE) $(NO_YC_MAKE_FLAGS) cxx-api -py-kernel-api-no-yc: +py-api-no-yc: $(MAKE) $(NO_YC_MAKE_FLAGS) py-api -kernel-api-no-yc: cxx-kernel-api-no-yc py-kernel-api-no-yc +api-no-yc: cxx-api-no-yc py-api-no-yc # Remove intermediate files. # Should not trigger remake of stencil compiler.