Commit 6aebef15 authored by Khalique's avatar Khalique
Browse files

formatting

parent 25597e6b
...@@ -9,7 +9,8 @@ namespace device { ...@@ -9,7 +9,8 @@ namespace device {
void max(hipStream_t stream, const argument& result, const argument& arg1, const argument& arg2) void max(hipStream_t stream, const argument& result, const argument& arg1, const argument& arg2)
{ {
nary(stream, result, arg1, arg2)([](auto x, auto y) { return std::max(to_hip_type(x), to_hip_type(y)); }); nary(stream, result, arg1, arg2)(
[](auto x, auto y) { return std::max(to_hip_type(x), to_hip_type(y)); });
} }
} // namespace device } // namespace device
......
...@@ -9,7 +9,8 @@ namespace device { ...@@ -9,7 +9,8 @@ namespace device {
void min(hipStream_t stream, const argument& result, const argument& arg1, const argument& arg2) void min(hipStream_t stream, const argument& result, const argument& arg1, const argument& arg2)
{ {
nary(stream, result, arg1, arg2)([](auto x, auto y) { return std::min(to_hip_type(x), to_hip_type(y)); }); nary(stream, result, arg1, arg2)(
[](auto x, auto y) { return std::min(to_hip_type(x), to_hip_type(y)); });
} }
} // namespace device } // 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