Fixed bugs for tersoff gpu styles for OpenCL builds
This commit is contained in:
@ -272,7 +272,7 @@ void TersoffT::loop(const bool _eflag, const bool _vflag, const int evatom) {
|
|||||||
&map, &elem2param, &_nelements, &_nparams, &_zetaij,
|
&map, &elem2param, &_nelements, &_nparams, &_zetaij,
|
||||||
&this->nbor->dev_nbor, &this->_nbor_data->begin(),
|
&this->nbor->dev_nbor, &this->_nbor_data->begin(),
|
||||||
&this->dev_short_nbor,
|
&this->dev_short_nbor,
|
||||||
&_eflag, &this->_ainum, &nbor_pitch, &this->_threads_per_atom);
|
&eflag, &this->_ainum, &nbor_pitch, &this->_threads_per_atom);
|
||||||
|
|
||||||
ainum=this->ans->inum();
|
ainum=this->ans->inum();
|
||||||
nbor_pitch=this->nbor->nbor_pitch();
|
nbor_pitch=this->nbor->nbor_pitch();
|
||||||
|
|||||||
@ -272,7 +272,7 @@ void TersoffMT::loop(const bool _eflag, const bool _vflag, const int evatom) {
|
|||||||
&map, &elem2param, &_nelements, &_nparams, &_zetaij,
|
&map, &elem2param, &_nelements, &_nparams, &_zetaij,
|
||||||
&this->nbor->dev_nbor, &this->_nbor_data->begin(),
|
&this->nbor->dev_nbor, &this->_nbor_data->begin(),
|
||||||
&this->dev_short_nbor,
|
&this->dev_short_nbor,
|
||||||
&_eflag, &this->_ainum, &nbor_pitch, &this->_threads_per_atom);
|
&eflag, &this->_ainum, &nbor_pitch, &this->_threads_per_atom);
|
||||||
|
|
||||||
ainum=this->ans->inum();
|
ainum=this->ans->inum();
|
||||||
nbor_pitch=this->nbor->nbor_pitch();
|
nbor_pitch=this->nbor->nbor_pitch();
|
||||||
|
|||||||
@ -297,7 +297,7 @@ void TersoffZT::loop(const bool _eflag, const bool _vflag, const int evatom) {
|
|||||||
&map, &elem2param, &_nelements, &_nparams, &_zetaij,
|
&map, &elem2param, &_nelements, &_nparams, &_zetaij,
|
||||||
&this->nbor->dev_nbor, &this->_nbor_data->begin(),
|
&this->nbor->dev_nbor, &this->_nbor_data->begin(),
|
||||||
&this->dev_short_nbor,
|
&this->dev_short_nbor,
|
||||||
&_eflag, &this->_ainum, &nbor_pitch, &this->_threads_per_atom);
|
&eflag, &this->_ainum, &nbor_pitch, &this->_threads_per_atom);
|
||||||
|
|
||||||
ainum=this->ans->inum();
|
ainum=this->ans->inum();
|
||||||
nbor_pitch=this->nbor->nbor_pitch();
|
nbor_pitch=this->nbor->nbor_pitch();
|
||||||
|
|||||||
Reference in New Issue
Block a user