1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

specialized A64FX Dslash kernels

This commit is contained in:
nils meyer 2020-04-09 23:25:25 +02:00
parent 5cdbb7e71e
commit 19eef97503
17 changed files with 38 additions and 6 deletions

View File

@ -30,7 +30,9 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
/* END LEGAL */
#pragma once
#if defined(DSLASHA64FX)
#if defined(A64FX)
#pragma message("invoking A64FX Dslash")
// undefine everything
#include <simd/Fujitsu_A64FX_undef.h>
@ -194,9 +196,9 @@ WilsonKernels<ZWilsonImplFH>::AsmDhopSiteDagExt(StencilView &st, DoubledGaugeFie
int ss,int ssU,int Ls,int Ns,const FermionFieldView &in, FermionFieldView &out)
#include <qcd/action/fermion/implementation/WilsonKernelsAsmBody.h>
#undef MAYBEPERM
//#undef MAYBEPERM
//#undef MULT_2SPIN
#define MAYBEPERM(A,B)
//#define MAYBEPERM(A,B)
//#define MULT_2SPIN(ptr,pf) MULT_ADDSUB_2SPIN_LS(ptr,pf)
/////////////////////////////////////////////////////////////////
@ -346,7 +348,7 @@ WilsonKernels<ZDomainWallVec5dImplFH>::AsmDhopSiteDagExt(StencilView &st, Double
//#undef MAYBEPERM
//#undef MULT_2SPIN
// undefine everything
// undefine
#include <simd/Fujitsu_A64FX_undef.h>
///////////////////////////////////////////////////////////
@ -359,7 +361,7 @@ WilsonKernels<ZDomainWallVec5dImplFH>::AsmDhopSiteDagExt(StencilView &st, Double
#include <simd/Fujitsu_A64FX_asm_double.h>
#endif
// KNL stuff
// former KNL
//#define MAYBEPERM(A,perm) if (perm) { A ; }
//#define MULT_2SPIN(ptr,pf) MULT_ADDSUB_2SPIN(ptr,pf)
//#define COMPLEX_SIGNS(isigns) vComplexD *isigns = &signsD[0];

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -34,9 +34,11 @@ directory
#ifndef AVX512
#ifndef QPX
#ifndef A64FX
#include <Grid/qcd/action/fermion/implementation/WilsonKernelsAsmImplementation.h>
#endif
#endif
#endif
NAMESPACE_BEGIN(Grid);

View File

@ -1,5 +1,5 @@
#include <iostream>
#include "Version.h"
//#include "Version.h"
namespace Grid {
void printHash(){
#ifdef GITHASH