message: Create a new ROCM RBE Docker image with ROCM 4.2
diff: @@ -16,15 +16,17 @@ ARG DEBIAN_FRONTEND=noninteractive
  # Install ROCm packages
  RUN apt-get update && apt-get install -y --no-install-recommends \
  curl libnuma-dev gnupg sudo libelf1 build-essential \
  - && curl -sL http://repo.radeon.com/rocm/apt/4.1/rocm.gpg.key | apt-key add - \
  - && printf "deb [arch=amd64] http://repo.radeon.com/rocm/apt/4.1/ xenial main" | tee /etc/apt/sources.list.d/rocm.list \
  + && curl -sL http://repo.radeon.com/rocm/apt/4.2/rocm.gpg.key | apt-key add - \
  + && printf "deb [arch=amd64] http://repo.radeon.com/rocm/apt/4.2/ xenial main" | tee /etc/apt/sources.list.d/rocm.list \
  && apt-get update && apt-get install -y --no-install-recommends \
  rocm-dev rocm-libs hipcub rocm-utils rocm-cmake \
  rocfft miopen-hip miopengemm rocblas hipblas rocrand rccl \
  && apt-get clean && rm -rf /var/lib/apt/lists/*
  # Set ROCm environment variables and paths.
  -ARG ROCM_PATH=/opt/rocm-4.1.0
  +# We use /opt/rocm without version suffix so that the toolchain configuration
  +# for builtin headers doesn't need to be adapted
  +ARG ROCM_PATH=/opt/rocm
  ENV HCC_HOME=$ROCM_PATH/hcc
  ENV HIP_PATH=$ROCM_PATH/hip
  ENV OPENCL_ROOT=$ROCM_PATH/opencl
  