Skip to content

[CPU:Bugfix] fix the failure caused by missing headfiles#4586

Closed
Sherlockzhangjinge wants to merge 1 commit into
alibaba:masterfrom
Sherlockzhangjinge:RVV/Bugfix
Closed

[CPU:Bugfix] fix the failure caused by missing headfiles#4586
Sherlockzhangjinge wants to merge 1 commit into
alibaba:masterfrom
Sherlockzhangjinge:RVV/Bugfix

Conversation

@Sherlockzhangjinge

Copy link
Copy Markdown
Contributor

Description

This bugfix solved the failure error: use of undeclared identifier 'UP_DIV' and error: use of undeclared identifier 'MNN_ASSERT' in source/backend/cpu/riscv/rvv/MNNPackedMatMulRemainFP32.cpp and error: use of undeclared identifier 'ROUND_UP' in source/backend/cpu/riscv/rvv/MNNPackForMatMul_B.cpp
All of these error are caused by missing headfile: marco.h. They are solved by add #include "../../compute/Int8FunctionsOpt.h"

Module

Type

  • Feature
  • Bugfix
  • Perf
  • Refact
  • Style
  • Doc
  • Test
  • Chore

Checklist

  • Commit message follows [Module:Type] Description format
  • Code compiles without errors
  • Tested on relevant platform(s)
  • No unrelated format or style changes included

Signed-off-by: Sherlockzhangjinge <zjgzhangjinge@outlook.com>

Signed-off-by: lyd1992 <liuyudong@iscas.ac.cn>

Co-authored-by: YuanSheng <yuansheng@isrc.iscas.ac.cn>
@Sherlockzhangjinge
Sherlockzhangjinge deleted the RVV/Bugfix branch July 7, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant