summaryrefslogtreecommitdiffstats
path: root/Tests/CudaOnly
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: Static libraries can now explicitly resolve device symbolsRobert Maynard2017-04-268-0/+204
| | | | | | | 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.
* CUDA: Visual Studio now properly delays device linkingRobert Maynard2017-04-262-7/+73
|
* CUDA: Allow sources to be compiled to .ptx filesRobert Maynard2017-04-206-0/+145
| | | | | When the target property `CUDA_PTX_COMPILATION` is enabled CUDA OBJECT libraries will generate ptx files instead of object files.
* CUDA: Work around VS limitation in CudaOnly.WithDefs testBrad King2017-03-102-2/+10
| | | | | | CUDA 8.0 MSBuild rules do not pass `-x cu` to nvcc and so cannot support a custom file extension. Fix our test for this to use a `.cu` extension instead.
* CUDA: Fix spelling of CudaOnly.SeparateCompilation test targetsBrad King2017-03-071-8/+8
|
* CUDA: Fix test cases to not override CUDA flagsBrad King2017-02-152-2/+2
| | | | Append to `CMAKE_CUDA_FLAGS` instead of overwriting it.
* Tests: Run clang-format on CUDA codeBrad King2017-02-148-50/+33
|
* 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.
* CUDA: Detect the toolkit include directoriesRobert Maynard2017-02-101-0/+11
| | | | | The `nvcc -v` output provides what include directories need to be added to use the CUDA toolkit from other languages ( C/C++ ).
* CUDA: Enable CudaOnly.SeparateCompilation test runtime callsBrad King2017-01-121-4/+4
| | | | Uncomment the calls in `main.cpp` (and fix the signatures).
* CUDA: Port test cases to Windows with MSVC host compilerBrad King2017-01-124-3/+32
|
* CUDA: Tests now state why they are failing when no CUDA card is found.Robert Maynard2016-12-151-0/+1
|
* CUDA: Add tests to verify CUDA compiler works properly.Robert Maynard2016-11-1416-0/+301