Repository navigation
fix(macos): app is background-only; ARM INTER_AREA mismatch - #188
Merged
Merged
Conversation
- chimpstackr.spec: set LSBackgroundOnly to False. BUNDLE inherits console=True from the CLI exe in the shared COLLECT, so PyInstaller marked ChimpStackr.app background-only: no Dock icon or menu bar, and the window couldn't come to the front (v0.4.0 DMG). - ocl.py: resize_area fuses the row multiply-add on ARM hosts, like OpenCV's ARM builds do, so it stays bit-exact with cv2.resize there (test_estimation_levels_match_opencv failed on Apple M4). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First run of v0.4.0 on a Mac (MacBook Air M4, macOS 27.0.1, Apple OpenCL).
Fixes
Info.plisthadLSBackgroundOnly = true: no Dock icon, no menu bar, and the window couldn't come to the front. The spec'sBUNDLEinheritsconsole=Truefrom the CLI exe in the sharedCOLLECT, and PyInstaller then writes that key. The spec now sets it toFalse; I checked by patching a copy of the released app.resize_areaagainst ARM OpenCV.test_estimation_levels_match_opencv[0.17]failed on one tie pixel. OpenCV's ARM builds fuse the row multiply-add inresize(INTER_AREA)(the compiler contracts it) and x86 builds don't. The kernel now does the same on ARM hosts (-DHOST_FMA_ROWS): mismatches against ARM cv2 drop from 5203 to 31 of 72 M pixels over 11 images × 10 scales, and every kernel test passes on the M4. x86 (Windows, CI) builds the kernel as before.Mac results
Tests
pytest tests/test_gpu.py -k TestKernelson Apple M4: 18 passed.🤖 Generated with Claude Code