Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
3d180a57
"example/39_permute/run_permute_element_example.inc" did not exist on "8b98d7d2fe92c36d7a95eccd0387c68ed7d81c44"
Commit
3d180a57
authored
Jul 23, 2018
by
Paul
Browse files
Fix clang tidy issues
parent
8badb1e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
CMakeLists.txt
CMakeLists.txt
+0
-1
src/include/migraph/operators.hpp
src/include/migraph/operators.hpp
+4
-4
No files found.
CMakeLists.txt
View file @
3d180a57
...
...
@@ -86,7 +86,6 @@ rocm_enable_clang_tidy(
".*hpp"
EXTRA_ARGS
-DMIGRAPH_USE_CLANG_TIDY
ANALYZE_TEMPORARY_DTORS ON
)
include
(
ROCMCppCheck
)
...
...
src/include/migraph/operators.hpp
View file @
3d180a57
...
...
@@ -228,13 +228,13 @@ struct pooling
input
.
lens
()[
1
],
std
::
size_t
(
std
::
max
<
std
::
ptrdiff_t
>
(
1
,
std
::
ceil
((
input
.
lens
()[
2
]
+
2
*
padding
[
0
]
-
lengths
[
0
])
/
static_cast
<
float
>
(
stride
[
0
]))
+
std
::
ptrdiff_t
(
std
::
ceil
((
input
.
lens
()[
2
]
+
2
*
padding
[
0
]
-
lengths
[
0
])
/
static_cast
<
float
>
(
stride
[
0
]))
)
+
1
)),
std
::
size_t
(
std
::
max
<
std
::
ptrdiff_t
>
(
1
,
std
::
ceil
((
input
.
lens
()[
3
]
+
2
*
padding
[
1
]
-
lengths
[
1
])
/
static_cast
<
float
>
(
stride
[
1
]))
+
std
::
ptrdiff_t
(
std
::
ceil
((
input
.
lens
()[
3
]
+
2
*
padding
[
1
]
-
lengths
[
1
])
/
static_cast
<
float
>
(
stride
[
1
]))
)
+
1
)),
}};
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment