Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CUDA: Use MSVC default pattern for naming object files | Robert Maynard | 2018-01-30 | 6 | -23/+37 |
| | | | | | The default that CUDA uses causes failures when you try to embed CUDA obj's into another target. | ||||
* | Various typo fixes | Luz Paz | 2018-01-03 | 1 | -1/+1 |
| | | | | Some are user-facing. Others are source comments. | ||||
* | CUDA: Fix CUDA_STANDARD selection via cxx_std_11 with CXX_STANDARD | Robert Maynard | 2017-12-15 | 3 | -0/+25 |
| | | | | | | | | | | | When C++ features require a certain C++/CUDA level, verify or update the standard level target property for each language independently. While at it, add missing rejection of invalid `CUDA_STANDARD` property values. Co-Author: Brad King <brad.king@kitware.com> Fixes: #17519 | ||||
* | clang-format: format all code as Cpp11 | Daniel Pfeifer | 2017-08-30 | 1 | -9/+0 |
| | |||||
* | Tests: Simplify CUDA rpath on macOS | Brad King | 2017-06-21 | 3 | -9/+7 |
| | | | | | Use the `BUILD_RPATH` property and reference the CMake-computed location of the runtime libraries. | ||||
* | CUDA: Visual Studio now properly delays device linking | Robert Maynard | 2017-04-26 | 1 | -1/+1 |
| | |||||
* | CUDA: ObjectLibrary test executable now runs on OSX | Robert Maynard | 2017-03-23 | 1 | -0/+5 |
| | |||||
* | Merge topic 'cuda-msvc-flags' | Brad King | 2017-02-16 | 3 | -3/+3 |
|\ | | | | | | | | | | | 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 flags | Brad King | 2017-02-15 | 3 | -3/+3 |
| | | | | | | | | Append to `CMAKE_CUDA_FLAGS` instead of overwriting it. | ||||
* | | Merge topic 'cuda-with-c' | Brad King | 2017-02-15 | 4 | -0/+43 |
|\ \ | |/ | | | | | | | | | 1c60231c CUDA: Link to standard system libraries when linking as CUDA 8d75d8dc Tests: Add case for CUDA with C but not C++ | ||||
| * | CUDA: Link to standard system libraries when linking as CUDA | Brad King | 2017-02-14 | 1 | -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 King | 2017-02-14 | 4 | -0/+35 |
| | | | | | | | | An executable using CUDA and C should link as CUDA. | ||||
| * | Tests: Run clang-format on CUDA code | Brad King | 2017-02-14 | 8 | -36/+26 |
| | | |||||
* | | Tests: Run clang-format on CUDA code | Brad King | 2017-02-14 | 8 | -83/+58 |
| | | |||||
* | | Merge branch 'backport-clang-format-cuda' into clang-format-cuda | Brad King | 2017-02-14 | 1 | -0/+9 |
|\ \ | |/ | |||||
| * | clang-format.bash: Format CUDA source files too | Brad King | 2017-02-14 | 1 | -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 King | 2017-02-14 | 3 | -0/+20 |
|\ \ | |/ | | | | | | | 44f3acb2 CUDA: Detect the toolkit include directories | ||||
| * | CUDA: Detect the toolkit include directories | Robert Maynard | 2017-02-10 | 3 | -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.0 | Pierre Moreau | 2017-02-10 | 2 | -0/+46 |
| | | |||||
* | | Tests/Cuda: Return a non-zero code if errors occurred | Pierre Moreau | 2017-02-10 | 2 | -6/+8 |
| | | |||||
* | | Tests/Cuda: Use memory allocated on the GPU in the kernels | Pierre Moreau | 2017-02-10 | 2 | -10/+45 |
| | | |||||
* | | Tests/Cuda: Add missing separable compilation property | Pierre Moreau | 2017-02-10 | 1 | -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 macOS | Pierre Moreau | 2017-02-10 | 1 | -0/+6 |
| | | | | | | | | Suggested-by: Robert Maynard | ||||
* | | Tests/Cuda: Output error messages to std::cerr instead of std::cout | Pierre Moreau | 2017-02-10 | 1 | -2/+2 |
| | | |||||
* | | Tests/Cuda: Print asynchronous error messages, if any | Pierre Moreau | 2017-02-10 | 3 | -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 failed | Pierre Moreau | 2017-02-10 | 1 | -0/+7 |
| | | |||||
* | | Tests/Cuda: Add identifiers to error messages | Pierre Moreau | 2017-02-10 | 2 | -2/+4 |
| | | |||||
* | | Tests/Cuda: Print error message if an error occurred | Pierre Moreau | 2017-02-10 | 2 | -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 Maynard | 2017-01-12 | 5 | -0/+48 |
| | |||||
* | CUDA: Port test cases to Windows with MSVC host compiler | Brad King | 2017-01-12 | 5 | -9/+43 |
| | |||||
* | CUDA: ConsumeCompileFeatures use cxx_nullptr for wider compiler support | Robert Maynard | 2017-01-11 | 1 | -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 Maynard | 2016-12-15 | 3 | -11/+15 |
| | |||||
* | CUDA: Fix Cuda.Complex test case extern function signatures | Brad King | 2016-12-09 | 1 | -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 Maynard | 2016-11-14 | 20 | -0/+316 |