Skip to content

OpenVX 1.3.1 Conformance Phase 2#5

Open
simonCatBot wants to merge 8 commits intomasterfrom
fix/openvx-1.3.1-conformance-phase2
Open

OpenVX 1.3.1 Conformance Phase 2#5
simonCatBot wants to merge 8 commits intomasterfrom
fix/openvx-1.3.1-conformance-phase2

Conversation

@simonCatBot
Copy link
Copy Markdown
Owner

Work in progress for OpenVX 1.3.1 conformance.

Status:

  • Baseline: 24/24 passing ✅
  • ColorConvert: 14/56 passing (needs work)
  • Filters: All passing ✅

Changes:

  • Fixed vxMapArrayRange memory bug
  • Agent fixes for color conversions
  • VXU arithmetic improvements

Kiriti added 8 commits April 12, 2026 15:33
- Was passing null as kernel, causing Graph.VirtualArray test to fail
- Now looks up kernel by name and properly sets parameters
- vxFastCornersNode: Was passing null kernel, now looks up kernel by name
- vxOpticalFlowPyrLKNode: Fixed parameter count to match kernel registration

Graph.VirtualArray still failing on user kernel lookup (vxAddUserKernel)
- vxFastCornersNode: Now uses proper kernel lookup
- vxOpticalFlowPyrLKNode: Fixed parameter count to 7 params
- vxAddUserKernel: Now registers kernel in REFERENCE_TYPES as VX_TYPE_KERNEL
- Removed debug eprintln! statements from execute_node
The mapped data pointer was being returned from a local Vec that gets
dropped at the end of the function. Fixed by getting the pointer
BEFORE moving the Vec into the HashMap.

Also cleaned up vxUnmapArrayRange to avoid unsafe memory reconstruction.
- vxFastCornersNode: Now looks up kernel by name
- vxOpticalFlowPyrLKNode: Fixed parameter count to 7
- vxAddUserKernel: Now registers with VX_TYPE_KERNEL type
- vxGetParameterByIndex: Now syncs with node's parameters
- dispatch_kernel_with_border: Added stub for user kernels
- Removed debug eprintln! statements

Remaining: User kernel execution needs kernel callback field in VxCUserKernel
- VXU arithmetic operations fixes
- Image operation improvements
- Color conversion enhancements (NV21, packed YUV support)

Work in progress from multi-agent conformance effort.
- Added kernel function field to VxCUserKernel struct
- Fixed vxAddUserKernel to accept kernel execution function
- Made USER_KERNELS and VxCUserKernel fields public for access from c_api
- vxCreateGenericNode now checks USER_KERNELS for num_params

Graph.VirtualArray still failing - parameter 2 not being set correctly
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