Feature/userqpu kernel test - #53
Open
cutsea110 wants to merge 2 commits into
Open
Conversation
- Raise cmake_minimum_required from 3.0 to 3.10: CMake 4.x removed compatibility with <3.5 and errors out at configure time. - Add an AArch64 branch for the CPU flags: -mfloat-abi/-mfpu are 32-bit ARM options and are rejected by the aarch64 compiler. - Declare exit_handler as extern in local/error.h: GCC 10+ defaults to -fno-common, so the tentative definition in the header caused multiple-definition link errors. Verified on Raspberry Pi OS trixie (arm64, GCC 14 / CMake 3.31) on a Pi 3B+ and with CMake 4.3 on x86_64. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Runs scopy/vsAbs/sgemm repeatedly against the patched kernel's
EXECUTE_QPU path with output-based pass/fail judgement (the test
binaries always exit 0), hang detection via timeout(1), a v3d runtime
PM check (verifies the refcount-leak fix: runtime_status must return
to 'suspended' after jobs), and a dmesg scan for vc4/v3d errors.
Usage on the target Pi (Zero 2 / 2 / 3, patched kernel, vc4-kms-v3d):
sudo test/userqpu-kernel-test.sh [iterations]
Co-Authored-By: Claude Fable 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.
PBI: OS5対応:タスク洗い出し
ref.) https://github.com/Idein/linux/tree/patched/stable_20260609