test with gfx900
@@ -277,12 +277,11 @@ def build_pipeline( compiler_data compiler_args, docker_data docker_args, projec
}
// The following launches 3 builds in parallel: hcc-ctu, hcc-rocm and cuda
-//parallel
-hcc_ctu:
+parallel hcc_ctu:
{
try
{
- node( 'docker && rocm && jenkins-rocm-4' )
+ node( 'docker && rocm && gfx900' )
{
def docker_args = new docker_data(
from_image:'compute-artifactory:5001/rocm-developer-tools/hip/master/hip-hcc-ctu-ubuntu-16.04:latest',
@@ -316,40 +315,39 @@ hcc_ctu:
{
currentBuild.result = 'UNSTABLE'
}
+},
+hcc_rocm:
+{
+ node( 'docker && rocm && jenkins-rocm-2' )
+ {
+ def hcc_docker_args = new docker_data(
+ from_image:'rocm/rocm-terminal:1.7.1',
+ build_docker_file:'dockerfile-build-rocm-terminal',
+ install_docker_file:'dockerfile-tensile-rocm-terminal',
+ docker_run_args:'--device=/dev/kfd --device=/dev/dri --group-add=video',
+ docker_build_args:' --pull' )
+
+ def hcc_compiler_args = new compiler_data(
+ compiler_name:'hcc-rocm',
+ build_config:'Release',
+ compiler_path:'/opt/rocm/bin/hcc' )
+
+ def tensile_paths = new project_paths(
+ project_name:'tensile',
+ src_prefix:'src',
+ build_prefix:'src' )
+
+ def print_version_closure = {
+ sh """
+ set -x
+ /opt/rocm/bin/rocm_agent_enumerator -t ALL
+ /opt/rocm/bin/hcc --version
+ """
+ }
+
+ build_pipeline( hcc_compiler_args, hcc_docker_args, tensile_paths, print_version_closure )
+ }
}
-//},
-//hcc_rocm:
-//{
-// node( 'docker && rocm && jenkins-rocm-2' )
-// {
-// def hcc_docker_args = new docker_data(
-// from_image:'rocm/rocm-terminal:1.7.1',
-// build_docker_file:'dockerfile-build-rocm-terminal',
-// install_docker_file:'dockerfile-tensile-rocm-terminal',
-// docker_run_args:'--device=/dev/kfd --device=/dev/dri --group-add=video',
-// docker_build_args:' --pull' )
-//
-// def hcc_compiler_args = new compiler_data(
-// compiler_name:'hcc-rocm',
-// build_config:'Release',
-// compiler_path:'/opt/rocm/bin/hcc' )
-//
-// def tensile_paths = new project_paths(
-// project_name:'tensile',
-// src_prefix:'src',
-// build_prefix:'src' )
-//
-// def print_version_closure = {
-// sh """
-// set -x
-// /opt/rocm/bin/rocm_agent_enumerator -t ALL
-// /opt/rocm/bin/hcc --version
-// """
-// }
-//
-// build_pipeline( hcc_compiler_args, hcc_docker_args, tensile_paths, print_version_closure )
-// }
-//}
"""
,
nvcc:
