From 54bde9bfed90dd69ff28f6a8ff4ee1daacf6a2e5 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 10 Mar 2025 11:37:16 -0600 Subject: [PATCH] Also add generated files from a blank cmake run. --- .../src/KokkosCore_Config_DeclareBackend.hpp | 25 ++++ .../core/src/KokkosCore_Config_FwdBackend.hpp | 25 ++++ .../src/KokkosCore_Config_SetupBackend.hpp | 24 +++ .../core/src/KokkosCore_config.h | 137 ++++++++++++++++++ .../core/src/Kokkos_Version_Info.cpp | 31 ++++ .../core/src/Kokkos_Version_Info.hpp | 34 +++++ .../desul/include/desul/atomics/Config.hpp | 21 +++ 7 files changed, 297 insertions(+) create mode 100644 bundled/kokkos-4.5.01/core/src/KokkosCore_Config_DeclareBackend.hpp create mode 100644 bundled/kokkos-4.5.01/core/src/KokkosCore_Config_FwdBackend.hpp create mode 100644 bundled/kokkos-4.5.01/core/src/KokkosCore_Config_SetupBackend.hpp create mode 100644 bundled/kokkos-4.5.01/core/src/KokkosCore_config.h create mode 100644 bundled/kokkos-4.5.01/core/src/Kokkos_Version_Info.cpp create mode 100644 bundled/kokkos-4.5.01/core/src/Kokkos_Version_Info.hpp create mode 100644 bundled/kokkos-4.5.01/tpls/desul/include/desul/atomics/Config.hpp diff --git a/bundled/kokkos-4.5.01/core/src/KokkosCore_Config_DeclareBackend.hpp b/bundled/kokkos-4.5.01/core/src/KokkosCore_Config_DeclareBackend.hpp new file mode 100644 index 0000000000..ee0ab31143 --- /dev/null +++ b/bundled/kokkos-4.5.01/core/src/KokkosCore_Config_DeclareBackend.hpp @@ -0,0 +1,25 @@ +/* +//@HEADER +// ************************************************************************ +// +// Kokkos v. 4.0 +// Copyright (2022) National Technology & Engineering +// Solutions of Sandia, LLC (NTESS). +// +// Under the terms of Contract DE-NA0003525 with NTESS, +// the U.S. Government retains certain rights in this software. +// +// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions. +// +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//@HEADER +*/ + +#ifndef KOKKOS_DECLARE_HPP_ +#define KOKKOS_DECLARE_HPP_ + +#include + + +#endif diff --git a/bundled/kokkos-4.5.01/core/src/KokkosCore_Config_FwdBackend.hpp b/bundled/kokkos-4.5.01/core/src/KokkosCore_Config_FwdBackend.hpp new file mode 100644 index 0000000000..6a4bf28ce6 --- /dev/null +++ b/bundled/kokkos-4.5.01/core/src/KokkosCore_Config_FwdBackend.hpp @@ -0,0 +1,25 @@ +/* +//@HEADER +// ************************************************************************ +// +// Kokkos v. 4.0 +// Copyright (2022) National Technology & Engineering +// Solutions of Sandia, LLC (NTESS). +// +// Under the terms of Contract DE-NA0003525 with NTESS, +// the U.S. Government retains certain rights in this software. +// +// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions. +// +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//@HEADER +*/ + +#ifndef KOKKOS_FWD_HPP_ +#define KOKKOS_FWD_HPP_ + +#include + + +#endif diff --git a/bundled/kokkos-4.5.01/core/src/KokkosCore_Config_SetupBackend.hpp b/bundled/kokkos-4.5.01/core/src/KokkosCore_Config_SetupBackend.hpp new file mode 100644 index 0000000000..14930c89ba --- /dev/null +++ b/bundled/kokkos-4.5.01/core/src/KokkosCore_Config_SetupBackend.hpp @@ -0,0 +1,24 @@ +/* +//@HEADER +// ************************************************************************ +// +// Kokkos v. 4.0 +// Copyright (2022) National Technology & Engineering +// Solutions of Sandia, LLC (NTESS). +// +// Under the terms of Contract DE-NA0003525 with NTESS, +// the U.S. Government retains certain rights in this software. +// +// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions. +// +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//@HEADER +*/ + +#ifndef KOKKOS_SETUP_HPP_ +#define KOKKOS_SETUP_HPP_ + + + +#endif diff --git a/bundled/kokkos-4.5.01/core/src/KokkosCore_config.h b/bundled/kokkos-4.5.01/core/src/KokkosCore_config.h new file mode 100644 index 0000000000..e0dd194dc0 --- /dev/null +++ b/bundled/kokkos-4.5.01/core/src/KokkosCore_config.h @@ -0,0 +1,137 @@ + +#if !defined(KOKKOS_MACROS_HPP) || defined(KOKKOS_CORE_CONFIG_H) +#error \ + "Do not include KokkosCore_config.h directly; include Kokkos_Macros.hpp instead." +#else +#define KOKKOS_CORE_CONFIG_H +#endif + +// KOKKOS_VERSION % 100 is the patch level +// KOKKOS_VERSION / 100 % 100 is the minor version +// KOKKOS_VERSION / 10000 is the major version +#define KOKKOS_VERSION 40501 +#define KOKKOS_VERSION_MAJOR 4 +#define KOKKOS_VERSION_MINOR 5 +#define KOKKOS_VERSION_PATCH 1 + +/* Execution Spaces */ +#define KOKKOS_ENABLE_SERIAL +/* #undef KOKKOS_ENABLE_OPENMP */ +/* #undef KOKKOS_ENABLE_OPENACC */ +/* #undef KOKKOS_ENABLE_OPENMPTARGET */ +/* #undef KOKKOS_ENABLE_THREADS */ +/* #undef KOKKOS_ENABLE_CUDA */ +/* #undef KOKKOS_ENABLE_HIP */ +/* #undef KOKKOS_ENABLE_HPX */ +/* #undef KOKKOS_ENABLE_SYCL */ + +/* General Settings */ +#define KOKKOS_ENABLE_CXX17 +/* #undef KOKKOS_ENABLE_CXX20 */ +/* #undef KOKKOS_ENABLE_CXX23 */ +/* #undef KOKKOS_ENABLE_CXX26 */ + +/* #undef KOKKOS_ENABLE_CUDA_RELOCATABLE_DEVICE_CODE */ +/* #undef KOKKOS_ENABLE_CUDA_UVM */ +/* #undef KOKKOS_ENABLE_CUDA_LAMBDA */ +/* #undef KOKKOS_ENABLE_CUDA_CONSTEXPR */ +/* #undef KOKKOS_ENABLE_IMPL_CUDA_MALLOC_ASYNC */ +/* #undef KOKKOS_ENABLE_IMPL_CUDA_UNIFIED_MEMORY */ +/* #undef KOKKOS_ENABLE_HIP_RELOCATABLE_DEVICE_CODE */ +/* #undef KOKKOS_ENABLE_HIP_MULTIPLE_KERNEL_INSTANTIATIONS */ +/* #undef KOKKOS_ENABLE_IMPL_HIP_MALLOC_ASYNC */ +/* #undef KOKKOS_ENABLE_SYCL_RELOCATABLE_DEVICE_CODE */ +/* #undef KOKKOS_IMPL_SYCL_DEVICE_GLOBAL_SUPPORTED */ +/* #undef KOKKOS_ENABLE_OPENACC_FORCE_HOST_AS_DEVICE */ +/* #undef KOKKOS_ENABLE_IMPL_HPX_ASYNC_DISPATCH */ +/* #undef KOKKOS_ENABLE_DEBUG */ +/* #undef KOKKOS_ENABLE_DEBUG_DUALVIEW_MODIFY_CHECK */ +/* #undef KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK */ +/* #undef KOKKOS_ENABLE_TUNING */ +#define KOKKOS_ENABLE_DEPRECATED_CODE_4 +#define KOKKOS_ENABLE_DEPRECATION_WARNINGS +/* #undef KOKKOS_ENABLE_LARGE_MEM_TESTS */ +#define KOKKOS_ENABLE_COMPLEX_ALIGN +/* #undef KOKKOS_OPT_RANGE_AGGRESSIVE_VECTORIZATION */ +/* #undef KOKKOS_ENABLE_AGGRESSIVE_VECTORIZATION */ +#define KOKKOS_ENABLE_IMPL_MDSPAN +#define KOKKOS_ENABLE_IMPL_REF_COUNT_BRANCH_UNLIKELY +/* #undef KOKKOS_ENABLE_IMPL_VIEW_OF_VIEWS_DESTRUCTOR_PRECONDITION_VIOLATION_WORKAROUND */ +/* #undef KOKKOS_ENABLE_ATOMICS_BYPASS */ + +/* TPL Settings */ +/* #undef KOKKOS_ENABLE_HWLOC */ +#define KOKKOS_ENABLE_LIBDL +/* #undef KOKKOS_ENABLE_LIBQUADMATH */ +/* #undef KOKKOS_ENABLE_ONEDPL */ +/* #undef KOKKOS_ENABLE_ROCTHRUST */ + +/* #undef KOKKOS_ARCH_ARMV80 */ +/* #undef KOKKOS_ARCH_ARMV8_THUNDERX */ +/* #undef KOKKOS_ARCH_ARMV81 */ +/* #undef KOKKOS_ARCH_ARMV8_THUNDERX2 */ +/* #undef KOKKOS_ARCH_ARMV9_GRACE */ +/* #undef KOKKOS_ARCH_A64FX */ +/* #undef KOKKOS_ARCH_AVX */ +/* #undef KOKKOS_ARCH_AVX2 */ +/* #undef KOKKOS_ARCH_AVX512XEON */ +/* #undef KOKKOS_ARCH_ARM_NEON */ +/* #undef KOKKOS_ARCH_KNC */ +/* #undef KOKKOS_ARCH_AVX512MIC */ +/* #undef KOKKOS_ARCH_POWER7 */ +/* #undef KOKKOS_ARCH_POWER8 */ +/* #undef KOKKOS_ARCH_POWER9 */ +/* #undef KOKKOS_ARCH_RISCV_SG2042 */ +/* #undef KOKKOS_ARCH_RISCV_RVA22V */ +/* #undef KOKKOS_ARCH_INTEL_GEN */ +/* #undef KOKKOS_ARCH_INTEL_DG1 */ +/* #undef KOKKOS_ARCH_INTEL_GEN9 */ +/* #undef KOKKOS_ARCH_INTEL_GEN11 */ +/* #undef KOKKOS_ARCH_INTEL_GEN12LP */ +/* #undef KOKKOS_ARCH_INTEL_XEHP */ +/* #undef KOKKOS_ARCH_INTEL_PVC */ +/* #undef KOKKOS_ARCH_INTEL_GPU */ +/* #undef KOKKOS_ARCH_KEPLER */ +/* #undef KOKKOS_ARCH_KEPLER30 */ +/* #undef KOKKOS_ARCH_KEPLER32 */ +/* #undef KOKKOS_ARCH_KEPLER35 */ +/* #undef KOKKOS_ARCH_KEPLER37 */ +/* #undef KOKKOS_ARCH_MAXWELL */ +/* #undef KOKKOS_ARCH_MAXWELL50 */ +/* #undef KOKKOS_ARCH_MAXWELL52 */ +/* #undef KOKKOS_ARCH_MAXWELL53 */ +/* #undef KOKKOS_ARCH_PASCAL */ +/* #undef KOKKOS_ARCH_PASCAL60 */ +/* #undef KOKKOS_ARCH_PASCAL61 */ +/* #undef KOKKOS_ARCH_VOLTA */ +/* #undef KOKKOS_ARCH_VOLTA70 */ +/* #undef KOKKOS_ARCH_VOLTA72 */ +/* #undef KOKKOS_ARCH_TURING75 */ +/* #undef KOKKOS_ARCH_AMPERE */ +/* #undef KOKKOS_ARCH_AMPERE80 */ +/* #undef KOKKOS_ARCH_AMPERE86 */ +/* #undef KOKKOS_ARCH_ADA89 */ +/* #undef KOKKOS_ARCH_HOPPER */ +/* #undef KOKKOS_ARCH_HOPPER90 */ +/* #undef KOKKOS_ARCH_AMD_ZEN */ +/* #undef KOKKOS_ARCH_AMD_ZEN2 */ +/* #undef KOKKOS_ARCH_AMD_ZEN3 */ +/* #undef KOKKOS_ARCH_AMD_GFX906 */ +/* #undef KOKKOS_ARCH_AMD_GFX908 */ +/* #undef KOKKOS_ARCH_AMD_GFX90A */ +/* #undef KOKKOS_ARCH_AMD_GFX940 */ +/* #undef KOKKOS_ARCH_AMD_GFX942 */ +/* #undef KOKKOS_ARCH_AMD_GFX942_APU */ +/* #undef KOKKOS_ARCH_AMD_GFX1030 */ +/* #undef KOKKOS_ARCH_AMD_GFX1100 */ +/* #undef KOKKOS_ARCH_AMD_GFX1103 */ +/* #undef KOKKOS_ARCH_AMD_GPU */ +/* #undef KOKKOS_ARCH_VEGA */ +/* #undef KOKKOS_ARCH_VEGA906 */ +/* #undef KOKKOS_ARCH_VEGA908 */ +/* #undef KOKKOS_ARCH_VEGA90A */ +/* #undef KOKKOS_ARCH_NAVI */ +/* #undef KOKKOS_ARCH_NAVI1030 */ +/* #undef KOKKOS_ARCH_NAVI1100 */ + +/* #undef KOKKOS_IMPL_32BIT */ diff --git a/bundled/kokkos-4.5.01/core/src/Kokkos_Version_Info.cpp b/bundled/kokkos-4.5.01/core/src/Kokkos_Version_Info.cpp new file mode 100644 index 0000000000..533faa8fe2 --- /dev/null +++ b/bundled/kokkos-4.5.01/core/src/Kokkos_Version_Info.cpp @@ -0,0 +1,31 @@ +//@HEADER +// ************************************************************************ +// +// Kokkos v. 4.0 +// Copyright (2022) National Technology & Engineering +// Solutions of Sandia, LLC (NTESS). +// +// Under the terms of Contract DE-NA0003525 with NTESS, +// the U.S. Government retains certain rights in this software. +// +// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions. +// See https://kokkos.org/LICENSE for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//@HEADER + +#include "Kokkos_Version_Info.hpp" + +namespace Kokkos { +namespace Impl { + +std::string GIT_BRANCH = R"branch()branch"; +std::string GIT_COMMIT_HASH = ""; +std::string GIT_CLEAN_STATUS = ""; +std::string GIT_COMMIT_DESCRIPTION = + R"message()message"; +std::string GIT_COMMIT_DATE = ""; + +} // namespace Impl + +} // namespace Kokkos diff --git a/bundled/kokkos-4.5.01/core/src/Kokkos_Version_Info.hpp b/bundled/kokkos-4.5.01/core/src/Kokkos_Version_Info.hpp new file mode 100644 index 0000000000..831247115e --- /dev/null +++ b/bundled/kokkos-4.5.01/core/src/Kokkos_Version_Info.hpp @@ -0,0 +1,34 @@ +//@HEADER +// ************************************************************************ +// +// Kokkos v. 4.0 +// Copyright (2022) National Technology & Engineering +// Solutions of Sandia, LLC (NTESS). +// +// Under the terms of Contract DE-NA0003525 with NTESS, +// the U.S. Government retains certain rights in this software. +// +// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions. +// See https://kokkos.org/LICENSE for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//@HEADER + +#ifndef KOKKOS_GIT_VERSION_INFO_H +#define KOKKOS_GIT_VERSION_INFO_H + +#include + +namespace Kokkos { +namespace Impl { + +extern std::string GIT_BRANCH; +extern std::string GIT_COMMIT_HASH; +extern std::string GIT_CLEAN_STATUS; +extern std::string GIT_COMMIT_DESCRIPTION; +extern std::string GIT_COMMIT_DATE; + +} // namespace Impl +} // namespace Kokkos + +#endif diff --git a/bundled/kokkos-4.5.01/tpls/desul/include/desul/atomics/Config.hpp b/bundled/kokkos-4.5.01/tpls/desul/include/desul/atomics/Config.hpp new file mode 100644 index 0000000000..1683a3a019 --- /dev/null +++ b/bundled/kokkos-4.5.01/tpls/desul/include/desul/atomics/Config.hpp @@ -0,0 +1,21 @@ +/* +Copyright (c) 2019, Lawrence Livermore National Security, LLC +and DESUL project contributors. See the COPYRIGHT file for details. +Source: https://github.com/desul/desul + +SPDX-License-Identifier: (BSD-3-Clause) +*/ + +#ifndef DESUL_ATOMICS_CONFIG_HPP_ +#define DESUL_ATOMICS_CONFIG_HPP_ + +/* #undef DESUL_ATOMICS_ENABLE_CUDA */ +/* #undef DESUL_ATOMICS_ENABLE_CUDA_SEPARABLE_COMPILATION */ +/* #undef DESUL_ATOMICS_ENABLE_HIP */ +/* #undef DESUL_ATOMICS_ENABLE_HIP_SEPARABLE_COMPILATION */ +/* #undef DESUL_ATOMICS_ENABLE_SYCL */ +/* #undef DESUL_ATOMICS_ENABLE_SYCL_SEPARABLE_COMPILATION */ +/* #undef DESUL_ATOMICS_ENABLE_OPENMP */ +/* #undef DESUL_ATOMICS_ENABLE_OPENACC */ + +#endif -- 2.39.5