Skip to content

Commit

Permalink
Docker: Upgrade HIP tests to Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Nov 24, 2022
1 parent d6dd56c commit 4f62eeb
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile.build_hip_rocm_Mi100
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Usage: docker build -f ./Dockerfile.build_hip_rocm_Mi100 ../../
#

FROM rocm/dev-ubuntu-20.04:4.5.2-complete
FROM rocm/dev-ubuntu-22.04:5.3.2-complete

# Install some Ubuntu packages.
RUN apt-get update -qq && apt-get install -qq --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile.build_hip_rocm_Mi50
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Usage: docker build -f ./Dockerfile.build_hip_rocm_Mi50 ../../
#

FROM rocm/dev-ubuntu-20.04:4.5.2-complete
FROM rocm/dev-ubuntu-22.04:5.3.2-complete

# Install some Ubuntu packages.
RUN apt-get update -qq && apt-get install -qq --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile.test_hip_cuda_A100
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Usage: docker build -f ./Dockerfile.test_hip_cuda_A100 ../../
#

FROM nvidia/cuda:11.3.1-devel-ubuntu20.04
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04

# Setup CUDA environment.
ENV CUDA_PATH /usr/local/cuda
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile.test_hip_cuda_P100
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Usage: docker build -f ./Dockerfile.test_hip_cuda_P100 ../../
#

FROM nvidia/cuda:11.3.1-devel-ubuntu20.04
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04

# Setup CUDA environment.
ENV CUDA_PATH /usr/local/cuda
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile.test_hip_cuda_V100
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Usage: docker build -f ./Dockerfile.test_hip_cuda_V100 ../../
#

FROM nvidia/cuda:11.3.1-devel-ubuntu20.04
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04

# Setup CUDA environment.
ENV CUDA_PATH /usr/local/cuda
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile.test_hip_rocm_Mi100
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Usage: docker build -f ./Dockerfile.test_hip_rocm_Mi100 ../../
#

FROM rocm/dev-ubuntu-20.04:4.5.2-complete
FROM rocm/dev-ubuntu-22.04:5.3.2-complete

# Install some Ubuntu packages.
RUN apt-get update -qq && apt-get install -qq --no-install-recommends \
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile.test_hip_rocm_Mi50
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Usage: docker build -f ./Dockerfile.test_hip_rocm_Mi50 ../../
#

FROM rocm/dev-ubuntu-20.04:4.5.2-complete
FROM rocm/dev-ubuntu-22.04:5.3.2-complete

# Install some Ubuntu packages.
RUN apt-get update -qq && apt-get install -qq --no-install-recommends \
Expand Down
4 changes: 2 additions & 2 deletions tools/docker/generate_dockerfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def toolchain_cuda(gpu_ver: str) -> str:
# ======================================================================================
def toolchain_hip_cuda(gpu_ver: str) -> str:
return rf"""
FROM nvidia/cuda:11.3.1-devel-ubuntu20.04
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
# Setup CUDA environment.
ENV CUDA_PATH /usr/local/cuda
Expand Down Expand Up @@ -662,7 +662,7 @@ def toolchain_hip_cuda(gpu_ver: str) -> str:
# ======================================================================================
def toolchain_hip_rocm(gpu_ver: str) -> str:
return rf"""
FROM rocm/dev-ubuntu-20.04:4.5.2-complete
FROM rocm/dev-ubuntu-22.04:5.3.2-complete
# Install some Ubuntu packages.
RUN apt-get update -qq && apt-get install -qq --no-install-recommends \
Expand Down

0 comments on commit 4f62eeb

Please sign in to comment.