summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/WithC
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix clang -Wstrict-prototypes warningsBrad King2023-10-261-1/+1
|
* 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
|
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-2/+2
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* 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.
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-011-1/+1
| | | | | | | | | | | | Run the `clang-format.bash` script to update all our C and C++ code to a new style defined by `.clang-format`. Use `clang-format` version 6.0. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* 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: Fix test cases to not override CUDA flagsBrad King2017-02-151-1/+1
| | | | Append to `CMAKE_CUDA_FLAGS` instead of overwriting it.
* CUDA: Link to standard system libraries when linking as CUDABrad King2017-02-141-0/+8
| | | | | | | On Windows with MSVC-like host compilers we must honor the standard libraries chosen by the `Platform/Windows-MSVC` module. Otherwise C code linked into the CUDA binary that expects to have these libraries available may not link.
* Tests: Add case for CUDA with C but not C++Brad King2017-02-143-0/+34
An executable using CUDA and C should link as CUDA.