Commit 422c825b authored by Paul's avatar Paul
Browse files

Formatting

parent 905dbf49
......@@ -7,8 +7,7 @@ namespace device {
void add(argument result, argument arg1, argument arg2)
{
nary(std::move(result), std::move(arg1), std::move(arg2))(
[](auto x, auto y) { return x + y; });
nary(std::move(result), std::move(arg1), std::move(arg2))([](auto x, auto y) { return x + y; });
}
} // namespace device
......
......@@ -178,8 +178,7 @@ struct hip_add
return inputs.at(0);
}
argument
compute(context&, const shape&, const std::vector<argument>& args) const
argument compute(context&, const shape&, const std::vector<argument>& args) const
{
device::add(args[2], args[0], args[1]);
return args[2];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment