提交 7acbdbe9 authored 作者: Pascal Lamblin's avatar Pascal Lamblin 提交者: GitHub

Merge pull request #4826 from slefrancois/jenkins_combine_gpu_tests

Move sandbox.cuda test to 2nd jenkins job
#!/bin/bash
# Script for Jenkins continuous integration testing of theano base and old backend
# Script for Jenkins continuous integration testing of theano base
echo "===== Testing theano base"
echo "===== Testing theano core"
# Get environment from worker, necessary for CUDA
source ~/.bashrc
# Test theano CPU and old GPU backend sandbox.cuda
THEANO_PARAM="theano --with-timer --timer-top-n 10"
FLAGS="mode=FAST_RUN,init_gpu_device=gpu"
# Test theano core
PARTS="theano -e cuda -e gpuarray"
THEANO_PARAM="${PARTS} --with-timer --timer-top-n 10"
FLAGS="mode=FAST_RUN,init_gpu_device=gpu,floatX=float32"
THEANO_FLAGS=${FLAGS} bin/theano-nose ${THEANO_PARAM}
#!/bin/bash
# Script for Jenkins continuous integration testing of gpuarray backend
echo "===== Testing gpuarray backend"
# Script for Jenkins continuous integration testing of gpu backends
# Get environment from worker, necessary for CUDA
source ~/.bashrc
echo "===== Testing old theano.sandbox.cuda backend"
PARTS="theano/sandbox/cuda"
THEANO_PARAM="${PARTS} --with-timer --timer-top-n 10"
FLAGS="mode=FAST_RUN,init_gpu_device=gpu,floatX=float32"
THEANO_FLAGS=${FLAGS} bin/theano-nose ${THEANO_PARAM}
echo "===== Testing gpuarray backend"
GPUARRAY_CONFIG="Release"
DEVICE=cuda0
LIBDIR=~/tmp/local
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论