Skip to content

Commit

Permalink
disable rvv dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Aug 26, 2024
1 parent 9117c40 commit 2463454
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
7 changes: 0 additions & 7 deletions src/layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -546,13 +546,6 @@ Layer* create_layer_cpu(int index)
}
else
#endif // NCNN_RUNTIME_CPU && NCNN_MSA
#if NCNN_RUNTIME_CPU && NCNN_RVV
if (ncnn::cpu_support_riscv_v())
{
layer_creator = layer_registry_rvv[index].creator;
}
else
#endif // NCNN_RUNTIME_CPU && NCNN_RVV
{
layer_creator = layer_registry_arch[index].creator;
}
Expand Down
6 changes: 0 additions & 6 deletions src/layer_registry.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ static const layer_registry_entry layer_registry_lsx[] = {
};
#endif // NCNN_RUNTIME_CPU && NCNN_LSX

#if NCNN_RUNTIME_CPU && NCNN_RVV
static const layer_registry_entry layer_registry_rvv[] = {
@layer_registry_rvv@
};
#endif // NCNN_RUNTIME_CPU && NCNN_RVV

#if NCNN_VULKAN
static const layer_registry_entry layer_registry_vulkan[] = {
@layer_registry_vulkan@
Expand Down

0 comments on commit 2463454

Please sign in to comment.