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
9e5c56da
Commit
9e5c56da
authored
Mar 03, 2022
by
Shucai Xiao
Browse files
clang format
parent
1ce84cf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/targets/gpu/device/mul_add.cpp
src/targets/gpu/device/mul_add.cpp
+3
-3
No files found.
src/targets/gpu/device/mul_add.cpp
View file @
9e5c56da
...
...
@@ -70,9 +70,9 @@ void mul_add(hipStream_t stream,
ss
.
push_back
(
arg1
.
get_shape
());
ss
.
push_back
(
arg2
.
get_shape
());
ss
.
push_back
(
arg3
.
get_shape
());
auto
lens
=
sr
.
lens
();
int
last_dim
=
lens
.
back
()
/
2
;
auto
n_dim
=
lens
.
size
();
auto
lens
=
sr
.
lens
();
int
last_dim
=
lens
.
back
()
/
2
;
auto
n_dim
=
lens
.
size
();
if
(
type
==
shape
::
half_type
and
is_bert
(
ss
))
{
auto
elem_num
=
sr
.
elements
()
/
2
;
...
...
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