Poplar and PopLibs
SortOrder.hpp
Go to the documentation of this file.
1// Copyright (c) 2021 Graphcore Ltd. All rights reserved.
6#ifndef _popops_SortOrder_hpp_
7#define _popops_SortOrder_hpp_
8
9#include <iosfwd>
10
11namespace popops {
12
14enum class SortOrder {
16 NONE,
21};
22
23std::ostream &operator<<(std::ostream &os, const SortOrder &o);
24
25} // end namespace popops
26
27#endif // _popops_SortOrder_hpp_
Common functions, such as elementwise and reductions.
Definition: AllTrue.hpp:15
SortOrder
Defines a required order for sorting operations.
Definition: SortOrder.hpp:14
@ ASCENDING
Sort in ascending order.
@ DESCENDING
Sort in descending order.
std::ostream & operator<<(std::ostream &os, const Operation &op)
Write op to output stream os.