Skip to content

Commit ae04529

Browse files
committed
Mark HeterogeneousTest/CUDATest to be run on GPU_X IB
1 parent 8916135 commit ae04529

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

HeterogeneousCore/CUDATest/test/BuildFile.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,23 @@
33
<use name="FWCore/TestProcessor"/>
44
<use name="HeterogeneousCore/CUDACore"/>
55
<use name="catch2"/>
6+
<!-- dependence only to trigger the unit test when NVIDIA GPU is (expected to be) present -->
7+
<use name="cuda"/>
68
</bin>
79

810
<ifrelease name="_GPU_">
9-
<test name="TestCUDATest" command="runtests.sh gpu"/>
11+
<test name="TestCUDATest" command="runtests.sh gpu">
12+
<!-- dependence only to trigger the unit test when NVIDIA GPU is (expected to be) present -->
13+
<use name="cuda"/>
14+
</test>
1015
<else/>
1116
<test name="TestCUDATest" command="runtests.sh cpu"/>
1217
</ifrelease>
1318

14-
<test name="testHeterogeneousCoreCUDATestWriteRead" command="testHeterogeneousCoreCUDATestWriteRead.sh"/>
19+
<test name="testHeterogeneousCoreCUDATestWriteRead" command="testHeterogeneousCoreCUDATestWriteRead.sh">
20+
<!-- dependence only to trigger the unit test when NVIDIA GPU is (expected to be) present -->
21+
<use name="cuda"/>
22+
</test>
1523

1624
<!--
1725
Test that the framework handles correctly the case of edm::Wrapper<T> where

0 commit comments

Comments
 (0)