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
composable_kernel
Commits
b073446a
"...resnet50_tensorflow.git" did not exist on "162c43c2920f86d97aa7219ac7e42a5e2ebcc577"
Commit
b073446a
authored
Jul 28, 2022
by
illsilin
Browse files
run regular CI on MI100 only, use MI200 only for daily QA
parent
5e5df9cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
39 deletions
+48
-39
Jenkinsfile
Jenkinsfile
+48
-39
No files found.
Jenkinsfile
View file @
b073446a
...
@@ -440,95 +440,104 @@ pipeline {
...
@@ -440,95 +440,104 @@ pipeline {
}
}
}
}
}
}
stage
(
"Performance
Tests"
)
stage
(
"
Tests"
)
{
{
parallel
parallel
{
{
stage
(
"Run
ckProfiler
: gfx908"
)
stage
(
"Run
Tests
: gfx908"
)
{
{
when
{
expression
{
!
params
.
RUN_FULL_QA
.
toBoolean
()
}
}
agent
{
label
rocmnode
(
"gfx908"
)}
agent
{
label
rocmnode
(
"gfx908"
)}
environment
{
environment
{
setup_args
=
""" -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
setup_args
=
""" -D CMAKE_CXX_FLAGS="
--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
}
}
steps
{
steps
{
runPerfTes
t
(
setup_args:
setup_args
,
config_targets:
"c
kProfiler
"
,
no_reboot:
true
,
build_type:
'Release'
,
gpu_arch:
"gfx908"
)
buildHipClangJobAndReboo
t
(
setup_args:
setup_args
,
config_targets:
"c
heck
"
,
no_reboot:
true
,
build_type:
'Release'
,
gpu_arch:
"gfx908"
)
}
}
}
}
stage
(
"Run
ckProfiler
: gfx90a"
)
stage
(
"Run
Tests
: gfx90a"
)
{
{
when
{
expression
{
params
.
RUN_FULL_QA
.
toBoolean
()
}
}
agent
{
label
rocmnode
(
"gfx90a"
)}
agent
{
label
rocmnode
(
"gfx90a"
)}
environment
{
environment
{
setup_args
=
""" -D CMAKE_CXX_FLAGS="--offload-arch=gfx90a -O3 " -DBUILD_DEV=On """
setup_args
=
""" -D CMAKE_CXX_FLAGS="--offload-arch=gfx90a -O3 " -DBUILD_DEV=On """
}
}
steps
{
steps
{
runPerfTes
t
(
setup_args:
setup_args
,
config_targets:
"c
kProfiler
"
,
no_reboot:
true
,
build_type:
'Release'
,
gpu_arch:
"gfx90a"
)
buildHipClangJobAndReboo
t
(
setup_args:
setup_args
,
config_targets:
"c
heck
"
,
no_reboot:
true
,
build_type:
'Release'
,
gpu_arch:
"gfx90a"
)
}
}
}
}
}
}
}
}
stage
(
"
Process Performance Test Results
"
)
stage
(
"
Client App
"
)
{
{
parallel
parallel
{
{
stage
(
"Process results for gfx908"
){
stage
(
"Run Client App"
)
when
{
{
expression
{
!
params
.
RUN_FULL_QA
.
toBoolean
()
}
agent
{
label
rocmnode
(
"gfx908"
)}
}
environment
{
agent
{
label
'mici'
}
setup_args
=
""" -D -DBUILD_DEV=Off -DCMAKE_INSTALL_PREFIX=../install CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " """
steps
{
execute_args
=
""" cd ../client_example && rm -rf build && mkdir build && cd build && cmake -DCMAKE_PREFIX_PATH="${env.WORKSPACE}/install;/opt/rocm" -DCMAKE_CXX_COMPILER=/opt/rocm/bin/hipcc .. && make -j """
process_results
(
gpu_arch:
"gfx908"
)
}
}
}
stage
(
"Process results for gfx90a"
){
agent
{
label
'mici'
}
steps
{
steps
{
process_results
(
gpu_arch:
"gfx90a"
)
buildHipClangJobAndReboot
(
setup_args:
setup_args
,
config_targets:
"install"
,
no_reboot:
true
,
build_type:
'Release'
,
execute_cmd:
execute_args
,
prefixpath:
'/usr/local'
)
}
}
}
}
}
}
}
}
stage
(
"
Tests"
)
stage
(
"Performance
Tests"
)
{
{
parallel
parallel
{
{
stage
(
"Run
Tests
: gfx908"
)
stage
(
"Run
ckProfiler
: gfx908"
)
{
{
when
{
expression
{
!
params
.
RUN_FULL_QA
.
toBoolean
()
}
}
agent
{
label
rocmnode
(
"gfx908"
)}
agent
{
label
rocmnode
(
"gfx908"
)}
environment
{
environment
{
setup_args
=
""" -D CMAKE_CXX_FLAGS="
--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
setup_args
=
""" -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
}
}
steps
{
steps
{
buildHipClangJobAndReboo
t
(
setup_args:
setup_args
,
config_targets:
"c
heck
"
,
no_reboot:
true
,
build_type:
'Release'
,
gpu_arch:
"gfx908"
)
runPerfTes
t
(
setup_args:
setup_args
,
config_targets:
"c
kProfiler
"
,
no_reboot:
true
,
build_type:
'Release'
,
gpu_arch:
"gfx908"
)
}
}
}
}
stage
(
"Run
Tests
: gfx90a"
)
stage
(
"Run
ckProfiler
: gfx90a"
)
{
{
when
{
expression
{
params
.
RUN_FULL_QA
.
toBoolean
()
}
}
agent
{
label
rocmnode
(
"gfx90a"
)}
agent
{
label
rocmnode
(
"gfx90a"
)}
environment
{
environment
{
setup_args
=
""" -D CMAKE_CXX_FLAGS="--offload-arch=gfx90a -O3 " -DBUILD_DEV=On """
setup_args
=
""" -D CMAKE_CXX_FLAGS="--offload-arch=gfx90a -O3 " -DBUILD_DEV=On """
}
}
steps
{
steps
{
buildHipClangJobAndReboo
t
(
setup_args:
setup_args
,
config_targets:
"c
heck
"
,
no_reboot:
true
,
build_type:
'Release'
,
gpu_arch:
"gfx90a"
)
runPerfTes
t
(
setup_args:
setup_args
,
config_targets:
"c
kProfiler
"
,
no_reboot:
true
,
build_type:
'Release'
,
gpu_arch:
"gfx90a"
)
}
}
}
}
}
}
}
}
stage
(
"
Client App
"
)
stage
(
"
Process Performance Test Results
"
)
{
{
parallel
parallel
{
{
stage
(
"Run Client App"
)
stage
(
"Process results for gfx908"
){
{
when
{
agent
{
label
rocmnode
(
"gfx908"
)}
expression
{
!
params
.
RUN_FULL_QA
.
toBoolean
()
}
environment
{
setup_args
=
""" -D -DBUILD_DEV=Off -DCMAKE_INSTALL_PREFIX=../install CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " """
execute_args
=
""" cd ../client_example && rm -rf build && mkdir build && cd build && cmake -DCMAKE_PREFIX_PATH="${env.WORKSPACE}/install;/opt/rocm" -DCMAKE_CXX_COMPILER=/opt/rocm/bin/hipcc .. && make -j """
}
}
agent
{
label
'mici'
}
steps
{
steps
{
buildHipClangJobAndReboot
(
setup_args:
setup_args
,
config_targets:
"install"
,
no_reboot:
true
,
build_type:
'Release'
,
execute_cmd:
execute_args
,
prefixpath:
'/usr/local'
)
process_results
(
gpu_arch:
"gfx908"
)
}
}
stage
(
"Process results for gfx90a"
){
when
{
expression
{
params
.
RUN_FULL_QA
.
toBoolean
()
}
}
agent
{
label
'mici'
}
steps
{
process_results
(
gpu_arch:
"gfx90a"
)
}
}
}
}
}
}
...
...
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