Poplar and PopLibs
OperationDef.hpp
Go to the documentation of this file.
1
// Copyright (c) 2021 Graphcore Ltd. All rights reserved.
8
#ifndef popops_OperationDef_hpp
9
#define popops_OperationDef_hpp
10
11
namespace
popops
{
12
15
enum class
Operation
{
16
ADD,
17
MUL,
18
MIN,
19
MAX,
20
LOGICAL_AND,
21
LOGICAL_OR,
22
SQUARE_ADD,
23
LOG_ADD
,
24
};
25
26
}
// End namespace popops
27
28
#endif
// popops_OperationDef_hpp
popops
Common functions, such as elementwise and reductions.
Definition:
AllTrue.hpp:15
popops::Operation
Operation
Type of operation to use in a reduction.
Definition:
OperationDef.hpp:15
popops::Operation::LOG_ADD
@ LOG_ADD
Reduce using acc = a+log(1+exp(b-a))
include
popops
OperationDef.hpp
Generated by
1.9.3