You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ns...@apache.org on 2018/04/03 17:38:50 UTC
[incubator-mxnet] branch master updated: [MXNET-256] Add CI Test
for GPU (#10346)
This is an automated email from the ASF dual-hosted git repository.
nswamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new eb94089 [MXNET-256] Add CI Test for GPU (#10346)
eb94089 is described below
commit eb94089a7859148ea2b197b5461c8efcb700571a
Author: Lanking <la...@live.com>
AuthorDate: Tue Apr 3 10:38:46 2018 -0700
[MXNET-256] Add CI Test for GPU (#10346)
* Add CI Test for GPU
* Add environment Variable for GPU testing
---
Jenkinsfile | 11 +++++++++++
ci/docker/runtime_functions.sh | 6 ++++++
2 files changed, 17 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index b7be68c..560829a 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -482,6 +482,17 @@ try {
}
}
},
+ 'Scala: GPU': {
+ node('mxnetlinux-gpu') {
+ ws('workspace/ut-scala-gpu') {
+ init_git()
+ unpack_lib('gpu')
+ timeout(time: max_time, unit: 'MINUTES') {
+ sh "ci/build.py --nvidiadocker --build --platform ubuntu_gpu /work/runtime_functions.sh unittest_ubuntu_gpu_scala"
+ }
+ }
+ }
+ },
'Perl: CPU': {
node('mxnetlinux-cpu') {
ws('workspace/ut-perl-cpu') {
diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh
index d6f07da..3d58f34 100755
--- a/ci/docker/runtime_functions.sh
+++ b/ci/docker/runtime_functions.sh
@@ -427,6 +427,12 @@ unittest_ubuntu_cpu_scala() {
make scalatest USE_BLAS=openblas
}
+unittest_ubuntu_gpu_scala() {
+ set -ex
+ make scalapkg USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1
+ make scalatest USE_OPENCV=1 USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1 SCALA_TEST_ON_GPU=1
+}
+
unittest_ubuntu_cpugpu_perl() {
set -ex
./perl-package/test.sh
--
To stop receiving notification emails like this one, please contact
nswamy@apache.org.