Brad King
65481a60a0
CUDA: Work around VS limitation in CudaOnly.WithDefs test
...
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.
2017-03-10 10:19:58 -05:00
Brad King
613b3e49a0
CUDA: Fix spelling of CudaOnly.SeparateCompilation test targets
2017-03-07 13:26:01 -05:00
Brad King
d7c80f6036
CUDA: Fix test cases to not override CUDA flags
...
Append to `CMAKE_CUDA_FLAGS` instead of overwriting it.
2017-02-15 11:12:09 -05:00
Brad King
c4a6135039
Tests: Run clang-format on CUDA code
2017-02-14 10:20:50 -05:00
Brad King
592e3d2f96
clang-format.bash: Format CUDA source files too
...
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.
2017-02-14 10:20:23 -05:00
Robert Maynard
44f3acb202
CUDA: Detect the toolkit include directories
...
The `nvcc -v` output provides what include directories need to be added
to use the CUDA toolkit from other languages ( C/C++ ).
2017-02-10 16:08:06 -05:00
Brad King
f9a810f7b3
CUDA: Enable CudaOnly.SeparateCompilation test runtime calls
...
Uncomment the calls in `main.cpp` (and fix the signatures).
2017-01-12 10:39:04 -05:00
Brad King
5599d858c7
CUDA: Port test cases to Windows with MSVC host compiler
2017-01-12 10:39:04 -05:00
Robert Maynard
c59811a233
CUDA: Tests now state why they are failing when no CUDA card is found.
2016-12-15 15:57:01 -05:00
Robert Maynard
7b9131da64
CUDA: Add tests to verify CUDA compiler works properly.
2016-11-14 16:40:50 -05:00