From caaabca12336212d90678f70c565d1cc145a2e8f Mon Sep 17 00:00:00 2001 From: kaingwade Date: Mon, 3 Aug 2026 10:54:36 +0800 Subject: [PATCH] Update T-Head RVV check --- cmake/checks/cpu_rvv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/checks/cpu_rvv.cpp b/cmake/checks/cpu_rvv.cpp index 187f39866a..01533ddfc5 100644 --- a/cmake/checks/cpu_rvv.cpp +++ b/cmake/checks/cpu_rvv.cpp @@ -10,7 +10,7 @@ #include -#ifdef __THEAD_VERSION__ +#if defined(__THEAD_VERSION__) && (defined(__riscv_v) && __riscv_v == 7000) int test() { const float src[] = { 0.0f, 0.0f, 0.0f, 0.0f };