From d4bf9e0cc0f2202e77c44aff2b14bb2af0d69b37 Mon Sep 17 00:00:00 2001 From: Joe Greener Date: Mon, 18 Dec 2023 14:35:20 +0000 Subject: [PATCH] CUDA shared array depwarn --- src/cuda.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cuda.jl b/src/cuda.jl index 946e70d9..821476e3 100644 --- a/src/cuda.jl +++ b/src/cuda.jl @@ -130,7 +130,7 @@ function pairwise_force_kernel_nonl!(forces::AbstractArray{T}, coords_var, atoms j_0_tile = j_0_block + (warpidx - 1) * warpsize() i = i_0_tile + laneid() - forces_shmem = @cuStaticSharedMem(T, (3, 1024)) + forces_shmem = CuStaticSharedArray(T, (3, 1024)) @inbounds for dim in 1:3 forces_shmem[dim, tidx] = zero(T) end