Small fixes

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti 2022-08-09 19:19:48 +02:00
parent c18124b066
commit 3d95ec4b0a
3 changed files with 21 additions and 29 deletions

View File

@ -22,14 +22,6 @@ extern double computeForceLJFullNeigh_simd(Parameter*, Atom*, Neighbor*, Stats*)
extern double computeForceLJHalfNeigh(Parameter*, Atom*, Neighbor*, Stats*); extern double computeForceLJHalfNeigh(Parameter*, Atom*, Neighbor*, Stats*);
extern double computeForceEam(Eam*, Parameter*, Atom*, Neighbor*, Stats*); extern double computeForceEam(Eam*, Parameter*, Atom*, Neighbor*, Stats*);
#ifdef USE_SIMD_KERNEL
# define KERNEL_NAME "SIMD"
# define computeForceLJFullNeigh computeForceLJFullNeigh_simd
#else
# define KERNEL_NAME "plain-C"
# define computeForceLJFullNeigh computeForceLJFullNeigh_plain_c
#endif
// Patterns // Patterns
#define P_SEQ 0 #define P_SEQ 0
#define P_FIX 1 #define P_FIX 1

View File

@ -20,8 +20,8 @@
* with MD-Bench. If not, see <https://www.gnu.org/licenses/>. * with MD-Bench. If not, see <https://www.gnu.org/licenses/>.
* ======================================================================================= * =======================================================================================
*/ */
#include <stdlib.h>
#include <string.h> #include <string.h>
#include <util.h> #include <util.h>
/* Park/Miller RNG w/out MASKING, so as to be like f90s version */ /* Park/Miller RNG w/out MASKING, so as to be like f90s version */