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
6d0acc92
Unverified
Commit
6d0acc92
authored
Jun 20, 2021
by
Shucai Xiao
Committed by
GitHub
Jun 20, 2021
Browse files
Enable ort tests (#865)
* try turning on ort tests in rocm4.2 * try rocm4.1
parent
4fe71058
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/build_and_test_onnxrt.sh
tools/build_and_test_onnxrt.sh
+1
-1
No files found.
tools/build_and_test_onnxrt.sh
View file @
6d0acc92
...
@@ -3,5 +3,5 @@ pip3 install -r requirements.txt
...
@@ -3,5 +3,5 @@ pip3 install -r requirements.txt
# Add newer cmake to the path
# Add newer cmake to the path
export
PATH
=
"/opt/cmake/bin:
$PATH
"
export
PATH
=
"/opt/cmake/bin:
$PATH
"
export
CXXFLAGS
=
"-D__HIP_PLATFORM_HCC__=1 -w"
export
CXXFLAGS
=
"-D__HIP_PLATFORM_HCC__=1 -w"
./build.sh
--config
Release
--update
--build
--parallel
--cmake_extra_defines
ONNXRUNTIME_VERSION
=
$(
cat
./VERSION_NUMBER
)
--use_migraphx
./build.sh
--config
Release
--update
--build
--parallel
--cmake_extra_defines
ONNXRUNTIME_VERSION
=
$(
cat
./VERSION_NUMBER
)
--test
--use_migraphx
# pip3 install /code/onnxruntime/build/Linux/Release/dist/*.whl
# pip3 install /code/onnxruntime/build/Linux/Release/dist/*.whl
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