~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to lib/gpu/lal_pppm.cpp

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
 
161
161
  // Allocate error flags for checking out of bounds atoms
162
162
  success=success && (error_flag.alloc(1,*ucl_device,UCL_READ_ONLY,
163
 
                                       UCL_WRITE_ONLY)==UCL_SUCCESS);
 
163
                                       UCL_READ_WRITE)==UCL_SUCCESS);
164
164
  if (!success) {
165
165
    flag=-3;
166
166
    return 0;