Debian Codegraph @

packages/kokkos/core/unit_test/hpx/TestHPX_InterOp.cpp

raw
1 //@HEADER
2 // ************************************************************************
3 //
4 // Kokkos v. 4.0
5 // Copyright (2022) National Technology & Engineering
6 // Solutions of Sandia, LLC (NTESS).
7 //
8 // Under the terms of Contract DE-NA0003525 with NTESS,
9 // the U.S. Government retains certain rights in this software.
10 //
11 // Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions.
12 // See https://kokkos.org/LICENSE for license information.
13 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
14 //
15 //@HEADER
16
17 #include <Kokkos_Core.hpp>
18 #include <TestHPX_Category.hpp>
19
20 namespace Test {
21
22 // Test whether allocations survive Kokkos initialize/finalize if done via Raw
23 // HPX.
24 TEST(hpx, raw_hpx_interop) {
25 // FIXME_HPX
26 Kokkos::initialize();
27 Kokkos::finalize();
28 }
29 } // namespace Test