@@ -57,7 +57,7 @@ function pairwise_force_gpu!(buffers, sys::System{D, true, T}, pairwise_inters,
57
57
buffers = ForcesBuffer (buffers. fs_mat, buffers. box_mins, buffers. box_maxs, buffers. Morton_seq)
58
58
sys. neighbor_finder. initialized = true
59
59
end
60
- CUDA. @sync @cuda blocks= (n_blocks, n_blocks) threads= (32 , 1 ) always_inline = true force_kernel! (buffers. Morton_seq, buffers. fs_mat, buffers. box_mins, buffers. box_maxs, sys. coords, sys. velocities, sys. atoms, Val (N), r_cut, Val (sys. force_units), pairwise_inters, sys. boundary, step_n, sys. neighbor_finder. special, sys. neighbor_finder. eligible, Val (T))
60
+ CUDA. @sync @cuda blocks= (n_blocks, n_blocks) threads= (32 , 1 ) force_kernel! (buffers. Morton_seq, buffers. fs_mat, buffers. box_mins, buffers. box_maxs, sys. coords, sys. velocities, sys. atoms, Val (N), r_cut, Val (sys. force_units), pairwise_inters, sys. boundary, step_n, sys. neighbor_finder. special, sys. neighbor_finder. eligible, Val (T))
61
61
end
62
62
return buffers
63
63
end
@@ -82,7 +82,7 @@ function pairwise_pe_gpu!(pe_vec_nounits, buffers, sys::System{D, true, T}, pair
82
82
CUDA. @sync @cuda blocks= (cld (N, WARPSIZE),) threads= (32 ,) kernel_min_max! (buffers. Morton_seq, buffers. box_mins, buffers. box_maxs, sys. coords, Val (N), sys. boundary)
83
83
buffers = ForcesBuffer (buffers. fs_mat, buffers. box_mins, buffers. box_maxs, buffers. Morton_seq)
84
84
sys. neighbor_finder. initialized = true
85
- CUDA. @sync @cuda blocks= (n_blocks, n_blocks) threads= (32 , 1 ) always_inline = true energy_kernel! (buffers. Morton_seq,
85
+ CUDA. @sync @cuda blocks= (n_blocks, n_blocks) threads= (32 , 1 ) energy_kernel! (buffers. Morton_seq,
86
86
pe_vec_nounits, buffers. box_mins, buffers. box_maxs, sys. coords, sys. velocities, sys. atoms, Val (N), r_cut, Val (sys. energy_units), pairwise_inters, sys. boundary, step_n, sys. neighbor_finder. special, sys. neighbor_finder. eligible, Val (T))
87
87
end
88
88
return pe_vec_nounits
0 commit comments