diff options
author | Kitware Robot <kwrobot@kitware.com> | 2019-09-30 14:46:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-01 16:26:36 (GMT) |
commit | ed98209ddc8d5e9f5b20cd010c69a25d553b2654 (patch) | |
tree | bacc6e66e49837c6bbe02996caf360e1e9fbc211 /Tests/Cuda | |
parent | 185fe49f29f6632a3c26c376fcb4934e91092ff7 (diff) | |
download | CMake-ed98209ddc8d5e9f5b20cd010c69a25d553b2654.zip CMake-ed98209ddc8d5e9f5b20cd010c69a25d553b2654.tar.gz CMake-ed98209ddc8d5e9f5b20cd010c69a25d553b2654.tar.bz2 |
Revise include order using clang-format-6.0
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.
Diffstat (limited to 'Tests/Cuda')
-rw-r--r-- | Tests/Cuda/Complex/dynamic.cu | 3 | ||||
-rw-r--r-- | Tests/Cuda/ObjectLibrary/Conflicts/static.cu | 3 | ||||
-rw-r--r-- | Tests/Cuda/ObjectLibrary/static.cu | 3 | ||||
-rw-r--r-- | Tests/Cuda/ProperDeviceLibraries/main.cu | 3 | ||||
-rw-r--r-- | Tests/Cuda/WithC/cuda.cu | 4 |
5 files changed, 10 insertions, 6 deletions
diff --git a/Tests/Cuda/Complex/dynamic.cu b/Tests/Cuda/Complex/dynamic.cu index c3d8aff..9da8853 100644 --- a/Tests/Cuda/Complex/dynamic.cu +++ b/Tests/Cuda/Complex/dynamic.cu @@ -1,8 +1,9 @@ -#include <cuda.h> #include <iostream> #include <string> +#include <cuda.h> + #ifdef _WIN32 # define EXPORT __declspec(dllexport) #else diff --git a/Tests/Cuda/ObjectLibrary/Conflicts/static.cu b/Tests/Cuda/ObjectLibrary/Conflicts/static.cu index 586e8c6..30aa121 100644 --- a/Tests/Cuda/ObjectLibrary/Conflicts/static.cu +++ b/Tests/Cuda/ObjectLibrary/Conflicts/static.cu @@ -1,7 +1,8 @@ +#include <iostream> + #include <cuda.h> #include <cuda_runtime.h> -#include <iostream> int __host__ cu2_sq_func(int x) { diff --git a/Tests/Cuda/ObjectLibrary/static.cu b/Tests/Cuda/ObjectLibrary/static.cu index 37bb839..530a114 100644 --- a/Tests/Cuda/ObjectLibrary/static.cu +++ b/Tests/Cuda/ObjectLibrary/static.cu @@ -1,7 +1,8 @@ +#include <iostream> + #include <cuda.h> #include <cuda_runtime.h> -#include <iostream> int __host__ cu1_sq_func(int x) { diff --git a/Tests/Cuda/ProperDeviceLibraries/main.cu b/Tests/Cuda/ProperDeviceLibraries/main.cu index 8ceb0cc..397804c 100644 --- a/Tests/Cuda/ProperDeviceLibraries/main.cu +++ b/Tests/Cuda/ProperDeviceLibraries/main.cu @@ -1,7 +1,8 @@ +#include <iostream> + #include <cublas_v2.h> #include <cuda_runtime.h> -#include <iostream> #if defined(USE_THREADS_POSIX) && defined(HAVE_PTHREAD_H) diff --git a/Tests/Cuda/WithC/cuda.cu b/Tests/Cuda/WithC/cuda.cu index 06bd7b9..d1be2d4 100644 --- a/Tests/Cuda/WithC/cuda.cu +++ b/Tests/Cuda/WithC/cuda.cu @@ -1,7 +1,7 @@ -#include <cuda.h> - #include <iostream> +#include <cuda.h> + extern "C" int use_cuda(void) { int nDevices = 0; |