kokkos-utils
0.0.1
Loading...
Searching...
No Matches
ExecutionSpace.hpp
Go to the documentation of this file.
1
#ifndef KOKKOS_UTILS_TESTS_SCOPED_EXECUTIONSPACE_HPP
2
#define KOKKOS_UTILS_TESTS_SCOPED_EXECUTIONSPACE_HPP
3
4
#include "
kokkos-utils/concepts/ExecutionSpace.hpp
"
5
6
namespace
Kokkos::utils::tests::scoped
7
{
8
10
template
<Kokkos::utils::concepts::ExecutionSpace Exec>
11
struct
KOKKOS_ATTRIBUTE_NODISCARD
ExecutionSpace
12
{
13
ExecutionSpace
() :
exec
(
Kokkos
::
Experimental
::partition_space(Exec{}, 1)[0]) {}
14
15
ExecutionSpace
&
operator=
(
const
ExecutionSpace
&) =
delete
;
16
ExecutionSpace
(
const
ExecutionSpace
&) =
delete
;
17
18
Exec
exec
;
19
};
20
21
}
// namespace Kokkos::utils::tests::scoped
22
23
#endif
// KOKKOS_UTILS_TESTS_SCOPED_EXECUTIONSPACE_HPP
Kokkos::Experimental
ExecutionSpace.hpp
Kokkos
Kokkos::utils::tests::scoped
Definition
ExecutionSpace.hpp:7
Kokkos::utils::tests::scoped::ExecutionSpace::exec
Exec exec
Definition
ExecutionSpace.hpp:18
Kokkos::utils::tests::scoped::ExecutionSpace::ExecutionSpace
ExecutionSpace()
Definition
ExecutionSpace.hpp:13
Kokkos::utils::tests::scoped::ExecutionSpace::operator=
ExecutionSpace & operator=(const ExecutionSpace &)=delete
Kokkos::utils::tests::scoped::ExecutionSpace::ExecutionSpace
ExecutionSpace(const ExecutionSpace &)=delete
include
kokkos-utils
tests
scoped
ExecutionSpace.hpp
Generated on Wed Jun 25 2025 05:46:48 for kokkos-utils by
1.13.2