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
d0b7fc9a
Commit
d0b7fc9a
authored
May 17, 2022
by
Paul
Browse files
Format
parent
5515c9a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/module.cpp
src/module.cpp
+1
-1
src/targets/gpu/compile_hip_code_object.cpp
src/targets/gpu/compile_hip_code_object.cpp
+2
-1
No files found.
src/module.cpp
100755 → 100644
View file @
d0b7fc9a
...
@@ -558,7 +558,7 @@ void module::finalize(context& ctx)
...
@@ -558,7 +558,7 @@ void module::finalize(context& ctx)
const
bool
trace
=
enabled
(
MIGRAPHX_TRACE_FINALIZE
{});
const
bool
trace
=
enabled
(
MIGRAPHX_TRACE_FINALIZE
{});
for
(
auto
ins
:
iterator_for
(
*
this
))
for
(
auto
ins
:
iterator_for
(
*
this
))
{
{
if
(
trace
)
if
(
trace
)
{
{
std
::
cout
<<
"Finalize: "
;
std
::
cout
<<
"Finalize: "
;
this
->
debug_print
(
ins
);
this
->
debug_print
(
ins
);
...
...
src/targets/gpu/compile_hip_code_object.cpp
View file @
d0b7fc9a
...
@@ -132,7 +132,8 @@ operation compile_hip_code_object(const std::string& content, hip_compile_option
...
@@ -132,7 +132,8 @@ operation compile_hip_code_object(const std::string& content, hip_compile_option
assert
(
options
.
global
>
0
);
assert
(
options
.
global
>
0
);
assert
(
options
.
local
>
0
);
assert
(
options
.
local
>
0
);
assert
(
options
.
inputs
.
size
()
>
0
);
assert
(
options
.
inputs
.
size
()
>
0
);
assert
(
options
.
inputs
.
size
()
==
options
.
virtual_inputs
.
size
()
or
options
.
virtual_inputs
.
empty
());
assert
(
options
.
inputs
.
size
()
==
options
.
virtual_inputs
.
size
()
or
options
.
virtual_inputs
.
empty
());
std
::
vector
<
src_file
>
srcs
;
std
::
vector
<
src_file
>
srcs
;
std
::
transform
(
migraphx_kernels
().
begin
(),
std
::
transform
(
migraphx_kernels
().
begin
(),
migraphx_kernels
().
end
(),
migraphx_kernels
().
end
(),
...
...
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