nvc currently miscompiles this, hopefully fixed in release 23.09
This commit is contained in:
parent
fe54ee3d15
commit
9f6847583a
|
@ -2,8 +2,9 @@
|
||||||
#ifdef __NVCOMPILER
|
#ifdef __NVCOMPILER
|
||||||
#define NVCOMPVERS ( __NVCOMPILER_MAJOR__ * 100 + __NVCOMPILER_MINOR__ )
|
#define NVCOMPVERS ( __NVCOMPILER_MAJOR__ * 100 + __NVCOMPILER_MINOR__ )
|
||||||
#endif
|
#endif
|
||||||
#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && __clang_major__ >= 9)) || (defined(__NVCOMPILER) && NVCOMPVERS >= 2203 )
|
#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && __clang_major__ >= 9)) || (defined(__NVCOMPILER) && NVCOMPVERS >= 2309 )
|
||||||
|
|
||||||
|
#if (!(defined(__NVCOMPILER) && NVCOMPVERS < 2309))
|
||||||
|
|
||||||
#define HAVE_ZASUM_KERNEL 1
|
#define HAVE_ZASUM_KERNEL 1
|
||||||
|
|
||||||
|
@ -342,3 +343,4 @@ static FLOAT zasum_kernel(BLASLONG n, FLOAT *x)
|
||||||
return sumf;
|
return sumf;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue