Skip to content
Snippets Groups Projects
Commit b46629ee authored by Stan Moore's avatar Stan Moore Committed by GitHub
Browse files

Merge pull request #5 from ibaned/kokkos-fixes

prevent implicit dereference of s_CTEMP
parents eca9539f a7c5905c
No related branches found
No related tags found
No related merge requests found
...@@ -45,14 +45,13 @@ namespace LAMMPS_NS { ...@@ -45,14 +45,13 @@ namespace LAMMPS_NS {
} }
KOKKOS_INLINE_FUNCTION KOKKOS_INLINE_FUNCTION
volatile s_CTEMP& operator+=(const volatile s_CTEMP &rhs) volatile { void operator+=(const volatile s_CTEMP &rhs) volatile {
t0 += rhs.t0; t0 += rhs.t0;
t1 += rhs.t1; t1 += rhs.t1;
t2 += rhs.t2; t2 += rhs.t2;
t3 += rhs.t3; t3 += rhs.t3;
t4 += rhs.t4; t4 += rhs.t4;
t5 += rhs.t5; t5 += rhs.t5;
return *this;
} }
}; };
typedef s_CTEMP CTEMP; typedef s_CTEMP CTEMP;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment