Skip to content

Commit

Permalink
CUDA shared array depwarn
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreener64 committed Dec 18, 2023
1 parent e1c6325 commit d4bf9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cuda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4bf9e0

Please sign in to comment.