replace leading tabs
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user