summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-10-18 11:33:43 (GMT)
committerBrad King <brad.king@kitware.com>2024-10-18 11:33:43 (GMT)
commit1415b3d6412ddc63a1b43e76e97053d8cd94007c (patch)
treebb12fd622bb88d9dad273e1c2ff4d35c6d17493c /Tests
parenta56b554775cd01f8dd762c2de92ea1836d8586d8 (diff)
parentee9e2216ecb0173ff20411a2347df2d207b6d9ca (diff)
downloadCMake-1415b3d6412ddc63a1b43e76e97053d8cd94007c.zip
CMake-1415b3d6412ddc63a1b43e76e97053d8cd94007c.tar.gz
CMake-1415b3d6412ddc63a1b43e76e97053d8cd94007c.tar.bz2
Merge branch 'test-cuda-simplify-kernels' into release-3.30
ee9e2216ec Tests: Simplify CUDA kernels avoid crash with nvidia driver 550 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9913
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CudaOnly/SeparateCompilationPTX/kernels.cu7
1 files changed, 0 insertions, 7 deletions
diff --git a/Tests/CudaOnly/SeparateCompilationPTX/kernels.cu b/Tests/CudaOnly/SeparateCompilationPTX/kernels.cu
index f4a52d4..fbe0d26 100644
--- a/Tests/CudaOnly/SeparateCompilationPTX/kernels.cu
+++ b/Tests/CudaOnly/SeparateCompilationPTX/kernels.cu
@@ -5,10 +5,3 @@ __global__ void kernelA(float* r, float* x, float* y, float* z, int size)
r[i] = x[i] * y[i] + z[i];
}
}
-
-__global__ void kernelB(float* r, float* x, float* y, float* z, int size)
-{
- for (int i = threadIdx.x; i < size; i += blockDim.x) {
- r[i] = x[i] * y[i] + z[i];
- }
-}