Skip to content

Commit

Permalink
Temporarily disable the AVX512 CASUM/ZASUM microkernels for any versi…
Browse files Browse the repository at this point in the history
…on of NVIDIA HPC (OpenMathLib#4327)

* Temporarily disable the C/ZASUM microkernels for any version of NVHPC
  • Loading branch information
martin-frbg authored Nov 18, 2023
1 parent df4cd7e commit 22aa401
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion kernel/x86_64/casum_microk_skylakex-2.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#endif
#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

Expand Down
3 changes: 2 additions & 1 deletion kernel/x86_64/zasum_microk_skylakex-2.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#endif
#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

Expand Down

0 comments on commit 22aa401

Please sign in to comment.