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
4de5c46f
Commit
4de5c46f
authored
Oct 25, 2021
by
Paul
Browse files
Update mlit version
parent
d49d4f66
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+1
-1
src/mlir.cpp
src/mlir.cpp
+1
-1
No files found.
Dockerfile
View file @
4de5c46f
...
...
@@ -88,7 +88,7 @@ RUN git clone --single-branch --branch ${ONNXRUNTIME_BRANCH} --recursive ${ONNXR
ADD
tools/build_and_test_onnxrt.sh /onnxruntime/build_and_test_onnxrt.sh
RUN
PATH
=
/opt/cmake/bin:
$PATH
cget
-p
/usr/local
install
ROCmSoftwarePlatform/llvm-project-mlir@
02078ce236ad90e3aec04c0c770ef5bfc99e49c2
RUN
PATH
=
/opt/cmake/bin:
$PATH
cget
-p
/usr/local
install
ROCmSoftwarePlatform/llvm-project-mlir@
f3f55ecce629e7726e67a454ee5368579398268d
ENV
MIOPEN_FIND_DB_PATH=/tmp/miopen/find-db
ENV
MIOPEN_USER_DB_PATH=/tmp/miopen/user-db
...
...
src/mlir.cpp
View file @
4de5c46f
...
...
@@ -382,7 +382,7 @@ struct mlir_program
auto
ops
=
create_operation_state
(
"builtin.func"
);
ops
.
add_attributes
(
{{
"type"
,
make_function_type
(
inputs
,
outputs
)},
{
"sym_name"
,
"
\
"
main
\"
"
}});
{{
"type"
,
make_function_type
(
inputs
,
outputs
)},
{
"sym_name"
,
std
::
string
(
"main"
)
}});
ops
.
add_region
(
std
::
move
(
region
));
insert
(
body
,
std
::
move
(
ops
));
...
...
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