kokkos-execution
0.0.1
Loading...
Searching...
No Matches
streamers.hpp
Go to the documentation of this file.
1
#ifndef KOKKOS_EXECUTION_UTILS_STREAMERS_HPP
2
#define KOKKOS_EXECUTION_UTILS_STREAMERS_HPP
3
4
#include <ostream>
5
#include <vector>
6
7
namespace
Kokkos::Execution::Utils
{
8
9
inline
std::ostream&
operator<<
(std::ostream& out,
const
std::vector<void*>& values) {
10
out <<
'['
;
11
for
(
bool
first =
true
;
const
void
* value: values) {
12
if
(!first)
13
out <<
", "
;
14
out << value;
15
first =
false
;
16
}
17
return
out <<
']'
;
18
}
19
20
}
// namespace Kokkos::Execution::Utils
21
22
#endif
// KOKKOS_EXECUTION_UTILS_STREAMERS_HPP
Kokkos::Execution::Utils
Definition
streamers.hpp:7
Kokkos::Execution::Utils::operator<<
std::ostream & operator<<(std::ostream &out, const std::vector< void * > &values)
Definition
streamers.hpp:9
kokkos-execution
utils
streamers.hpp
Generated on
for kokkos-execution by
1.15.0