"mmdet3d/models/vscode:/vscode.git/clone" did not exist on "579b0799da2357ce075b02b7271c9fdf27a5abf6"
add.cpp 348 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
4
5
6
7
#include <migraph/gpu/device/add.hpp>
#include <migraph/gpu/device/nary.hpp>

namespace migraph {
namespace gpu {
namespace device {

Paul's avatar
Paul committed
8
void add(const argument& result, const argument& arg1, const argument& arg2)
Paul's avatar
Paul committed
9
{
Paul's avatar
Paul committed
10
    nary(result, arg1, arg2)([](auto x, auto y) { return x + y; });
Paul's avatar
Paul committed
11
12
13
14
15
}

} // namespace device
} // namespace gpu
} // namespace migraph