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
75e6618c
Unverified
Commit
75e6618c
authored
Jul 18, 2023
by
Paul Fultz II
Committed by
GitHub
Jul 18, 2023
Browse files
Remove extra stages on jenkins (#1933)
parent
2d5568d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
16 deletions
+8
-16
Jenkinsfile
Jenkinsfile
+8
-16
No files found.
Jenkinsfile
View file @
75e6618c
...
...
@@ -91,7 +91,7 @@ def rocmnodename(name) {
node_name
=
"${rocmtest_name} && navi21"
;
}
else
if
(
name
==
"mi100+"
)
{
node_name
=
"${rocmtest_name} && (gfx908 || gfx90a)"
;
}
else
if
(
name
==
"
anygpu
"
)
{
}
else
if
(
name
==
"
cdna
"
)
{
node_name
=
"${rocmtest_name} && (gfx908 || gfx90a || vega)"
;
}
else
if
(
name
==
"nogpu"
)
{
node_name
=
"${rocmtest_name} && nogpu"
;
...
...
@@ -105,30 +105,22 @@ def rocmnode(name, body) {
}
}
rocmtest
clang_debug:
rocmnode
(
'
veg
a'
)
{
cmake_build
->
stage
(
'
H
ip
Clang
Debug'
)
{
rocmtest
clang_debug:
rocmnode
(
'
cdn
a'
)
{
cmake_build
->
stage
(
'
h
ip
RTC
Debug'
)
{
def
sanitizers
=
"undefined"
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}'
"
)
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
,
hiprtc_workarounds:
true
)
}
},
clang_gpu_debug:
rocmnode
(
'vega'
)
{
cmake_build
->
stage
(
'Hip Clang GPU Debug'
)
{
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=release"
,
gpu_debug:
true
)
}
},
clang_release:
rocmnode
(
'vega'
)
{
cmake_build
->
},
clang_release:
rocmnode
(
'cdna'
)
{
cmake_build
->
stage
(
'Hip Clang Release'
)
{
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=release"
)
stash
includes:
'build/*.deb'
,
name:
'migraphx-package'
}
},
hiprtc_gpu_debug:
rocmnode
(
'vega'
)
{
cmake_build
->
stage
(
'HipRTC GPU Debug'
)
{
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=release -DMIGRAPHX_USE_HIPRTC=On"
,
gpu_debug:
true
,
hiprtc_workarounds:
true
)
}
},
all_targets_debug
:
rocmnode
(
'vega'
)
{
cmake_build
->
},
all_targets_debug
:
rocmnode
(
'cdna'
)
{
cmake_build
->
stage
(
'All targets Release'
)
{
cmake_build
(
flags:
"-DCMAKE_BUILD_TYPE=release -DMIGRAPHX_ENABLE_GPU=On -DMIGRAPHX_ENABLE_CPU=On -DMIGRAPHX_ENABLE_FPGA=On"
)
}
},
mlir_debug:
rocmnode
(
'
veg
a'
)
{
cmake_build
->
},
mlir_debug:
rocmnode
(
'
cdn
a'
)
{
cmake_build
->
stage
(
'MLIR Debug'
)
{
withEnv
([
'MIGRAPHX_ENABLE_MLIR=1'
])
{
def
sanitizers
=
"undefined"
...
...
@@ -165,7 +157,7 @@ def onnxnode(name, body) {
}
}
rocmtest
onnx:
onnxnode
(
'
anygpu
'
)
{
cmake_build
->
rocmtest
onnx:
onnxnode
(
'
cdna
'
)
{
cmake_build
->
stage
(
"Onnx runtime"
)
{
sh
'''
apt install half
...
...
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