"git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "9ec7e375347d913b30bc066aae684463b6722995"
Commit 422c825b authored by Paul's avatar Paul
Browse files

Formatting

parent 905dbf49
...@@ -7,8 +7,7 @@ namespace device { ...@@ -7,8 +7,7 @@ namespace device {
void add(argument result, argument arg1, argument arg2) void add(argument result, argument arg1, argument arg2)
{ {
nary(std::move(result), std::move(arg1), std::move(arg2))( nary(std::move(result), std::move(arg1), std::move(arg2))([](auto x, auto y) { return x + y; });
[](auto x, auto y) { return x + y; });
} }
} // namespace device } // namespace device
......
...@@ -178,8 +178,7 @@ struct hip_add ...@@ -178,8 +178,7 @@ struct hip_add
return inputs.at(0); return inputs.at(0);
} }
argument argument compute(context&, const shape&, const std::vector<argument>& args) const
compute(context&, const shape&, const std::vector<argument>& args) const
{ {
device::add(args[2], args[0], args[1]); device::add(args[2], args[0], args[1]);
return args[2]; 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