From dc68a48ddd86951fbf4d01ffa45a7d4437b2a5d3 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 6 Dec 2024 12:00:10 +0100 Subject: [PATCH] Include v0p10 header when compiling RVV0.x code with the T-Head toolchain --- common_riscv64.h | 1 + 1 file changed, 1 insertion(+) diff --git a/common_riscv64.h b/common_riscv64.h index ba638e8be5..2e27d4c87c 100644 --- a/common_riscv64.h +++ b/common_riscv64.h @@ -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 #else #define RISCV_RVV(x) __riscv_ ## x #endif