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
50b1b842
Commit
50b1b842
authored
Jan 25, 2023
by
Paul
Browse files
Fix warning
parent
b4bba9a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/targets/gpu/compile_gen.cpp
src/targets/gpu/compile_gen.cpp
+4
-4
No files found.
src/targets/gpu/compile_gen.cpp
View file @
50b1b842
...
@@ -198,10 +198,10 @@ static std::size_t get_reduce_elements(const std::vector<shape>& inputs)
...
@@ -198,10 +198,10 @@ static std::size_t get_reduce_elements(const std::vector<shape>& inputs)
{
{
return
inputs
.
front
().
elements
()
/
inputs
.
back
().
elements
();
return
inputs
.
front
().
elements
()
/
inputs
.
back
().
elements
();
}
}
static
std
::
size_t
get_reduce_elements
(
const
std
::
vector
<
instruction_ref
>&
inputs
)
//
static std::size_t get_reduce_elements(const std::vector<instruction_ref>& inputs)
{
//
{
return
get_reduce_elements
(
to_shapes
(
inputs
));
//
return get_reduce_elements(to_shapes(inputs));
}
//
}
struct
reduce_op
struct
reduce_op
{
{
...
...
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