Skip to content

Feature/userqpu kernel test - #53

Open
cutsea110 wants to merge 2 commits into
masterfrom
feature/userqpu-kernel-test
Open

Feature/userqpu kernel test#53
cutsea110 wants to merge 2 commits into
masterfrom
feature/userqpu-kernel-test

Conversation

@cutsea110

@cutsea110 cutsea110 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

PBI: OS5対応:タスク洗い出し

  • OS5 (trixie) 対応で linux kernel 6.18.34 に対して patch を当てたものに対してテストを行うためテスト追加とビルドのため修正しました。

ref.) https://github.com/Idein/linux/tree/patched/stable_20260609

cutsea110 and others added 2 commits July 14, 2026 16:52
- 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>
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