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
5233b80a
"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "2a2b4a976d48b919997376542106f88ad8aa540d"
Commit
5233b80a
authored
Jan 16, 2023
by
jungpark-mlir
Browse files
Update mlir.cpp
parent
a056628e
Changes
1
Hide 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 @
5233b80a
...
...
@@ -588,10 +588,11 @@ struct mlir_program
tuning_table
=
mlirRockTuningTableCreate
();
std
::
ifstream
table_in
(
"/opt/rocm/share/miopen/db/rockgemm.tsv"
);
std
::
string
arch
,
prob
,
perf
,
key
;
std
::
getline
(
table_in
,
arch
);
while
(
std
::
getline
(
table_in
,
arch
,
'\t'
))
{
std
::
getline
(
table_in
,
prob
,
'\t'
);
std
::
getline
(
table_in
,
perf
,
'\t'
);
std
::
getline
(
table_in
,
perf
);
key
=
arch
+
"
\t
"
+
prob
;
char
*
key_cstr
=
strdup
(
key
.
c_str
());
char
*
perf_cstr
=
strdup
(
perf
.
c_str
());
...
...
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