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
e6f8a2cf
Commit
e6f8a2cf
authored
Dec 01, 2021
by
Paul
Browse files
Format
parent
812cd5c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/targets/gpu/mlir.cpp
src/targets/gpu/mlir.cpp
+2
-2
No files found.
src/targets/gpu/mlir.cpp
View file @
e6f8a2cf
...
@@ -447,12 +447,12 @@ struct mlir_program
...
@@ -447,12 +447,12 @@ struct mlir_program
// 1st pipeline to call
// 1st pipeline to call
mlirMIGraphXAddHighLevelPipeline
(
pm
.
get
());
mlirMIGraphXAddHighLevelPipeline
(
pm
.
get
());
// 2nd pipeline to call
// 2nd pipeline to call
const
char
*
deviceName
=
"gfx908"
;
const
char
*
deviceName
=
"gfx908"
;
mlirMIGraphXAddBackendPipeline
(
pm
.
get
(),
deviceName
);
mlirMIGraphXAddBackendPipeline
(
pm
.
get
(),
deviceName
);
mlirPassManagerRun
(
pm
.
get
(),
mmodule
.
get
());
mlirPassManagerRun
(
pm
.
get
(),
mmodule
.
get
());
code_object_op
op
;
code_object_op
op
;
op
.
code_object
=
get_binary
();
op
.
code_object
=
get_binary
();
std
::
tie
(
op
.
global
,
op
.
local
)
=
get_launch_params
();
std
::
tie
(
op
.
global
,
op
.
local
)
=
get_launch_params
();
return
op
;
return
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