Raul Tambre
c57541d874
CUDA: Fix tests with CUDAARCHS set
...
With CUDAARCHS there's the possibility of tests being run with multiple
architectures or having CMAKE_CUDA_ARCHITECTURES set with NVCC despite CMP0104
being OLD.
Fix a few tests to work properly in such cases.
2020-11-30 17:57:27 +02:00
Raul Tambre
a653ca9504
Tests: Update CUDA tests to work with Clang
2020-05-15 18:12:39 +03:00
Brad King
fb378fc4d7
Tests: Fix Cuda test project names
...
Make them match what `ADD_TEST_MACRO` gives to ctest as the
project name to build so that the `.sln` file will be found.
2018-10-10 13:29:47 -04:00
Brad King
fff782f6a6
Tests: Simplify CUDA rpath on macOS
...
Use the `BUILD_RPATH` property and reference the CMake-computed location
of the runtime libraries.
2017-06-21 10:41:49 -04:00
Robert Maynard
23691d789e
CUDA: Allow sources to be compiled to .ptx files
...
When the target property `CUDA_PTX_COMPILATION` is enabled CUDA OBJECT
libraries will generate ptx files instead of object files.
2017-04-20 13:25:38 -04:00