replace leading tabs

This commit is contained in:
Axel Kohlmeyer
2018-03-16 12:28:13 -04:00
parent fc3de22c17
commit ee862d8bf5
243 changed files with 13704 additions and 13704 deletions

View File

@ -532,7 +532,7 @@ void IntelBuffers<flt_t, acc_t>::grow_ncache(const int off_flag,
lmp->memory->create(_ncachetag, tsize, "_ncachetag");
}
int *ncachetag = _ncachetag;
#pragma offload_transfer target(mic:_cop) \
#pragma offload_transfer target(mic:_cop) \
nocopy(ncachetag:length(tsize) alloc_if(1) free_if(0))
_off_ncache = 1;
}
@ -570,7 +570,7 @@ void IntelBuffers<flt_t, acc_t>::fdotr_reduce(const int nall,
template <class flt_t, class acc_t>
void IntelBuffers<flt_t, acc_t>::set_ntypes(const int ntypes,
const int use_ghost_cut)
const int use_ghost_cut)
{
if (ntypes != _ntypes) {
if (_ntypes > 0) {
@ -582,7 +582,7 @@ void IntelBuffers<flt_t, acc_t>::set_ntypes(const int ntypes,
}
flt_t * cutneighghostsqo;
if (_cutneighghostsq && _off_threads > 0 && cutneighghostsqo != 0) {
cutneighghostsqo = _cutneighghostsq[0];
cutneighghostsqo = _cutneighghostsq[0];
#pragma offload_transfer target(mic:_cop) \
nocopy(cutneighghostsqo:alloc_if(0) free_if(1))
}
@ -593,8 +593,8 @@ void IntelBuffers<flt_t, acc_t>::set_ntypes(const int ntypes,
if (ntypes > 0) {
lmp->memory->create(_cutneighsq, ntypes, ntypes, "_cutneighsq");
if (use_ghost_cut)
lmp->memory->create(_cutneighghostsq, ntypes, ntypes,
"_cutneighghostsq");
lmp->memory->create(_cutneighghostsq, ntypes, ntypes,
"_cutneighghostsq");
#ifdef _LMP_INTEL_OFFLOAD
flt_t * cutneighsqo = _cutneighsq[0];
const int ntypes2 = ntypes * ntypes;