Skip to content

Commit

Permalink
c906 hack
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Dec 3, 2024
1 parent 6aed213 commit 37be473
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2751,6 +2751,9 @@ int cpu_support_riscv_xtheadvector()

int cpu_riscv_vlenb()
{
#if C906
return 16;
#endif
try_initialize_global_cpu_info();
#if __riscv
if (!cpu_support_riscv_v())
Expand Down

0 comments on commit 37be473

Please sign in to comment.