Commit d4b6c130 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent f65ef97c
...@@ -6,12 +6,9 @@ inline namespace MIGRAPHX_INLINE_NS { ...@@ -6,12 +6,9 @@ inline namespace MIGRAPHX_INLINE_NS {
namespace gpu { namespace gpu {
namespace device { namespace device {
void relu(hipStream_t stream, void relu(hipStream_t stream, const argument& result, const argument& arg)
const argument& result,
const argument& arg)
{ {
nary(stream, result, arg)( nary(stream, result, arg)([](auto x) { return std::max<decltype(x)>(0, x); });
[](auto x) { return std::max<decltype(x)>(0, x); });
} }
} // 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