@@ -487,58 +487,90 @@ def build_pipeline( compiler_data compiler_args, docker_data docker_args, projec
487487}
488488
489489// The following launches 3 builds in parallel: hcc-ctu, hcc-1.6 and cuda
490- parallel hcc_ctu :
490+ // parallel hcc_ctu:
491+ // {
492+ // try
493+ // {
494+ // node( 'docker && rocm && gfx900')
495+ // {
496+ // def docker_args = new docker_data(
497+ // from_image:'compute-artifactory:5001/rocm-developer-tools/hip/master/hip-hcc-ctu-ubuntu-16.04:latest',
498+ // build_docker_file:'dockerfile-build-ubuntu',
499+ // install_docker_file:'dockerfile-install-ubuntu',
500+ // docker_run_args:'--device=/dev/kfd --device=/dev/dri --group-add=video',
501+ // docker_build_args:' --pull' )
502+ //
503+ // def compiler_args = new compiler_data(
504+ // compiler_name:'hcc-ctu',
505+ // build_config:'Release',
506+ // compiler_path:'/opt/rocm/bin/hcc' )
507+ //
508+ // def rocblas_paths = new project_paths(
509+ // project_name:'rocblas-hcc-ctu',
510+ // src_prefix:'src',
511+ // build_prefix:'src',
512+ // build_command: './install.sh -c' )
513+ //
514+ // def print_version_closure = {
515+ // sh """
516+ // set -x
517+ // /opt/rocm/bin/hcc --version
518+ // """
519+ // }
520+ //
521+ // build_pipeline( compiler_args, docker_args, rocblas_paths, print_version_closure )
522+ // }
523+ // }
524+ // catch( err )
525+ // {
526+ // currentBuild.result = 'UNSTABLE'
527+ // }
528+ // },
529+ // parallel rocm_ubuntu:
530+ // {
531+ // node( 'docker && rocm && gfx900')
532+ // {
533+ // def hcc_docker_args = new docker_data(
534+ // from_image:'rocm/dev-ubuntu-16.04:1.7.1',
535+ // build_docker_file:'dockerfile-build-ubuntu',
536+ // install_docker_file:'dockerfile-install-ubuntu',
537+ // docker_run_args:'--device=/dev/kfd --device=/dev/dri --group-add=video',
538+ // docker_build_args:' --pull' )
539+ //
540+ // def hcc_compiler_args = new compiler_data(
541+ // compiler_name:'hcc-rocm-ubuntu',
542+ // build_config:'Release',
543+ // compiler_path:'/opt/rocm/bin/hcc' )
544+ //
545+ // def rocblas_paths = new project_paths(
546+ // project_name:'rocblas-ubuntu',
547+ // src_prefix:'src',
548+ // build_prefix:'src',
549+ // build_command: './install.sh -c' )
550+ //
551+ // def print_version_closure = {
552+ // sh """
553+ // set -x
554+ // /opt/rocm/bin/hcc --version
555+ // """
556+ // }
557+ //
558+ // build_pipeline( hcc_compiler_args, hcc_docker_args, rocblas_paths, print_version_closure )
559+ // }
560+ // },
561+ parallel rocm19_ubuntu :
491562{
492- try
493- {
494- node( ' docker && rocm && gfx900' )
495- {
496- def docker_args = new docker_data(
497- from_image :' compute-artifactory:5001/rocm-developer-tools/hip/master/hip-hcc-ctu-ubuntu-16.04:latest' ,
498- build_docker_file :' dockerfile-build-ubuntu' ,
499- install_docker_file :' dockerfile-install-ubuntu' ,
500- docker_run_args :' --device=/dev/kfd --device=/dev/dri --group-add=video' ,
501- docker_build_args :' --pull' )
502-
503- def compiler_args = new compiler_data(
504- compiler_name :' hcc-ctu' ,
505- build_config :' Release' ,
506- compiler_path :' /opt/rocm/bin/hcc' )
507-
508- def rocblas_paths = new project_paths(
509- project_name :' rocblas-hcc-ctu' ,
510- src_prefix :' src' ,
511- build_prefix :' src' ,
512- build_command : ' ./install.sh -c' )
513-
514- def print_version_closure = {
515- sh """
516- set -x
517- /opt/rocm/bin/hcc --version
518- """
519- }
520-
521- build_pipeline( compiler_args, docker_args, rocblas_paths, print_version_closure )
522- }
523- }
524- catch ( err )
525- {
526- currentBuild. result = ' UNSTABLE'
527- }
528- },
529- rocm_ubuntu :
530- {
531- node( ' docker && rocm && gfx900' )
563+ node( ' docker && rocm19 && gfx900' )
532564 {
533565 def hcc_docker_args = new docker_data(
534- from_image :' rocm/dev-ubuntu-16.04:1.7.1 ' ,
535- build_docker_file :' dockerfile-build-ubuntu' ,
566+ from_image :' rocm/dev-ubuntu-16.04:1.9.0 ' ,
567+ build_docker_file :' dockerfile-build-ubuntu-rock ' ,
536568 install_docker_file :' dockerfile-install-ubuntu' ,
537569 docker_run_args :' --device=/dev/kfd --device=/dev/dri --group-add=video' ,
538570 docker_build_args :' --pull' )
539571
540572 def hcc_compiler_args = new compiler_data(
541- compiler_name :' hcc-rocm -ubuntu' ,
573+ compiler_name :' hcc-rocm19 -ubuntu' ,
542574 build_config :' Release' ,
543575 compiler_path :' /opt/rocm/bin/hcc' )
544576
0 commit comments