summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/ExportPTX
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: Visual Studio Generator propagates definitions for PTX filesunknown2021-12-143-0/+8
| | | | | | | | From CUDA 9.0 to CUDA 11.4 the CUDA Visual Studio integration defines omitted user defines from PTX generation. With CUDA 11.5 this has been resolved, so we backport the fix to allow for consistent behavior when using CMake
* CUDA: Allow both CUDA_SEPARABLE_COMPILATION and CUDA_PTX_COMPILATIONRobert Maynard2021-10-202-20/+1
| | | | | | The target properties `CUDA_SEPARABLE_COMPILATION` and `CUDA_PTX_COMPILATION` now aren't mutually exclusive and can now be used together on the same target.
* CUDA: Fix tests with CUDAARCHS setRaul Tambre2020-11-301-1/+5
| | | | | | | 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.
* Tests: Update CUDA tests to work with ClangRaul Tambre2020-05-151-4/+3
|
* Tests: Fix Cuda test project namesBrad King2018-10-101-1/+1
| | | | | Make them match what `ADD_TEST_MACRO` gives to ctest as the project name to build so that the `.sln` file will be found.
* Tests: Simplify CUDA rpath on macOSBrad King2017-06-211-3/+2
| | | | | Use the `BUILD_RPATH` property and reference the CMake-computed location of the runtime libraries.
* CUDA: Allow sources to be compiled to .ptx filesRobert Maynard2017-04-205-0/+144
When the target property `CUDA_PTX_COMPILATION` is enabled CUDA OBJECT libraries will generate ptx files instead of object files.