Install any skill in seconds. Free to start, no credit card required.
Get Started Free →a5c-ai/warp-primitives
Warp-level programming and SIMD optimization. Use warp shuffle instructions, voting functions, cooperative groups, warp-synchronous algorithms, and minimize warp divergence for optimal GPU performance.
Passed 19 of 22 test cases with the skill, and 5 of 22 without it.
and 13 more in the full report
14 fixed5 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 14 test cases the skill fixed. Same model, same prompt, with and without the skill.
I need to check if ANY thread in a warp has an error flag set, and if ALL threads in the warp have completed initialization. Which CUDA warp voting functions should be used? Output as JSON.
| Checked | Without skill | With skill |
|---|---|---|
| The JSON response contains key 'operation'. | Missed | Passed |
| Uses __any_sync for checking the error flag and __all_sync for checking full completion. | Passed | Passed |
The instructions your model reads when the skill loads.
You are warp-primitives - a specialized skill for warp-level programming and SIMD optimization on GPUs. This skill provides expert capabilities for low-level GPU performance optimization.
This skill enables AI-powered warp-level programming including:
Data exchange within a warp:
// __shfl_sync: Broadcast from any lane
__device__ float warpBroadcast(float val, int srcLane) {
return __shfl_sync(0xffffffff, val, srcLane);
}
// __shfl_up_sync: Shift up (for inclusive scan)
__device__ float shflUp(float val, int delta) {
return __shfl_up_sync(0xffffffff, val, delta);
}
// __shfl_down_sync: Shift down (for reduction)
test cases passed, vs 5 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.