kokkos-utils
0.0.1
Loading...
Searching...
No Matches
test_Space.cpp
Go to the documentation of this file.
1
#include "gtest/gtest.h"
2
3
#include "Kokkos_Core.hpp"
4
5
#include "
kokkos-utils/concepts/Space.hpp
"
6
7
using
execution_space
= Kokkos::DefaultExecutionSpace;
8
19
20
namespace
Kokkos::utils::tests::concepts
21
{
22
24
TEST
(
concepts
, Space)
25
{
26
using
Kokkos::utils::concepts::Space
;
27
28
static_assert
(Space<typename execution_space::execution_space>);
29
static_assert
(Space<typename execution_space::memory_space>);
30
static_assert
(Space<Kokkos::Device<typename execution_space::execution_space, typename execution_space::memory_space>>);
31
}
32
33
}
// namespace Kokkos::utils::tests::concepts
Space.hpp
Kokkos::utils::concepts::Space
Specify that a type is a Kokkos space.
Definition
Space.hpp:11
Kokkos::utils::tests::concepts
Definition
test_DualView.cpp:20
Kokkos::utils::tests::concepts::TEST
TEST(concepts, DualView)
Definition
test_DualView.cpp:23
execution_space
Kokkos::DefaultExecutionSpace execution_space
Definition
test_InsertOp.cpp:8
tests
concepts
test_Space.cpp
Generated on Thu Apr 17 2025 12:50:27 for kokkos-utils by
1.13.2