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:
parent
15de65303e
commit
e53d9961ef
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user