From 8408188cdf4b8d3a6063015ea5a52de9b2a90821 Mon Sep 17 00:00:00 2001 From: Jiaying Zhang Date: Thu, 7 Feb 2019 10:33:29 -0800 Subject: [PATCH] Update CudaVectorAdd test image to be built with Cuda10 docker image. The previous version of CudaVectorAdd test image can still be used in our testing. A later change will extend the existing gpu e2e tests to run pods with two containers. One with CudaVectorAdd version1 and the other with CudaVectorAdd version2 so that we can test both Cuda versions. --- test/images/cuda-vector-add/BASEIMAGE | 4 ++-- test/images/cuda-vector-add/README.md | 5 +++++ test/images/cuda-vector-add/VERSION | 2 +- test/utils/image/manifest.go | 1 + 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/test/images/cuda-vector-add/BASEIMAGE b/test/images/cuda-vector-add/BASEIMAGE index a7b6d58706..5e6495b353 100644 --- a/test/images/cuda-vector-add/BASEIMAGE +++ b/test/images/cuda-vector-add/BASEIMAGE @@ -1,2 +1,2 @@ -amd64=nvidia/cuda:8.0-devel-ubuntu16.04 -ppc64le=nvidia/cuda-ppc64le:8.0-devel-ubuntu16.04 +amd64=nvidia/cuda:10.0-devel-ubuntu18.04 +ppc64le=nvidia/cuda-ppc64le:9.2-devel-ubuntu16.04 diff --git a/test/images/cuda-vector-add/README.md b/test/images/cuda-vector-add/README.md index db2ad437df..345926622b 100644 --- a/test/images/cuda-vector-add/README.md +++ b/test/images/cuda-vector-add/README.md @@ -11,3 +11,8 @@ $ make # Push $ make push ``` + +## Version history: + +1.0: build cuda-vector-add from CUDA 8.0. +2.0: build amd64 cuda-vector-add from CUDA 10.0 and ppc64le from CUDA 9.2. diff --git a/test/images/cuda-vector-add/VERSION b/test/images/cuda-vector-add/VERSION index d3827e75a5..cd5ac039d6 100644 --- a/test/images/cuda-vector-add/VERSION +++ b/test/images/cuda-vector-add/VERSION @@ -1 +1 @@ -1.0 +2.0 diff --git a/test/utils/image/manifest.go b/test/utils/image/manifest.go index c6090693e4..266945a4bb 100644 --- a/test/utils/image/manifest.go +++ b/test/utils/image/manifest.go @@ -99,6 +99,7 @@ var ( BusyBox = Config{dockerLibraryRegistry, "busybox", "1.29"} CheckMetadataConcealment = Config{e2eRegistry, "metadata-concealment", "1.2"} CudaVectorAdd = Config{e2eRegistry, "cuda-vector-add", "1.0"} + CudaVectorAdd2 = Config{e2eRegistry, "cuda-vector-add", "2.0"} Dnsutils = Config{e2eRegistry, "dnsutils", "1.1"} EchoServer = Config{e2eRegistry, "echoserver", "2.2"} EntrypointTester = Config{e2eRegistry, "entrypoint-tester", "1.0"}