Unverified Commit b38bf6c0 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

silence some more unused parameter/variable warnings

parent 07c47fbd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -526,7 +526,7 @@ fprintf(stdout, "Fina%03d %6d inum %6d gnum, total used %6d, allocated %6d\n"

template<class DeviceType>
KOKKOS_INLINE_FUNCTION
void NPairSSAKokkosExecute<DeviceType>::build_locals_onePhase(const bool firstTry, int me, int workPhase) const
void NPairSSAKokkosExecute<DeviceType>::build_locals_onePhase(const bool firstTry, int /*me*/, int workPhase) const
{
  const typename ArrayTypes<DeviceType>::t_int_1d_const_um stencil = d_stencil;
  int which = 0;
@@ -617,8 +617,8 @@ void NPairSSAKokkosExecute<DeviceType>::build_locals_onePhase(const bool firstTr
        }
      }
    }
    int len = inum - inum_start;
#ifdef DEBUG_SSA_BUILD_LOCALS
    int len = inum - inum_start;
    if (len != d_ssa_itemLen(workPhase, workItem + skippedItems)) {
fprintf(stdout, "Leng%03d workphase (%2d,%3d,%3d): len  = %4d, but ssa_itemLen = %4d%s\n"
  ,me
+3 −3
Original line number Diff line number Diff line
@@ -659,8 +659,7 @@ void PairMultiLucyRXKokkos<DeviceType>::getMixingWeights(int id, double &mixWtSi
/* ---------------------------------------------------------------------- */

template<class DeviceType>
int PairMultiLucyRXKokkos<DeviceType>::pack_forward_comm_kokkos(int n, DAT::tdual_int_2d k_sendlist, int iswap_in, DAT::tdual_xfloat_1d &buf,
                               int pbc_flag, int *pbc)
int PairMultiLucyRXKokkos<DeviceType>::pack_forward_comm_kokkos(int n, DAT::tdual_int_2d k_sendlist, int iswap_in, DAT::tdual_xfloat_1d &buf, int /*pbc_flag*/, int * /*pbc*/)
{
  atomKK->sync(execution_space,DPDRHO_MASK);

@@ -699,7 +698,8 @@ void PairMultiLucyRXKokkos<DeviceType>::operator()(TagPairMultiLucyRXUnpackForwa
/* ---------------------------------------------------------------------- */

template<class DeviceType>
int PairMultiLucyRXKokkos<DeviceType>::pack_forward_comm(int n, int *list, double *buf, int pbc_flag, int *pbc)
int PairMultiLucyRXKokkos<DeviceType>::pack_forward_comm(int n, int *list, double *buf,
                                                         int /*pbc_flag*/, int * /*pbc*/)
{
  int i,j,m;

+1 −1
Original line number Diff line number Diff line
@@ -1173,7 +1173,7 @@ double PairTableRXKokkos<DeviceType>::init_one(int i, int j)

template<class DeviceType>
double PairTableRXKokkos<DeviceType>::single(int i, int j, int itype, int jtype, double rsq,
                         double factor_coul, double factor_lj,
                                             double /*factor_coul*/, double factor_lj,
                         double &fforce)
{
  int itable;