summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'backport-clang-format-cuda' into clang-format-cudaBrad King2017-02-141-0/+9
|\ \ | |/
| * clang-format.bash: Format CUDA source files tooBrad King2017-02-141-0/+9
| | | | | | | | | | | | Add `.clang-format` configuration files for Cuda test directories that use `Standard: Cpp11`. Otherwise clang-format splits the triple angle brackets used for CUDA kernels.
* | Merge topic 'cmake_provide_include_dir_for_toolkit'Brad King2017-02-143-0/+20
|\ \ | |/ | | | | | | 44f3acb2 CUDA: Detect the toolkit include directories
| * CUDA: Detect the toolkit include directoriesRobert Maynard2017-02-103-0/+20
| | | | | | | | | | The `nvcc -v` output provides what include directories need to be added to use the CUDA toolkit from other languages ( C/C++ ).
* | 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-102-6/+8
| |
* | 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: Output error messages to std::cerr instead of std::coutPierre Moreau2017-02-101-2/+2
| |
* | 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: Test that CUDA flags are used when device linking executables.Robert Maynard2017-01-125-0/+48
|
* CUDA: Port test cases to Windows with MSVC host compilerBrad King2017-01-125-9/+43
|
* CUDA: ConsumeCompileFeatures use cxx_nullptr for wider compiler supportRobert Maynard2017-01-111-1/+1
| | | | | We need to use a C++11 feature that is supported by the widest range of compilers, so we chose nullptr instead of constexpr.
* 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-1420-0/+316