ncnn icon indicating copy to clipboard operation
ncnn copied to clipboard

Support NCNN_ISA environment variable detection

Open inspireMeNow opened this issue 1 year ago • 2 comments
trafficstars

Changes:

  • Implemented get_isa_env function to retrieve and parse ISA flags from the environment variable.
  • Added environment detection tests to CMake configuration, setting ISA env flags based on the system architecture.

Signed-off-by: Kaiyao Duan [email protected]

inspireMeNow avatar Sep 09 '24 08:09 inspireMeNow

Codecov Report

Attention: Patch coverage is 28.57143% with 45 lines in your changes missing coverage. Please review.

Project coverage is 95.82%. Comparing base (8998a13) to head (07a7892). Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/cpu.cpp 28.57% 45 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5687      +/-   ##
==========================================
- Coverage   95.82%   95.82%   -0.01%     
==========================================
  Files         829      826       -3     
  Lines      270644   270140     -504     
==========================================
- Hits       259353   258867     -486     
+ Misses      11291    11273      -18     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Oct 08 '24 09:10 codecov-commenter

The binary size change of libncnn.so (bytes)

architecture base size pr size difference
x86_64 16483752 16484400 +648 :warning:
armhf 7364300 7364516 +216 :warning:
aarch64 10712792 10779464 +66672 :warning:

github-actions[bot] avatar Jun 11 '25 11:06 github-actions[bot]