Hi.
I'm just find one string that cause of huge memory leak on lammps with gpu acceleration.
Lammps :lammps-10Mar10
The string number :435 in file pair_gpu_cell.cu
cudaMemset(d_rebuild, 0, sizeof(int));
int *temp = (int*)malloc(sizeof(int)*ncell);
kernel_test_rebuild<<<grid, buffer>>>(cell_list_gpu.pos,
And it string seems use for test purpouse.
so it code works fine:
cudaMemset(d_rebuild, 0, sizeof(int));
//int *temp = (int*)malloc(sizeof(int)*ncell);
kernel_test_rebuild<<<grid, buffer>>>(cell_list_gpu.pos,
Could you fix it?
Thank you.