<div dir="ltr"><div>I currently use cmake/ctest to build and test my software. The software is C++/CUDA. During the build step I don't need a GPU but in the test step I do. I would like to build the code with cmake on a cluster with many CPUs and then run the tests using ctest on a target machine with a GPU. Is this possible?</div><div><br></div><div>I have thought about using nvidia-docker but that only works on one of my target platforms.</div></div>