Browse Source

nvc currently miscompiles this, hopefully fixed in release 23.09

tags/v0.3.24
Martin Kroeker GitHub 2 years ago
parent
commit
fe54ee3d15
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      kernel/x86_64/casum_microk_skylakex-2.c

+ 4
- 1
kernel/x86_64/casum_microk_skylakex-2.c View File

@@ -2,7 +2,9 @@
#ifdef __NVCOMPILER
#define NVCOMPVERS ( __NVCOMPILER_MAJOR__ * 100 + __NVCOMPILER_MINOR__ )
#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_CASUM_KERNEL 1

@@ -350,3 +352,4 @@ static FLOAT casum_kernel(BLASLONG n, FLOAT *x)
return sumf;
}
#endif
#endif

Loading…
Cancel
Save