Browse Source

Include v0p10 header when compiling RVV0.x code with the T-Head toolchain

pull/5010/head
Martin Kroeker GitHub 1 year ago
parent
commit
dc68a48ddd
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      common_riscv64.h

+ 1
- 0
common_riscv64.h View File

@@ -97,6 +97,7 @@ static inline int blas_quickdivide(blasint x, blasint y){
// t-head toolchain uses obsolete rvv intrinsics, can't build for C910V without this
#define RISCV_0p10_INTRINSICS
#define RISCV_RVV(x) x
#include <riscv_vector_v0p10_non_policy_common.h>
#else
#define RISCV_RVV(x) __riscv_ ## x
#endif


Loading…
Cancel
Save