Skip to content

Commit

Permalink
Support streaming Methods
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed May 6, 2024
1 parent 2ceea82 commit bc9a4d1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/tapkee/defines/methods.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ template <typename M> struct Method
const char* name_;
};

template <typename M>
std::ostream& operator<<(std::ostream& os, const Method<M>& method)
{
os << method.name();
return os;
}

struct DimensionReductionTraits
{
const bool needs_kernel;
Expand Down

0 comments on commit bc9a4d1

Please sign in to comment.