-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
NEON_DOTPROD missing feature on Apple M1 cpu #23085
Copy link
Copy link
Closed
Labels
Milestone
Description
System Information
OpenCV version: 4.7.0
Operating System / Platform: MacOS Ventura 13.1 (22C65) (run environment)
Compiler & compiler version: Xcode 13 / clang++ (ver 13.0.0.13000029) (build environment)
Run environment: iOS simulator, (not emulation, but could affect)
Detailed description
When starting up some process on an iOS simulator on a M1 mac I get the following:
******************************************************************
* FATAL ERROR: *
* This OpenCV build doesn't support current CPU/HW configuration *
* *
* Use OPENCV_DUMP_CONFIG=1 environment variable for details *
******************************************************************
Required baseline features:
ID=100 (NEON) - OK
ID= 9 (FP16) - OK
ID=101 (NEON_DOTPROD) - NOT AVAILABLE
libc++abi: terminating with uncaught exception of type cv::Exception: OpenCV(4.7.0) /Users/vagrant/git/modules/core/src/system.cpp:718: error: (-215:Assertion failed) Missing support for required CPU baseline features. Check OpenCV build configuration and required CPU/HW setup. in function 'initialize'
terminating with uncaught exception of type cv::Exception: OpenCV(4.7.0) /Users/vagrant/git/modules/core/src/system.cpp:718: error: (-215:Assertion failed) Missing support for required CPU baseline features. Check OpenCV build configuration and required CPU/HW setup. in function 'initialize'
CoreSimulator 857.14 - Device: iPhone 14 Pro (3DB66C5E-562B-4DD2-B13C-48A9D89F02AE) - Runtime: iOS 16.2 (20C52) - DeviceType: iPhone 14 Pro
Steps to reproduce
Running any iOS binary linked to a 4.7.0 OpenCV build would produce this behaviour, I can't really provide a sample code there.
I'll do further tests to refine this issue, in particular with 4.6.0 as I think NEON_DOTPROD was recently introduced.
Let me know if you need anything else.
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)
Reactions are currently unavailable