Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

warp-eval

БесплатноЗапускает вложенные скриптыНе проверен

Evaluate whether an existing hot path is a credible NVIDIA Warp candidate. Use for irregular or spatial queries, particle or geometry simulation, branch-heavy…

NVIDIAот NVIDIA★ 4 269 звёзд на GitHub

Об этом скилле

Warp evaluation

Purpose

Collect reproducible evidence about how a narrow seam in an existing codebase would behave in NVIDIA Warp. Report facts; the user decides.

Name Warp as the option under evaluation in the first line, state that no adoption recommendation will follow, and do not treat the triggering performance request as authorization to experiment.

Measured evaluations produce warp-evaluation-report/: the report, one independently applicable diff per solution, the drivers, and raw results. Never modify production code. Exits before measured work create no directory.

Hard rules

These override any local reasoning.

  1. Default objectives are latency, throughput, and peak or retained memory. Count maintainability, ergonomics, packaging, extensibility, autodiff or new functionality only when the user names it; otherwise report them as constraints or costs, not benefits.
  2. Correctness is a gate. If the incumbent is buggy or its contract unclear, abort that comparison until an independent oracle or clarified contract exists. Report the defect without prescribing a response.
  3. Never predict savings from source shape or another workload. Materialized memory comes from profiler or allocator evidence, not source a compiler may fuse.
  4. "It can be written in Warp" is a hypothesis, never a proven opportunity.
  5. Gates are exact, never adjacent or analogous. Fire a gate only when every condition in its definition is established. Gate D requires a maintained implementation confirmed to execute with CUDA on an NVIDIA GPU; a fast native CPU library is a baseline, not Gate D.
  6. Label every claim as observed fact, measurement, hypothesis or unknown.
  7. Time the user-visible stage, not the kernel. Include Warp's cold import/init/JIT in the real process regime, transfers, launches, Python launch loops, structure build/refit, allocation, conversion, validation, compaction and synchronization. Report each cost and the end-to-end difference.
  8. No measured work without explicit authorization. After stage 1, stop and ask before profiling, environment changes, prototyping, benchmarking or GPU use.
  9. Authorized measured work includes Warp. If profiling exposes no gate, continue through the strongest in-project baseline, minimum Warp prototype and end-to-end comparison. If Warp is out of scope, stop before profiling.
  10. Never infer environment intent. NVIDIA deployment and ownership of an optional compiled dependency are product decisions. Abort only on a stated constraint; otherwise ask once and stop (AWAITING INTENT).
  11. Warp measurements are CUDA-only and synchronized. Resolve an explicit NVIDIA CUDA device; discard CPU resolution and dispatch-only timing.
  12. Never recommend or rank adoption options. Report facts, measurements, hypotheses and unknowns per seam and regime.
  13. Stop at the report. No rollout or production edits.

Requirements

Static screening requires the target repository and its stated product constraints. Measured work additionally requires explicit authorization, an NVIDIA CUDA GPU, target-project dependencies and a representative workload.

Limitations

  • Warp CPU kernels are serial and outside this skill's evaluation scope. "Run it on the CPU instead" is not a performance fallback.
  • Mesh and geometry queries compute in float32/int32 even behind a float64 public API. Absolute error grows with coordinate magnitude.
  • Warp does not follow semver. Feature releases can break APIs, only the newest feature line is maintained, deprecations run roughly four monthly releases.
  • latest docs track development, not the shipped release. Pin to the target project's own Warp version; if it has none, use the current stable and say which.
  • Kernel-only builtins are not resolvable from Python — hasattr(wp, "mesh_query_point") is False on a release that has it. Probe the stub file or that version's docs before concluding a builtin is absent.
  • enable_backward=False (kernel, module or global) removes adjoint codegen. If nothing differentiates through the seam, set it before measuring compile cost.

Output Format

State Reached when Report directory
ABORT Any gate establishes that the evaluated seam cannot satisfy the stated scope No if nothing was measured; otherwise preserve the evidence already collected
AWAITING INTENT The environment gates turn on a fact only the user has No — one question, both branches concrete
AWAITING AUTHORIZATION A candidate pattern survives stage 1 No — early findings plus scope/resource preview
INCOMPLETE Authorized work cannot obtain representative evidence required for the scoped evaluation Yes — preserve collected evidence and name the one missing artifact
Report delivered Authorized work produced measurements, or stop
Полный SKILL.md на GitHub

Установить warp-eval в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

BENCHMARK.mdassets/warp-evaluation-report-template.mdconfig/skillspector-baseline.yamlevals/evals.jsonevals/files/gate-a-required-portability/deployment.mdevals/files/gate-a-required-portability/neighbors.pyevals/files/gate-b-unwidenable-host-boundary/architecture.mdevals/files/gate-b-unwidenable-host-boundary/scoring.pyevals/files/gate-c-dense-vendor-lowered/feature_stage.pyevals/files/gate-d-cpu-incumbent-not-cuda/baseline.mdevals/files/gate-d-cpu-incumbent-not-cuda/operation_api.pyevals/files/gate-d-mature-incumbent/baseline.mdevals/files/gate-d-mature-incumbent/contact_api.pyevals/files/gate-e-runtime-obligations-forbidden/candidates.pyevals/files/gate-e-runtime-obligations-forbidden/packaging-policy.mdevals/files/gate-f-immaterial-stage/profile.jsonevals/files/gate-f-immaterial-stage/spatial_filter.pyevals/files/pattern-fused-edge-intermediate/context.mdevals/files/pattern-fused-edge-intermediate/message_passing.pyevals/files/pattern-sequential-recurrence/adaptive_filter.pyevals/files/pattern-sequential-recurrence/context.mdevals/files/proceed-persistent-mesh-query/context.mdevals/files/proceed-persistent-mesh-query/queries.pyreferences/authorization-checkpoint.mdreferences/baselines.mdreferences/benchmark-protocol.mdreferences/evidence-and-reporting.mdreferences/rejection-gates.mdreferences/semantic-contract.mdreferences/target-patterns.mdscripts/driver-template.pyscripts/measure.pyscripts/validate_report_schema.pyskill-card.mdskill.oms.sig

FAQ

Что делает скилл warp-eval?

Evaluate whether an existing hot path is a credible NVIDIA Warp candidate. Use for irregular or spatial queries, particle or geometry simulation, branch-heavy loops, many small launches, host fallbacks, or large intermediates. CPU-only code and absent GPU dependencies are normal unless NVIDIA is prohibited. Exclude required cross-vendor or CPU-only deployment, vendor-lowered dense or NN layers, general Warp API questions, and already-selected Warp kernels. Contribution policy alone is not exclusion.

Как установить скилл warp-eval?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл warp-eval запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить warp-eval с