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
34a7c072
"vscode:/vscode.git/clone" did not exist on "a2085b85f04d693222297bf614a5e5b34de04986"
Commit
34a7c072
authored
May 06, 2022
by
Paul
Browse files
Format
parent
722d5f5c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/targets/gpu/mlir.cpp
src/targets/gpu/mlir.cpp
+2
-1
No files found.
src/targets/gpu/mlir.cpp
View file @
34a7c072
...
@@ -469,7 +469,8 @@ struct mlir_program
...
@@ -469,7 +469,8 @@ struct mlir_program
// HACK: Since MLIR can't handle the full target name
// HACK: Since MLIR can't handle the full target name
auto
hacked_tname
=
tname
.
substr
(
0
,
tname
.
find
(
":"
));
auto
hacked_tname
=
tname
.
substr
(
0
,
tname
.
find
(
":"
));
auto
hacked_features
=
tname
.
substr
(
tname
.
find
(
":"
));
auto
hacked_features
=
tname
.
substr
(
tname
.
find
(
":"
));
mlirMIGraphXAddBackendPipeline
(
pm
.
get
(),
hacked_tname
.
c_str
(),
"amdgcn-amd-amdhsa"
,
hacked_features
.
c_str
());
mlirMIGraphXAddBackendPipeline
(
pm
.
get
(),
hacked_tname
.
c_str
(),
"amdgcn-amd-amdhsa"
,
hacked_features
.
c_str
());
mlirPassManagerRun
(
pm
.
get
(),
mmodule
.
get
());
mlirPassManagerRun
(
pm
.
get
(),
mmodule
.
get
());
code_object_op
op
;
code_object_op
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