summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/Complex
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Don't unnecessarily set CUDA_ARCHITECTURESRaul Tambre2020-09-211-5/+2
| | | | | | | | | | | | | | 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 abstraction for cuda runtime selectionRobert Maynard2020-01-274-14/+33
| | | | | Fixes #17559 Replace our hard-coded default of cudart=static with a first-class abstraction to select the runtime library from an enumeration of logical names.
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-1/+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-015-14/+14
| | | | | | | | | | | | 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.
* Various typo fixesLuz Paz2018-01-031-1/+1
| | | | Some are user-facing. Others are source comments.
* 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: Visual Studio now properly delays device linkingRobert Maynard2017-04-261-1/+1
|
* Merge topic 'cuda-msvc-flags'Brad King2017-02-161-1/+1
|\ | | | | | | | | | | 55fb46d2 CUDA: Fix default compiler flags on Windows d7c80f60 CUDA: Fix test cases to not override CUDA flags
| * CUDA: Fix test cases to not override CUDA flagsBrad King2017-02-151-1/+1
| | | | | | | | Append to `CMAKE_CUDA_FLAGS` instead of overwriting it.
| * Tests: Run clang-format on CUDA codeBrad King2017-02-145-29/+17
| |
* | Tests: Run clang-format on CUDA codeBrad King2017-02-145-76/+49
| |
* | Tests/Cuda: Select a CUDA device supporting compute 3.0Pierre Moreau2017-02-102-0/+46
| |
* | Tests/Cuda: Return a non-zero code if errors occurredPierre Moreau2017-02-101-3/+3
| |
* | Tests/Cuda: Use memory allocated on the GPU in the kernelsPierre Moreau2017-02-102-10/+45
| |
* | Tests/Cuda: Add missing separable compilation propertyPierre Moreau2017-02-101-0/+2
| | | | | | | | | | | | | | This resulted in `mixed_kernel()` returning an "invalid device function" at runtime for `file1_func()`. Suggested-by: Robert Maynard
* | Tests/Cuda: Fix missing CUDA static library at runtime on macOSPierre Moreau2017-02-101-0/+6
| | | | | | | | Suggested-by: Robert Maynard
* | Tests/Cuda: Print asynchronous error messages, if anyPierre Moreau2017-02-103-0/+20
| | | | | | | | | | | | | | | | | | | | As kernel launches are asynchronous, a `cudaGetLastError()` right after the kernel launch might be executed while the kernel is still running. Synchronizing the device will ensure that all the work is completed before progressing further on, and allows to catch errors that were previously missed. The `cudaGetLastError()` after the `cudaDeviceSynchronize()` is there to reset the error variable to `cudaSuccess`.
* | Tests/Cuda: Print error message if mixed_kernel failedPierre Moreau2017-02-101-0/+7
| |
* | Tests/Cuda: Add identifiers to error messagesPierre Moreau2017-02-102-2/+4
| |
* | Tests/Cuda: Print error message if an error occurredPierre Moreau2017-02-102-2/+2
|/ | | | Fixes c59811a2 "CUDA: Tests now state why they are failing when no CUDA card is found."
* CUDA: Port test cases to Windows with MSVC host compilerBrad King2017-01-125-9/+43
|
* CUDA: Tests now state why they are failing when no CUDA card is found.Robert Maynard2016-12-153-11/+15
|
* CUDA: Fix Cuda.Complex test case extern function signaturesBrad King2016-12-091-2/+2
| | | | | Make the return types of the extern function declared in `main.cpp` match those in the method implementations.
* CUDA: Add tests to verify CUDA compiler works properly.Robert Maynard2016-11-1411-0/+199