From 6c49fe5b811464f59e3a31b869734071da0ec7c1 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 5 Feb 2025 19:09:43 +0200 Subject: Add mdspan includes From https://github.com/kokkos/mdspan Signed-off-by: Tomi Valkeinen --- ext/mdspan/include/experimental/mdarray | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ext/mdspan/include/experimental/mdarray (limited to 'ext/mdspan/include/experimental/mdarray') diff --git a/ext/mdspan/include/experimental/mdarray b/ext/mdspan/include/experimental/mdarray new file mode 100644 index 0000000..642d1f5 --- /dev/null +++ b/ext/mdspan/include/experimental/mdarray @@ -0,0 +1,28 @@ +//@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 + +#pragma once + +#ifndef MDSPAN_IMPL_STANDARD_NAMESPACE + #define MDSPAN_IMPL_STANDARD_NAMESPACE std +#endif + +#ifndef MDSPAN_IMPL_PROPOSED_NAMESPACE + #define MDSPAN_IMPL_PROPOSED_NAMESPACE experimental +#endif + +#include "mdspan" +#include "../mdspan/mdarray.hpp" -- cgit v1.2.3