summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-01-18 19:13:25 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-18 19:27:29 (GMT)
commitd40bca5a8c5e85b48f2af788a5161015ae1585c3 (patch)
tree6caeda9c96b76542616a4e7a3c848605ecb2c3cb
parenta9bb2606c1c16a2077496ad5082a2ba2628d5194 (diff)
downloadCMake-d40bca5a8c5e85b48f2af788a5161015ae1585c3.zip
CMake-d40bca5a8c5e85b48f2af788a5161015ae1585c3.tar.gz
CMake-d40bca5a8c5e85b48f2af788a5161015ae1585c3.tar.bz2
Tests: Remove unused iostream from CUDA sources
-rw-r--r--Tests/Cuda/Complex/main.cpp2
-rw-r--r--Tests/Cuda/ObjectLibrary/main.cpp3
-rw-r--r--Tests/Cuda/ProperLinkFlags/main.cxx3
-rw-r--r--Tests/Cuda/SharedRuntimePlusToolkit/nppif.cpp1
-rw-r--r--Tests/Cuda/StaticRuntimePlusToolkit/nppif.cpp1
-rw-r--r--Tests/CudaOnly/DontResolveDeviceSymbols/main.cu3
-rw-r--r--Tests/CudaOnly/EnableStandard/main.cu3
-rw-r--r--Tests/CudaOnly/ExportPTX/main.cu3
-rw-r--r--Tests/CudaOnly/SeparateCompilation/file4.cu3
-rw-r--r--Tests/CudaOnly/SeparateCompilation/file5.cu3
-rw-r--r--Tests/CudaOnly/SeparateCompilationTargetObjects/bar.cu3
-rw-r--r--Tests/CudaOnly/SeparateCompilationTargetObjects/foo.cu3
-rw-r--r--Tests/CudaOnly/SeparateCompilationTargetObjects/main.cu3
-rw-r--r--Tests/CudaOnly/SharedRuntimePlusToolkit/nppif.cu1
-rw-r--r--Tests/CudaOnly/StaticRuntimePlusToolkit/nppif.cu1
15 files changed, 0 insertions, 36 deletions
diff --git a/Tests/Cuda/Complex/main.cpp b/Tests/Cuda/Complex/main.cpp
index da09b44..032f910 100644
--- a/Tests/Cuda/Complex/main.cpp
+++ b/Tests/Cuda/Complex/main.cpp
@@ -1,5 +1,3 @@
-#include <iostream>
-
#include "file1.h"
#include "file2.h"
diff --git a/Tests/Cuda/ObjectLibrary/main.cpp b/Tests/Cuda/ObjectLibrary/main.cpp
index e28f088..cc727c6 100644
--- a/Tests/Cuda/ObjectLibrary/main.cpp
+++ b/Tests/Cuda/ObjectLibrary/main.cpp
@@ -1,6 +1,3 @@
-
-#include <iostream>
-
int cpp_sq_func(int);
int cu1_sq_func(int);
int cu2_sq_func(int);
diff --git a/Tests/Cuda/ProperLinkFlags/main.cxx b/Tests/Cuda/ProperLinkFlags/main.cxx
index 7c0ee9e..665f31c 100644
--- a/Tests/Cuda/ProperLinkFlags/main.cxx
+++ b/Tests/Cuda/ProperLinkFlags/main.cxx
@@ -1,6 +1,3 @@
-
-#include <iostream>
-
#include "file1.h"
int main(int argc, char** argv)
diff --git a/Tests/Cuda/SharedRuntimePlusToolkit/nppif.cpp b/Tests/Cuda/SharedRuntimePlusToolkit/nppif.cpp
index ac5341c..1e7350a 100644
--- a/Tests/Cuda/SharedRuntimePlusToolkit/nppif.cpp
+++ b/Tests/Cuda/SharedRuntimePlusToolkit/nppif.cpp
@@ -8,7 +8,6 @@
#endif
#include <cstdio>
-#include <iostream>
#include <assert.h>
#include <cuda_runtime_api.h>
diff --git a/Tests/Cuda/StaticRuntimePlusToolkit/nppif.cpp b/Tests/Cuda/StaticRuntimePlusToolkit/nppif.cpp
index ac5341c..1e7350a 100644
--- a/Tests/Cuda/StaticRuntimePlusToolkit/nppif.cpp
+++ b/Tests/Cuda/StaticRuntimePlusToolkit/nppif.cpp
@@ -8,7 +8,6 @@
#endif
#include <cstdio>
-#include <iostream>
#include <assert.h>
#include <cuda_runtime_api.h>
diff --git a/Tests/CudaOnly/DontResolveDeviceSymbols/main.cu b/Tests/CudaOnly/DontResolveDeviceSymbols/main.cu
index 84a7a19..d123e09 100644
--- a/Tests/CudaOnly/DontResolveDeviceSymbols/main.cu
+++ b/Tests/CudaOnly/DontResolveDeviceSymbols/main.cu
@@ -1,6 +1,3 @@
-
-#include <iostream>
-
int main(int argc, char** argv)
{
return 0;
diff --git a/Tests/CudaOnly/EnableStandard/main.cu b/Tests/CudaOnly/EnableStandard/main.cu
index 740c832..acbbee3 100644
--- a/Tests/CudaOnly/EnableStandard/main.cu
+++ b/Tests/CudaOnly/EnableStandard/main.cu
@@ -1,6 +1,3 @@
-
-#include <iostream>
-
#ifdef _WIN32
# define IMPORT __declspec(dllimport)
#else
diff --git a/Tests/CudaOnly/ExportPTX/main.cu b/Tests/CudaOnly/ExportPTX/main.cu
index 132377c..d2a9b90 100644
--- a/Tests/CudaOnly/ExportPTX/main.cu
+++ b/Tests/CudaOnly/ExportPTX/main.cu
@@ -1,6 +1,3 @@
-
-#include <iostream>
-
/*
Define GENERATED_HEADER macro to allow c++ files to include headers
generated based on different configuration types.
diff --git a/Tests/CudaOnly/SeparateCompilation/file4.cu b/Tests/CudaOnly/SeparateCompilation/file4.cu
index cc24a46..f2ef8e7 100644
--- a/Tests/CudaOnly/SeparateCompilation/file4.cu
+++ b/Tests/CudaOnly/SeparateCompilation/file4.cu
@@ -1,6 +1,3 @@
-
-#include <iostream>
-
#include "file1.h"
#include "file2.h"
diff --git a/Tests/CudaOnly/SeparateCompilation/file5.cu b/Tests/CudaOnly/SeparateCompilation/file5.cu
index 38cbeb2..9b2c92a 100644
--- a/Tests/CudaOnly/SeparateCompilation/file5.cu
+++ b/Tests/CudaOnly/SeparateCompilation/file5.cu
@@ -1,6 +1,3 @@
-
-#include <iostream>
-
#include "file1.h"
#include "file2.h"
diff --git a/Tests/CudaOnly/SeparateCompilationTargetObjects/bar.cu b/Tests/CudaOnly/SeparateCompilationTargetObjects/bar.cu
index 234586f..2e824ec 100644
--- a/Tests/CudaOnly/SeparateCompilationTargetObjects/bar.cu
+++ b/Tests/CudaOnly/SeparateCompilationTargetObjects/bar.cu
@@ -1,6 +1,3 @@
-
-#include <iostream>
-
#ifdef _WIN32
# define EXPORT __declspec(dllexport)
#else
diff --git a/Tests/CudaOnly/SeparateCompilationTargetObjects/foo.cu b/Tests/CudaOnly/SeparateCompilationTargetObjects/foo.cu
index 75c04af..88acaca 100644
--- a/Tests/CudaOnly/SeparateCompilationTargetObjects/foo.cu
+++ b/Tests/CudaOnly/SeparateCompilationTargetObjects/foo.cu
@@ -1,6 +1,3 @@
-
-#include <iostream>
-
#ifdef _WIN32
# define EXPORT __declspec(dllexport)
#else
diff --git a/Tests/CudaOnly/SeparateCompilationTargetObjects/main.cu b/Tests/CudaOnly/SeparateCompilationTargetObjects/main.cu
index 78b10b1..367c488 100644
--- a/Tests/CudaOnly/SeparateCompilationTargetObjects/main.cu
+++ b/Tests/CudaOnly/SeparateCompilationTargetObjects/main.cu
@@ -1,6 +1,3 @@
-// main.cu
-#include <iostream>
-
#ifdef _WIN32
# define IMPORT __declspec(dllimport)
#else
diff --git a/Tests/CudaOnly/SharedRuntimePlusToolkit/nppif.cu b/Tests/CudaOnly/SharedRuntimePlusToolkit/nppif.cu
index ac5341c..1e7350a 100644
--- a/Tests/CudaOnly/SharedRuntimePlusToolkit/nppif.cu
+++ b/Tests/CudaOnly/SharedRuntimePlusToolkit/nppif.cu
@@ -8,7 +8,6 @@
#endif
#include <cstdio>
-#include <iostream>
#include <assert.h>
#include <cuda_runtime_api.h>
diff --git a/Tests/CudaOnly/StaticRuntimePlusToolkit/nppif.cu b/Tests/CudaOnly/StaticRuntimePlusToolkit/nppif.cu
index ac5341c..1e7350a 100644
--- a/Tests/CudaOnly/StaticRuntimePlusToolkit/nppif.cu
+++ b/Tests/CudaOnly/StaticRuntimePlusToolkit/nppif.cu
@@ -8,7 +8,6 @@
#endif
#include <cstdio>
-#include <iostream>
#include <assert.h>
#include <cuda_runtime_api.h>