forked from lijiext/lammps
Memory leak bug fix.
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3908 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
5f7a2d8584
commit
1c9ce032a4
|
@ -432,7 +432,6 @@ void build_cell_list(double *atom_pos, int *atom_type,
|
|||
cell_list_gpu.idx,
|
||||
cell_list_gpu.natom, d_pos);
|
||||
cudaMemset(d_rebuild, 0, sizeof(int));
|
||||
int *temp = (int*)malloc(sizeof(int)*ncell);
|
||||
kernel_test_rebuild<<<grid, buffer>>>(cell_list_gpu.pos,
|
||||
cell_list_gpu.natom,
|
||||
d_rebuild);
|
||||
|
|
Loading…
Reference in New Issue