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
6
7using execution_space = Kokkos::DefaultExecutionSpace;
8
19
21{
22
25{
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
Specify that a type is a Kokkos space.
Definition Space.hpp:11
Kokkos::DefaultExecutionSpace execution_space