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
8
9inline 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
std::ostream & operator<<(std::ostream &out, const std::vector< void * > &values)
Definition streamers.hpp:9