Fix compilation when INTERNAL_LOOP_NTIMES is not set and create avx512 directory

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti 2021-05-06 13:59:02 +02:00
parent 15de65303e
commit e53d9961ef
11 changed files with 5 additions and 5 deletions

View File

@ -27,11 +27,6 @@
#include <parameter.h> #include <parameter.h>
#include <atom.h> #include <atom.h>
// Number of times to compute the most internal loop
#ifndef INTERNAL_LOOP_NTIMES
#define INTERNAL_LOOP_NTIMES 1
#endif
double computeForce(Parameter *param, Atom *atom, Neighbor *neighbor) { double computeForce(Parameter *param, Atom *atom, Neighbor *neighbor) {
int Nlocal = atom->Nlocal; int Nlocal = atom->Nlocal;
int* neighs; int* neighs;

View File

@ -29,6 +29,11 @@
#define MD_FLOAT double #define MD_FLOAT double
#endif #endif
// Number of times to compute the most internal loop
#ifndef INTERNAL_LOOP_NTIMES
#define INTERNAL_LOOP_NTIMES 1
#endif
typedef struct { typedef struct {
MD_FLOAT epsilon; MD_FLOAT epsilon;
MD_FLOAT sigma6; MD_FLOAT sigma6;