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

symmetrize VLA and fixed size build messages

This commit is contained in:
nmeyer-ur 2020-05-20 20:05:42 +02:00
parent b780b7b7a0
commit 9a86059761
3 changed files with 2 additions and 11 deletions

View File

@ -48,7 +48,7 @@ void CartesianCommunicator::Init(int *argc, char ***argv)
#if defined (A64FX) || defined (A64FXFIXEDSIZE) #if defined (A64FX) || defined (A64FXFIXEDSIZE)
#ifndef TOFU #ifndef TOFU
#define TOFU #define TOFU
#pragma message ("MPI_THREAD_SINGLE") #pragma message ("TOFU network / MPI_THREAD_SINGLE")
#endif #endif
#endif #endif

View File

@ -39,7 +39,6 @@
// gcc 10 features // gcc 10 features
#if __ARM_FEATURE_SVE_BITS==512 #if __ARM_FEATURE_SVE_BITS==512
#pragma message("building for A64FX / fixed SVE data type size")
/* gcc 10.0.1 and gcc 10.1 bug using ACLE data types CAS-159553-Y1K4C6 /* gcc 10.0.1 and gcc 10.1 bug using ACLE data types CAS-159553-Y1K4C6
workaround: use gcc's internal data types, bugfix expected for gcc 10.2 workaround: use gcc's internal data types, bugfix expected for gcc 10.2
typedef svbool_t pred __attribute__((arm_sve_vector_bits(512))); typedef svbool_t pred __attribute__((arm_sve_vector_bits(512)));

View File

@ -120,26 +120,18 @@ accelerator_inline Grid_half sfw_float_to_half(float ff) {
#if defined(A64FX) || defined(A64FXFIXEDSIZE) // breakout A64FX SVE ACLE here #if defined(A64FX) || defined(A64FXFIXEDSIZE) // breakout A64FX SVE ACLE here
#include <arm_sve.h> #include <arm_sve.h>
#if defined(A64FX) // VLA #if defined(A64FX) // VLA
#ifndef MSGVLA
#pragma message("building for A64FX / SVE ACLE VLA") #pragma message("building for A64FX / SVE ACLE VLA")
#define MSGVLA
#endif
#if defined(ARMCLANGCOMPAT) #if defined(ARMCLANGCOMPAT)
#ifndef MSGCOMPAT
#pragma message("applying armclang fix") #pragma message("applying armclang fix")
#define MSGCOMPAT
#endif
#endif #endif
#include "Grid_a64fx-2.h" #include "Grid_a64fx-2.h"
#endif #endif
#if defined(A64FXFIXEDSIZE) // fixed size data types #if defined(A64FXFIXEDSIZE) // fixed size data types
#pragma message("building for A64FX / SVE ACLE fixed size")
#include "Grid_a64fx-fixedsize.h" #include "Grid_a64fx-fixedsize.h"
#endif #endif
#else #else
#ifndef MSGGEN
#pragma message("building for GEN") // generic #pragma message("building for GEN") // generic
#define MSGGEN
#endif
#include "Grid_generic.h" #include "Grid_generic.h"
#endif #endif
#endif #endif