summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly/ResolveDeviceSymbols/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Don't unnecessarily set CUDA_ARCHITECTURESRaul Tambre2020-09-211-3/+1
| | | | | | | | | | | | | | Architecture 30 was removed with CUDA 11, so most of the CUDA tests fail with it. Remove setting the architecture and bump the minimum version to 3.18, so CMP0104 takes effect and we can rely on the default architecture, which is guaranteed to be compilable. Use of __ldg() in ProperLinkFlags was removed as it only affects performance and is available only on sm_35 and above. Testing the functionality of CUDA_ARCHITECTURES is already covered by CudaOnly.Architecture and CudaOnly.CompileFlags.
* CUDA: Convert tests to use CUDA_ARCHITECTURESRaul Tambre2020-04-151-1/+1
|
* CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) supportRobert Maynard2019-12-101-2/+2
|
* CUDA: static lib device linking computes required static libsRobert Maynard2019-09-051-7/+16
| | | | | | Previously the CMake didn't compute the required set of libraries needed to properly device link a static library when CUDA_RESOLVE_DEVICE_SYMBOLS was enabled.
* 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.
* CUDA: gencode signature that list multiple code types now supported.Robert Maynard2018-01-101-1/+1
| | | | Fixes #17263
* Cuda: ResolveDeviceSymbols now properly execute everywhere.Robert Maynard2017-12-131-5/+9
| | | | | | | | | The previous version had two bugs that caused the JIT runtime errors. 1. It was building the executable without separable compilation enabled 2. All kernel launches will fail if any kernel is missing a symbol, that is why the call to file2_launch_kernel had to be removed
* 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: Static libraries can now explicitly resolve device symbolsRobert Maynard2017-04-261-0/+52
If a static library has the property CUDA_RESOLVE_DEVICE_SYMBOLS enabled it will now perform the device link step. The normal behavior is to delay calling device link until the static library is consumed by a shared library or an executable.