git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13174 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -34,7 +34,7 @@
|
||||
template <class flt_t, class acc_t>
|
||||
void bin_atoms(void *, int *);
|
||||
|
||||
template <class flt_t, class acc_t, int>
|
||||
template <class flt_t, class acc_t, int>
|
||||
void hbni(const int, NeighList *, void *, const int, const int, void *,
|
||||
const int offload_end = 0);
|
||||
template <class flt_t, class acc_t>
|
||||
@ -42,10 +42,14 @@ template <class flt_t, class acc_t, int>
|
||||
template <class flt_t, class acc_t, int>
|
||||
void hbnti(const int, NeighList *, void *, const int, const int, void *,
|
||||
const int offload_end = 0);
|
||||
template <class flt_t, class acc_t, int>
|
||||
void fbi(const int, NeighList *, void *, const int, const int, void *,
|
||||
const int offload_end = 0);
|
||||
|
||||
void half_bin_no_newton_intel(class NeighList *);
|
||||
void half_bin_newton_intel(class NeighList *);
|
||||
void half_bin_newton_tri_intel(class NeighList *);
|
||||
void full_bin_intel(class NeighList *);
|
||||
|
||||
#endif /* !LMP_INSIDE_NEIGHBOR_H */
|
||||
|
||||
@ -58,6 +62,7 @@ template <class flt_t, class acc_t, int>
|
||||
void half_bin_no_newton_intel(class NeighList *) {}
|
||||
void half_bin_newton_intel(class NeighList *) {}
|
||||
void half_bin_newton_tri_intel(class NeighList *) {}
|
||||
void full_bin_intel(class NeighList *) {}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@ -1187,8 +1187,10 @@ void Neighbor::choose_build(int index, NeighRequest *rq)
|
||||
"Neighbor include group not allowed with ghost neighbors");
|
||||
else pb = &Neighbor::full_nsq_ghost_omp;
|
||||
} else if (style == BIN) {
|
||||
if (rq->ghost == 0) pb = &Neighbor::full_bin_omp;
|
||||
else if (includegroup)
|
||||
if (rq->ghost == 0) {
|
||||
if (rq->intel) pb = &Neighbor::full_bin_intel;
|
||||
else pb = &Neighbor::full_bin_omp;
|
||||
} else if (includegroup)
|
||||
error->all(FLERR,
|
||||
"Neighbor include group not allowed with ghost neighbors");
|
||||
else pb = &Neighbor::full_bin_ghost_omp;
|
||||
|
||||
Reference in New Issue
Block a user