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
c827fbfe
Commit
c827fbfe
authored
Apr 17, 2019
by
Shucai Xiao
Browse files
clang format
parent
bbd97e94
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/targets/gpu/adjust_allocation.cpp
src/targets/gpu/adjust_allocation.cpp
+4
-2
No files found.
src/targets/gpu/adjust_allocation.cpp
View file @
c827fbfe
...
@@ -15,8 +15,10 @@ void adjust_allocation::apply(program& p) const
...
@@ -15,8 +15,10 @@ void adjust_allocation::apply(program& p) const
if
(
alias_ins
->
name
()
==
"hip::allocate"
)
if
(
alias_ins
->
name
()
==
"hip::allocate"
)
{
{
std
::
cout
<<
"===================="
<<
std
::
endl
;
std
::
cout
<<
"===================="
<<
std
::
endl
;
std
::
cout
<<
"ins_name = "
<<
ins
->
name
()
<<
", shape = "
<<
ins
->
get_shape
()
<<
std
::
endl
;
std
::
cout
<<
"ins_name = "
<<
ins
->
name
()
<<
", shape = "
<<
ins
->
get_shape
()
std
::
cout
<<
"alias_ins_name = "
<<
alias_ins
->
name
()
<<
", shape = "
<<
alias_ins
->
get_shape
()
<<
std
::
endl
;
<<
std
::
endl
;
std
::
cout
<<
"alias_ins_name = "
<<
alias_ins
->
name
()
<<
", shape = "
<<
alias_ins
->
get_shape
()
<<
std
::
endl
;
// shape allocated is different from actual shape
// shape allocated is different from actual shape
// of the instruction, reallocate and replace the previous one
// of the instruction, reallocate and replace the previous one
if
(
alias_ins
->
get_shape
()
!=
ins
->
get_shape
())
if
(
alias_ins
->
get_shape
()
!=
ins
->
get_shape
())
...
...
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