Commit 37339d1a authored by Khalique's avatar Khalique
Browse files

reorder args

parent 8db7d714
......@@ -8,7 +8,7 @@ namespace device {
void sqdiff(hipStream_t stream, const argument& result, const argument& arg1, const argument& arg2)
{
nary(stream, result, arg2, arg1)([](auto x, auto y) { return (x - y) * (x - y); });
nary(stream, result, arg1, arg2)([](auto x, auto y) { return (x - y) * (x - y); });
}
} // namespace device
......
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