Fixed the issues with some OpenCL implementation to avoid errors casting changing the pointer address spaces
This commit is contained in:
@ -49,7 +49,7 @@ int AtomT::bytes_per_atom() const {
|
||||
if (_vel)
|
||||
bytes+=4*sizeof(numtyp);
|
||||
if (_extra_fields>0)
|
||||
bytes+=_extra_fields*sizeof(numtyp);
|
||||
bytes+=_extra_fields*sizeof(numtyp4);
|
||||
return bytes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user