diff options
author | Brad King <brad.king@kitware.com> | 2024-10-18 11:35:39 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-10-18 11:35:57 (GMT) |
commit | e45dc7b827a4eb170bef1d39825236cde195fb32 (patch) | |
tree | da4943b149b96d83b17d8eaa788699a27f14fea5 /Tests | |
parent | 773eff6d8e6d2e6b93c41e0f41951cdb9c8b4efb (diff) | |
parent | ee9e2216ecb0173ff20411a2347df2d207b6d9ca (diff) | |
download | CMake-e45dc7b827a4eb170bef1d39825236cde195fb32.zip CMake-e45dc7b827a4eb170bef1d39825236cde195fb32.tar.gz CMake-e45dc7b827a4eb170bef1d39825236cde195fb32.tar.bz2 |
Merge topic 'test-cuda-simplify-kernels' into release-3.31
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.cu | 7 |
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]; - } -} |