Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
09f7ee54
Commit
09f7ee54
authored
Apr 05, 2019
by
Shucai Xiao
Browse files
clang format
parent
c91b6e1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/include/migraphx/op/squeeze.hpp
src/include/migraphx/op/squeeze.hpp
+2
-2
src/targets/gpu/gemm.cpp
src/targets/gpu/gemm.cpp
+1
-1
No files found.
src/include/migraphx/op/squeeze.hpp
View file @
09f7ee54
...
...
@@ -56,13 +56,13 @@ struct squeeze
}
}
if
(
new_lens
.
empty
())
if
(
new_lens
.
empty
())
{
return
shape
{
type
};
}
else
{
return
shape
{
type
,
new_lens
};
return
shape
{
type
,
new_lens
};
}
}
argument
compute
(
shape
output_shape
,
std
::
vector
<
argument
>
args
)
const
...
...
src/targets/gpu/gemm.cpp
View file @
09f7ee54
...
...
@@ -179,7 +179,7 @@ argument miopen_gemm::compute(context& ctx,
const
std
::
vector
<
argument
>&
args
)
const
{
bool
is_3inputs
=
(
args
.
size
()
==
4
);
float
beta
=
0.0
f
;
float
beta
=
0.0
f
;
if
(
is_3inputs
)
{
output_shape
.
visit_type
([
&
](
auto
as
)
{
...
...
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