1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-18 15:57:05 +01:00

added SVE configure for armclang and gcc

This commit is contained in:
nils meyer
2020-04-24 10:10:47 +02:00
parent 6f44e3c192
commit 6db68d6ecb
3 changed files with 16 additions and 10 deletions

View File

@ -118,8 +118,11 @@ accelerator_inline Grid_half sfw_float_to_half(float ff) {
#ifdef GEN
#if defined(A64FX) // breakout A64FX SVE ACLE here
//#pragma message("building for A64FX / SVE ACLE")
#if defined(clang)
#if defined(HOTFIX)
#pragma message("applying armclang hotfix")
#define ARMCLANGHOTFIX // armclang 20.0 compiles, but binaries give wrong results without hotfix
#else
#pragma message("not applying armclang hotfix")
#endif
#include <arm_sve.h>
#include "Grid_a64fx-2.h"