summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2022-05-19 18:57:46 +0200
committerGitHub <noreply@github.com>2022-05-19 18:57:46 +0200
commit30df29c0b363add3d6c7c6f55706aacd45397021 (patch)
tree5d1b84d1c733962af520bf8b74263ccee427e884
parenta720e2ca8a1fc03a09e4fcd839b995031e892e65 (diff)
downloadopenblas-30df29c0b363add3d6c7c6f55706aacd45397021.tar.gz
openblas-30df29c0b363add3d6c7c6f55706aacd45397021.tar.bz2
openblas-30df29c0b363add3d6c7c6f55706aacd45397021.zip
Fix compilation
-rw-r--r--cpuid_riscv64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpuid_riscv64.c b/cpuid_riscv64.c
index e50b9bf8c..e4687945f 100644
--- a/cpuid_riscv64.c
+++ b/cpuid_riscv64.c
@@ -100,7 +100,7 @@ int detect(void){
fclose(infile);
- if (strstr(pmodel, check_c910_str) && strchr(p, 'v'))
+ if (strstr(pmodel, check_c910_str) && strchr(pisa, 'v'))
return CPU_C910V;
return CPU_GENERIC;