Skip to content

Commit 9f68475

Browse files
authored
nvc currently miscompiles this, hopefully fixed in release 23.09
1 parent fe54ee3 commit 9f68475

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kernel/x86_64/zasum_microk_skylakex-2.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
#ifdef __NVCOMPILER
33
#define NVCOMPVERS ( __NVCOMPILER_MAJOR__ * 100 + __NVCOMPILER_MINOR__ )
44
#endif
5-
#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && __clang_major__ >= 9)) || (defined(__NVCOMPILER) && NVCOMPVERS >= 2203 )
5+
#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && __clang_major__ >= 9)) || (defined(__NVCOMPILER) && NVCOMPVERS >= 2309 )
66

7+
#if (!(defined(__NVCOMPILER) && NVCOMPVERS < 2309))
78

89
#define HAVE_ZASUM_KERNEL 1
910

@@ -342,3 +343,4 @@ static FLOAT zasum_kernel(BLASLONG n, FLOAT *x)
342343
return sumf;
343344
}
344345
#endif
346+
#endif

0 commit comments

Comments
 (0)