diff options
author | Oliver Perks <olly.perks@arm.com> | 2021-10-07 20:49:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 14:49:14 -0500 |
commit | da31c7e894b4042e893d361e3c6dbbf2d38805b6 (patch) | |
tree | cdac2742671abbd21e167429944b74cc769c1208 /var/spack/repos/builtin/packages/minigmg/simde.patch | |
parent | 0b9914e2f524194167373da72b9685e5e21bfca1 (diff) | |
download | spack-da31c7e894b4042e893d361e3c6dbbf2d38805b6.tar.gz spack-da31c7e894b4042e893d361e3c6dbbf2d38805b6.tar.bz2 spack-da31c7e894b4042e893d361e3c6dbbf2d38805b6.tar.xz spack-da31c7e894b4042e893d361e3c6dbbf2d38805b6.zip |
Updatepackage/minigmg (#26467)
* MiniGMG, add support for optimised flags + SIMDe implementation of AVX instrinsics
* Add .gitlab-ci.yml
* NVHPC fast
* remove CI
* Syntax fix
Diffstat (limited to 'var/spack/repos/builtin/packages/minigmg/simde.patch')
-rw-r--r-- | var/spack/repos/builtin/packages/minigmg/simde.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/minigmg/simde.patch b/var/spack/repos/builtin/packages/minigmg/simde.patch new file mode 100644 index 0000000000..ad570ddb9e --- /dev/null +++ b/var/spack/repos/builtin/packages/minigmg/simde.patch @@ -0,0 +1,40 @@ +diff --git a/operators.simde.c b/operators.simde.c +new file mode 100755 +index 0000000..22ab6fd +--- /dev/null ++++ b/operators.simde.c +@@ -0,0 +1,34 @@ ++//------------------------------------------------------------------------------------------------------------------------------ ++// Samuel Williams ++// SWWilliams@lbl.gov ++// Lawrence Berkeley National Lab ++//------------------------------------------------------------------------------------------------------------------------------ ++#include <stdio.h> ++#include <stdlib.h> ++#include <stdint.h> ++#include <string.h> ++#include <math.h> ++// #include <immintrin.h> ++#define SIMDE_ENABLE_NATIVE_ALIASES ++#define SIMDE_X86_SSE_ENABLE_NATIVE_ALIASES ++#define _MM_HINT_T0 1 ++#define _MM_HINT_T1 2 ++#include "simde/x86/avx2.h" ++//------------------------------------------------------------------------------------------------------------------------------ ++#include "timer.h" ++#include "defines.h" ++#include "box.h" ++#include "mg.h" ++#include "operators.h" ++//------------------------------------------------------------------------------------------------------------------------------ ++#include "operators.ompif/exchange_boundary.c" ++#include "operators.ompif/lambda.c" ++#include "operators.avx/gsrb.c" ++#include "operators.ompif/apply_op.c" ++#include "operators.ompif/residual.c" ++#include "operators.ompif/restriction.c" ++#include "operators.ompif/interpolation.c" ++#include "operators.ompif/misc.c" ++#include "operators.ompif/matmul.c" ++#include "operators.ompif/problem1.c" ++//------------------------------------------------------------------------------------------------------------------------------ |