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
b944ff2e
"...git@developer.sourcefind.cn:cnjsdfcy/simbricks.git" did not exist on "3303b48b4965ac0b8a01084c829df9746ab5124c"
Unverified
Commit
b944ff2e
authored
Aug 08, 2024
by
arai713
Committed by
GitHub
Aug 08, 2024
Browse files
Merge branch 'develop' into ck_codegen_build
parents
81812dbc
4a5ab678
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
3 deletions
+31
-3
Jenkinsfile
Jenkinsfile
+31
-3
No files found.
Jenkinsfile
View file @
b944ff2e
...
@@ -204,6 +204,9 @@ def cmake_build(Map conf=[:]){
...
@@ -204,6 +204,9 @@ def cmake_build(Map conf=[:]){
cd build
cd build
"""
"""
def
invocation_tag
=
""
def
invocation_tag
=
""
if
(
setup_args
.
contains
(
"gfx12"
)){
invocation_tag
=
"gfx12"
}
if
(
setup_args
.
contains
(
"gfx11"
)){
if
(
setup_args
.
contains
(
"gfx11"
)){
invocation_tag
=
"gfx11"
invocation_tag
=
"gfx11"
}
}
...
@@ -531,7 +534,7 @@ def Build_CK(Map conf=[:]){
...
@@ -531,7 +534,7 @@ def Build_CK(Map conf=[:]){
//check whether to run performance tests on this node
//check whether to run performance tests on this node
def
do_perf_tests
=
0
def
do_perf_tests
=
0
sh
'rocminfo | tee rocminfo.log'
sh
'rocminfo | tee rocminfo.log'
if
(
runShell
(
'grep -n "gfx1030" rocminfo.log'
)
||
runShell
(
'grep -n "gfx1101" rocminfo.log'
)
||
runShell
(
'grep -n "gfx942" rocminfo.log'
)
){
if
(
runShell
(
'grep -n "gfx1030" rocminfo.log'
)
||
runShell
(
'grep -n "gfx1101" rocminfo.log'
)
||
runShell
(
'grep -n
"gfx1201" rocminfo.log'
)
||
runShell
(
'grep -n
"gfx942" rocminfo.log'
)
){
do_perf_tests
=
1
do_perf_tests
=
1
echo
"Stash profiler and run performance tests"
echo
"Stash profiler and run performance tests"
}
}
...
@@ -678,8 +681,8 @@ def process_results(Map conf=[:]){
...
@@ -678,8 +681,8 @@ def process_results(Map conf=[:]){
//launch develop branch daily at 23:00 UT in FULL_QA mode and at 19:00 UT with latest staging compiler version
//launch develop branch daily at 23:00 UT in FULL_QA mode and at 19:00 UT with latest staging compiler version
CRON_SETTINGS
=
BRANCH_NAME
==
"develop"
?
'''0 23 * * * % RUN_FULL_QA=true;ROCMVERSION=6.2; RUN_CK_TILE_TESTS=true
CRON_SETTINGS
=
BRANCH_NAME
==
"develop"
?
'''0 23 * * * % RUN_FULL_QA=true;ROCMVERSION=6.2; RUN_CK_TILE_TESTS=true
0 21 * * * % ROCMVERSION=6.2;hipTensor_test=true
0 21 * * * % ROCMVERSION=6.2;hipTensor_test=true
0 19 * * * % BUILD_DOCKER=true;DL_KERNELS=true;COMPILER_VERSION=amd-staging;BUILD_COMPILER=/llvm-project/build/bin/clang++;USE_SCCACHE=false
0 19 * * * % BUILD_DOCKER=true;DL_KERNELS=true;COMPILER_VERSION=amd-staging;BUILD_COMPILER=/llvm-project/build/bin/clang++;
BUILD_GFX12=true;
USE_SCCACHE=false
0 17 * * * % BUILD_DOCKER=true;DL_KERNELS=true;COMPILER_VERSION=amd-mainline-open;BUILD_COMPILER=/llvm-project/build/bin/clang++;USE_SCCACHE=false
0 17 * * * % BUILD_DOCKER=true;DL_KERNELS=true;COMPILER_VERSION=amd-mainline-open;BUILD_COMPILER=/llvm-project/build/bin/clang++;
BUILD_GFX12=true;
USE_SCCACHE=false
0 15 * * * % BUILD_INSTANCES_ONLY=true;RUN_CODEGEN_TESTS=false;RUN_PERFORMANCE_TESTS=false;USE_SCCACHE=false'''
:
""
0 15 * * * % BUILD_INSTANCES_ONLY=true;RUN_CODEGEN_TESTS=false;RUN_PERFORMANCE_TESTS=false;USE_SCCACHE=false'''
:
""
pipeline
{
pipeline
{
...
@@ -751,6 +754,11 @@ pipeline {
...
@@ -751,6 +754,11 @@ pipeline {
name:
"BUILD_INSTANCES_ONLY"
,
name:
"BUILD_INSTANCES_ONLY"
,
defaultValue:
false
,
defaultValue:
false
,
description:
"Test building instances for various architectures simultaneously (default: OFF)"
)
description:
"Test building instances for various architectures simultaneously (default: OFF)"
)
booleanParam
(
name:
"BUILD_GFX12"
,
defaultValue:
false
,
description:
"Build CK and run tests on gfx12 (default: OFF)"
)
}
}
environment
{
environment
{
dbuser
=
"${dbuser}"
dbuser
=
"${dbuser}"
...
@@ -999,6 +1007,26 @@ pipeline {
...
@@ -999,6 +1007,26 @@ pipeline {
cleanWs
()
cleanWs
()
}
}
}
}
stage
(
"Build CK and run Tests on gfx1201"
)
{
when
{
beforeAgent
true
expression
{
params
.
BUILD_GFX12
.
toBoolean
()
&&
!
params
.
RUN_FULL_QA
.
toBoolean
()
&&
!
params
.
BUILD_INSTANCES_ONLY
.
toBoolean
()
}
}
agent
{
label
rocmnode
(
"gfx1201"
)
}
environment
{
setup_args
=
""" -DCMAKE_INSTALL_PREFIX=../install -DGPU_TARGETS="gfx1201" -DDL_KERNELS=ON -DCMAKE_CXX_FLAGS=" -O3 " """
execute_args
=
""" cd ../client_example && rm -rf build && mkdir build && cd build && \
cmake -DCMAKE_PREFIX_PATH="${env.WORKSPACE}/install;/opt/rocm" \
-DGPU_TARGETS="gfx1201" \
-DCMAKE_CXX_COMPILER="${build_compiler()}" \
-DCMAKE_CXX_FLAGS=" -O3 " .. && make -j """
}
steps
{
Build_CK_and_Reboot
(
setup_args:
setup_args
,
config_targets:
"install"
,
no_reboot:
true
,
build_type:
'Release'
,
execute_cmd:
execute_args
,
prefixpath:
'/usr/local'
)
cleanWs
()
}
}
}
}
}
}
...
...
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