git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3215 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2009-10-12 15:35:28 +00:00
parent 2fe5c1d7f2
commit e7d5e47e27
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ void PairGPUAtomT::init(const int max_atoms) {
ans.safe_alloc(ans_fields(),max_atoms);
// Get a host write only buffer
host_write.safe_alloc_w(max_atoms*4);
host_write.safe_alloc_w(max_atoms*atom_fields());
// Get a host read/write buffer
host_read.safe_alloc_rw(ans.row_size()*ans_fields());