Commit 8e145e2b authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

equivalent lookup table change for USER-INTEL

parent 0f76bbc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -319,7 +319,7 @@ void PairBuckCoulLongIntel::eval(const int offload, const int vflag,
              float rsq_lookup = rsq;
              const int itable = (__intel_castf32_u32(rsq_lookup) &
                                  ncoulmask) >> ncoulshiftbits;
              const flt_t fraction = (rsq_lookup - table[itable].r) *
              const flt_t fraction = (rsq - table[itable].r) *
                table[itable].dr;

              const flt_t tablet = table[itable].f +
+1 −1
Original line number Diff line number Diff line
@@ -322,7 +322,7 @@ void PairLJCharmmCoulLongIntel::eval(const int offload, const int vflag,
              float rsq_lookup = rsq;
              const int itable = (__intel_castf32_u32(rsq_lookup) &
                  ncoulmask) >> ncoulshiftbits;
              const flt_t fraction = (rsq_lookup - table[itable].r) *
              const flt_t fraction = (rsq - table[itable].r) *
                  table[itable].dr;

              const flt_t tablet = table[itable].f +
+1 −1
Original line number Diff line number Diff line
@@ -316,7 +316,7 @@ void PairLJCutCoulLongIntel::eval(const int offload, const int vflag,
              float rsq_lookup = rsq;
              const int itable = (__intel_castf32_u32(rsq_lookup) &
                  ncoulmask) >> ncoulshiftbits;
              const flt_t fraction = (rsq_lookup - table[itable].r) *
              const flt_t fraction = (rsq - table[itable].r) *
                  table[itable].dr;

              const flt_t tablet = table[itable].f +