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
28614abd
Unverified
Commit
28614abd
authored
Sep 28, 2023
by
Ted Themistokleous
Committed by
GitHub
Sep 28, 2023
Browse files
Force Onnxruntime build pipe to use mi100+ and no cdna (#2248)
Avoid the vega cards for the ORT build runs.
parent
cc50b9f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Jenkinsfile
Jenkinsfile
+3
-2
No files found.
Jenkinsfile
View file @
28614abd
...
@@ -109,7 +109,7 @@ rocmtest clang_debug: rocmnode('cdna') { cmake_build ->
...
@@ -109,7 +109,7 @@ rocmtest clang_debug: rocmnode('cdna') { cmake_build ->
def
debug_flags
=
"-g -O2 -fsanitize=${sanitizers} -fno-sanitize-recover=${sanitizers}"
def
debug_flags
=
"-g -O2 -fsanitize=${sanitizers} -fno-sanitize-recover=${sanitizers}"
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=debug -DMIGRAPHX_ENABLE_PYTHON=Off -DCMAKE_CXX_FLAGS_DEBUG='${debug_flags}' -DCMAKE_C_FLAGS_DEBUG='${debug_flags}' -DMIGRAPHX_USE_HIPRTC=On"
,
gpu_debug:
true
)
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=debug -DMIGRAPHX_ENABLE_PYTHON=Off -DCMAKE_CXX_FLAGS_DEBUG='${debug_flags}' -DCMAKE_C_FLAGS_DEBUG='${debug_flags}' -DMIGRAPHX_USE_HIPRTC=On"
,
gpu_debug:
true
)
}
}
},
clang_release:
rocmnode
(
'
cdna
'
)
{
cmake_build
->
},
clang_release:
rocmnode
(
'
mi100+
'
)
{
cmake_build
->
stage
(
'Hip Clang Release'
)
{
stage
(
'Hip Clang Release'
)
{
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=release"
)
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=release"
)
stash
includes:
'build/*.deb'
,
name:
'migraphx-package'
stash
includes:
'build/*.deb'
,
name:
'migraphx-package'
...
@@ -159,13 +159,14 @@ def onnxnode(name, body) {
...
@@ -159,13 +159,14 @@ def onnxnode(name, body) {
}
}
}
}
rocmtest
onnx:
onnxnode
(
'
cdna
'
)
{
cmake_build
->
rocmtest
onnx:
onnxnode
(
'
mi100+
'
)
{
cmake_build
->
stage
(
"Onnx runtime"
)
{
stage
(
"Onnx runtime"
)
{
sh
'''
sh
'''
apt install half
apt install half
#ls -lR
#ls -lR
md5sum ./build/*.deb
md5sum ./build/*.deb
dpkg -i ./build/*.deb
dpkg -i ./build/*.deb
env
cd /onnxruntime && ./build_and_test_onnxrt.sh
cd /onnxruntime && ./build_and_test_onnxrt.sh
'''
'''
}
}
...
...
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