Temporarily disable the AVX512 CASUM/ZASUM microkernels for any version of NVIDIA HPC (#4327)

* Temporarily disable the C/ZASUM microkernels for any version of NVHPC
This commit is contained in:
Martin Kroeker 2023-11-19 00:04:31 +01:00 committed by GitHub
parent df4cd7e82c
commit 22aa401656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,8 @@
#endif #endif
#if ((( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && (__clang_major__ >= 9 &&__clang_major__ !=17)) || ( defined(__NVCOMPILER) && NVCOMPVERS >= 2309))) #if ((( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && (__clang_major__ >= 9 &&__clang_major__ !=17)) || ( defined(__NVCOMPILER) && NVCOMPVERS >= 2309)))
#if (!(defined(__NVCOMPILER) && NVCOMPVERS < 2309)) #if (!(defined(__NVCOMPILER) ))
//&& NVCOMPVERS < 2309))
#define HAVE_CASUM_KERNEL 1 #define HAVE_CASUM_KERNEL 1

View File

@ -4,7 +4,8 @@
#endif #endif
#if ((( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && ( __clang_major__ >= 9 && __clang_major__ != 17)) || (defined(__NVCOMPILER) && NVCOMPVERS >= 2309))) #if ((( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && ( __clang_major__ >= 9 && __clang_major__ != 17)) || (defined(__NVCOMPILER) && NVCOMPVERS >= 2309)))
#if (!(defined(__NVCOMPILER) && NVCOMPVERS < 2309)) #if (!(defined(__NVCOMPILER) ))
//&& NVCOMPVERS < 2309))
#define HAVE_ZASUM_KERNEL 1 #define HAVE_ZASUM_KERNEL 1