add-gpu-backend

Scaffold a GPU backend package for libvmaf with build wiring and smoke tests.

3|1|Updated May 28, 2026
One-click install
npx skills add https://github.com/VMAFx/vmafx --skill add-gpu-backend
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-gpu-backend
Source: https://github.com/VMAFx/vmafx/tree/main/.claude/skills/add-gpu-backend
Command: npx skills add https://github.com/VMAFx/vmafx --skill add-gpu-backend

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill removes the repetitive setup work required to add a new GPU backend to this repository, so teams can start from a safe, compiling scaffold instead of wiring everything by hand.

Core Features & Use Cases

  • Backend Scaffolding: Creates the backend source tree, public header, feature kernel stubs, and smoke tests.
  • Build Integration: Patches Meson files and core dispatch points so the backend is wired into libvmaf correctly.
  • CI and Documentation: Adds the workflow and docs stub needed to keep the new backend visible, testable, and maintainable.
  • Use Case: A developer can ask for a new Vulkan, HIP, Metal, OpenCL, or ROCm backend and get a complete starting point that compiles, runs a smoke test, and is ready for iterative implementation.

Quick Start

Ask the skill to scaffold a new lowercase backend named vulkan for libvmaf and include the files, build wiring, and smoke test.

Frequently Asked Questions about add-gpu-backend

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new GPU backend to libvmaf?

Scaffolding a new GPU backend for libvmaf generates the complete implementation package, including the source tree, kernel stubs, Meson build wiring, and smoke tests, ensuring the repository compiles during incremental development.

What is the best way to set up Vulkan or HIP backend scaffolding for libvmaf?

The best way to set up Vulkan or HIP backend scaffolding is to generate a deterministic file structure with build patches and CI coverage, providing a compiling starting point ready for iterative implementation.

Can I use Meson build integration when adding an OpenCL or ROCm backend?

Yes, you can use Meson build integration when adding an OpenCL or ROCm backend, as the scaffolding patches Meson files and core dispatch points to wire the new backend into libvmaf correctly.

Does GPU backend scaffolding include CI and smoke test coverage?

Yes, GPU backend scaffolding includes CI and smoke test coverage by adding workflow files and documentation stubs, keeping the new backend visible, testable, and maintainable within the repository.

Why do I need guardrails for incremental GPU backend development in libvmaf?

You need guardrails for incremental GPU backend development to keep the repository compiling during the process, preventing build failures while you are wiring new backends like Metal by hand.