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_ROCM
Commits
f0bf1e31
Unverified
Commit
f0bf1e31
authored
May 01, 2024
by
Illia Silin
Committed by
GitHub
May 01, 2024
Browse files
[CI] Focus CI stages on MI200 nodes for resource optimization (#1273)
parent
a2d0bdd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
24 deletions
+8
-24
Jenkinsfile
Jenkinsfile
+8
-24
No files found.
Jenkinsfile
View file @
f0bf1e31
...
@@ -814,21 +814,21 @@ pipeline {
...
@@ -814,21 +814,21 @@ pipeline {
{
{
parallel
parallel
{
{
stage
(
"Run Codegen Tests on
MI100/
MI200"
)
stage
(
"Run Codegen Tests on MI200"
)
{
{
when
{
when
{
beforeAgent
true
beforeAgent
true
expression
{
params
.
RUN_CODEGEN_TESTS
.
toBoolean
()
}
expression
{
params
.
RUN_CODEGEN_TESTS
.
toBoolean
()
}
}
}
options
{
retry
(
2
)
}
options
{
retry
(
2
)
}
agent
{
label
rocmnode
(
"
gfx908 ||
gfx90a"
)}
agent
{
label
rocmnode
(
"gfx90a"
)}
environment
{
environment
{
setup_args
=
"NO_CK_BUILD"
setup_args
=
"NO_CK_BUILD"
execute_args
=
""" cd ../codegen && rm -rf build && mkdir build && cd build && \
execute_args
=
""" cd ../codegen && rm -rf build && mkdir build && cd build && \
cmake -D CMAKE_PREFIX_PATH=/opt/rocm \
cmake -D CMAKE_PREFIX_PATH=/opt/rocm \
-D CMAKE_CXX_COMPILER=/opt/rocm/llvm/bin/clang++ \
-D CMAKE_CXX_COMPILER=/opt/rocm/llvm/bin/clang++ \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_BUILD_TYPE=Release \
-D GPU_TARGETS="
gfx908;
gfx90a" \
-D GPU_TARGETS="gfx90a" \
-DCMAKE_CXX_FLAGS=" -O3 " .. && make -j check"""
-DCMAKE_CXX_FLAGS=" -O3 " .. && make -j check"""
}
}
steps
{
steps
{
...
@@ -842,13 +842,13 @@ pipeline {
...
@@ -842,13 +842,13 @@ pipeline {
{
{
parallel
parallel
{
{
stage
(
"Build CK
and run Tests on MI100/MI200/MI300
"
)
stage
(
"Build CK
for all gfx9 targets
"
)
{
{
when
{
when
{
beforeAgent
true
beforeAgent
true
expression
{
params
.
RUN_FULL_QA
.
toBoolean
()
}
expression
{
params
.
RUN_FULL_QA
.
toBoolean
()
}
}
}
agent
{
label
rocmnode
(
"
gfx908 ||
gfx90a"
)
}
agent
{
label
rocmnode
(
"gfx90a"
)
}
environment
{
environment
{
setup_args
=
""" -DCMAKE_INSTALL_PREFIX=../install \
setup_args
=
""" -DCMAKE_INSTALL_PREFIX=../install \
-DGPU_TARGETS="gfx908;gfx90a;gfx940;gfx941;gfx942" \
-DGPU_TARGETS="gfx908;gfx90a;gfx940;gfx941;gfx942" \
...
@@ -885,13 +885,13 @@ pipeline {
...
@@ -885,13 +885,13 @@ pipeline {
cleanWs
()
cleanWs
()
}
}
}
}
stage
(
"Build CK and run Tests on
MI100/
MI200"
)
stage
(
"Build CK and run Tests on MI200"
)
{
{
when
{
when
{
beforeAgent
true
beforeAgent
true
expression
{
!
params
.
RUN_FULL_QA
.
toBoolean
()
&&
!
params
.
BUILD_INSTANCES_ONLY
.
toBoolean
()
}
expression
{
!
params
.
RUN_FULL_QA
.
toBoolean
()
&&
!
params
.
BUILD_INSTANCES_ONLY
.
toBoolean
()
}
}
}
agent
{
label
rocmnode
(
"
gfx908 ||
gfx90a"
)
}
agent
{
label
rocmnode
(
"gfx90a"
)
}
environment
{
environment
{
setup_args
=
""" -DCMAKE_INSTALL_PREFIX=../install -DGPU_TARGETS="gfx908;gfx90a" -DCMAKE_CXX_FLAGS=" -O3 " """
setup_args
=
""" -DCMAKE_INSTALL_PREFIX=../install -DGPU_TARGETS="gfx908;gfx90a" -DCMAKE_CXX_FLAGS=" -O3 " """
execute_args
=
""" cd ../client_example && rm -rf build && mkdir build && cd build && \
execute_args
=
""" cd ../client_example && rm -rf build && mkdir build && cd build && \
...
@@ -972,27 +972,11 @@ pipeline {
...
@@ -972,27 +972,11 @@ pipeline {
{
{
parallel
parallel
{
{
stage
(
"Run ckProfiler: gfx90*"
)
{
when
{
beforeAgent
true
expression
{
!
params
.
RUN_FULL_QA
.
toBoolean
()
&&
params
.
RUN_PERFORMANCE_TESTS
.
toBoolean
()
}
}
options
{
retry
(
2
)
}
agent
{
label
rocmnode
(
"gfx908 || gfx90a"
)}
environment
{
setup_args
=
""" -DGPU_TARGETS="gfx908;gfx90a" -DBUILD_DEV=On """
}
steps
{
runPerfTest
(
setup_args:
setup_args
,
config_targets:
"ckProfiler"
,
no_reboot:
true
,
build_type:
'Release'
)
cleanWs
()
}
}
stage
(
"Run ckProfiler: gfx90a"
)
stage
(
"Run ckProfiler: gfx90a"
)
{
{
when
{
when
{
beforeAgent
true
beforeAgent
true
expression
{
params
.
RUN_FULL_QA
.
toBoolean
()
&&
params
.
RUN_PERFORMANCE_TESTS
.
toBoolean
()
}
expression
{
params
.
RUN_PERFORMANCE_TESTS
.
toBoolean
()
}
}
}
options
{
retry
(
2
)
}
options
{
retry
(
2
)
}
agent
{
label
rocmnode
(
"gfx90a"
)}
agent
{
label
rocmnode
(
"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