Reorganize SIMD files and split AVX and AVX2

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti
2022-11-15 00:55:46 +01:00
parent f293cec960
commit cd1fbfb3c8
9 changed files with 240 additions and 66 deletions

View File

@@ -14,7 +14,7 @@
#include <stats.h>
#include <timing.h>
#ifdef SIMD_KERNEL_AVAILABLE
#ifdef __SIMD_KERNEL__
#include <simd.h>
#endif
@@ -191,7 +191,7 @@ double computeForceLJFullNeigh_simd(Parameter *param, Atom *atom, Neighbor *neig
double S = getTimeStamp();
LIKWID_MARKER_START("force");
#ifndef SIMD_KERNEL_AVAILABLE
#ifndef __SIMD_KERNEL__
fprintf(stderr, "Error: SIMD kernel not implemented for specified instruction set!");
exit(-1);
#else