kokkos-utils
0.0.2
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
namespace
Kokkos::utils::tests::scoped
5
{
6
8
template
<Kokkos::ExecutionSpace Exec>
9
struct
[[nodiscard]]
ExecutionSpace
10
{
11
ExecutionSpace
() :
exec
(
Kokkos
::Experimental::partition_space(Exec{}, 1)[0]) {}
12
13
ExecutionSpace
&
operator=
(
const
ExecutionSpace
&) =
delete
;
14
ExecutionSpace
(
const
ExecutionSpace
&) =
delete
;
15
16
Exec
exec
;
17
};
18
19
}
// namespace Kokkos::utils::tests::scoped
20
21
#endif
// KOKKOS_UTILS_TESTS_SCOPED_EXECUTIONSPACE_HPP
Kokkos::utils::tests::scoped
Definition
ExecutionSpace.hpp:5
Kokkos
Definition
InsertOp.hpp:9
Kokkos::utils::tests::scoped::ExecutionSpace::exec
Exec exec
Definition
ExecutionSpace.hpp:16
Kokkos::utils::tests::scoped::ExecutionSpace::ExecutionSpace
ExecutionSpace()
Definition
ExecutionSpace.hpp:11
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 Thu Jan 15 2026 14:25:33 for kokkos-utils by
1.13.2