diff options
author | Brad King <brad.king@kitware.com> | 2017-02-14 15:16:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-02-14 15:21:48 (GMT) |
commit | 33a65941fa5d7c12d79f9a4e002fed418ba6adc7 (patch) | |
tree | d3b7927977111ac2d90f233d4f8623feafefe7d9 /Tests/Cuda/ConsumeCompileFeatures | |
parent | fa5188d0edf081396ca0134d07cd8706549ddede (diff) | |
download | CMake-33a65941fa5d7c12d79f9a4e002fed418ba6adc7.zip CMake-33a65941fa5d7c12d79f9a4e002fed418ba6adc7.tar.gz CMake-33a65941fa5d7c12d79f9a4e002fed418ba6adc7.tar.bz2 |
Tests: Run clang-format on CUDA code
Diffstat (limited to 'Tests/Cuda/ConsumeCompileFeatures')
-rw-r--r-- | Tests/Cuda/ConsumeCompileFeatures/main.cu | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Tests/Cuda/ConsumeCompileFeatures/main.cu b/Tests/Cuda/ConsumeCompileFeatures/main.cu index 712871c..bc32450 100644 --- a/Tests/Cuda/ConsumeCompileFeatures/main.cu +++ b/Tests/Cuda/ConsumeCompileFeatures/main.cu @@ -5,14 +5,16 @@ int static_cxx11_func(int); void test_functions() { - auto x = static_cxx11_func( int(42) ); + auto x = static_cxx11_func(int(42)); std::cout << x << std::endl; } -int main(int argc, char **argv) +int main(int argc, char** argv) { test_functions(); - std::cout << "this executable doesn't use cuda code, just call methods defined" << std::endl; + std::cout + << "this executable doesn't use cuda code, just call methods defined" + << std::endl; std::cout << "in libraries that have cuda code" << std::endl; return 0; } |