[jenkins] add query to all devices available before all unittests
@@ -125,6 +125,7 @@ void buildAndTest(String JDK, String tornadoProfile) {
}
stage('PTX: Unit Tests') {
timeout(time: 12, unit: 'MINUTES') {
+ sh 'tornado --devices'
sh 'tornado-test.py --verbose -J"-Dtornado.unittests.device=0:0 -Dtornado.ptx.priority=100"'
sh 'tornado-test.py -V -J"-Dtornado.unittests.device=0:0 -Dtornado.heap.allocation=1MB -Dtornado.ptx.priority=100" uk.ac.manchester.tornado.unittests.fails.HeapFail#test03'
sh 'test-native.sh'
@@ -134,6 +135,7 @@ void buildAndTest(String JDK, String tornadoProfile) {
parallel (
"OpenCL and GPU: Nvidia GeForce GTX 1060" : {
timeout(time: 12, unit: 'MINUTES') {
+ sh 'tornado --devices'
sh 'tornado-test.py --verbose -J"-Dtornado.ptx.priority=100 -Dtornado.unittests.device=1:1"'
sh 'tornado-test.py -V -J" -Dtornado.ptx.priority=100 -Dtornado.unittests.device=1:1 -Dtornado.heap.allocation=1MB" uk.ac.manchester.tornado.unittests.fails.HeapFail#test03'
sh 'test-native.sh'
@@ -141,6 +143,7 @@ void buildAndTest(String JDK, String tornadoProfile) {
},
"OpenCL and CPU: Intel Xeon E5-2620" : {
timeout(time: 12, unit: 'MINUTES') {
+ sh 'tornado --devices'
sh 'tornado-test.py --verbose -J"-Dtornado.ptx.priority=100 -Dtornado.unittests.device=1:0"'
sh 'tornado-test.py -V -J" -Dtornado.ptx.priority=100 -Dtornado.unittests.device=1:0 -Dtornado.heap.allocation=1MB" uk.ac.manchester.tornado.unittests.fails.HeapFail#test03'
sh 'test-native.sh'
