Commit 3d180a57 authored by Paul's avatar Paul
Browse files

Fix clang tidy issues

parent 8badb1e9
...@@ -86,7 +86,6 @@ rocm_enable_clang_tidy( ...@@ -86,7 +86,6 @@ rocm_enable_clang_tidy(
".*hpp" ".*hpp"
EXTRA_ARGS EXTRA_ARGS
-DMIGRAPH_USE_CLANG_TIDY -DMIGRAPH_USE_CLANG_TIDY
ANALYZE_TEMPORARY_DTORS ON
) )
include(ROCMCppCheck) include(ROCMCppCheck)
......
...@@ -228,13 +228,13 @@ struct pooling ...@@ -228,13 +228,13 @@ struct pooling
input.lens()[1], input.lens()[1],
std::size_t(std::max<std::ptrdiff_t>( std::size_t(std::max<std::ptrdiff_t>(
1, 1,
std::ceil((input.lens()[2] + 2 * padding[0] - lengths[0]) / std::ptrdiff_t(std::ceil((input.lens()[2] + 2 * padding[0] - lengths[0]) /
static_cast<float>(stride[0])) + static_cast<float>(stride[0]))) +
1)), 1)),
std::size_t(std::max<std::ptrdiff_t>( std::size_t(std::max<std::ptrdiff_t>(
1, 1,
std::ceil((input.lens()[3] + 2 * padding[1] - lengths[1]) / std::ptrdiff_t(std::ceil((input.lens()[3] + 2 * padding[1] - lengths[1]) /
static_cast<float>(stride[1])) + static_cast<float>(stride[1]))) +
1)), 1)),
}}; }};
} }
......
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