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.
Profile →npx skills add a5c-ai/babysitter --skill warp-primitives --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# warp-primitives 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. ## Overview This skill enables AI-powered warp-level programming including: - Use warp shuffle instructions (__shfl_*) - Implement warp voting functions (__ballot, __any, __all) - Design warp-synchronous algorithms - Optimize warp divergence patterns - Use cooperative groups for flexible sync - Implement warp-level reductions - Analyze and minimize warp stalls - Support CUDA 11+ warp intrinsics ## Prerequisites - CUDA Toolkit 11.0+ - GPU with compute capability 3.0+ - Understanding of SIMT execution model ## Capabilities ### 1. Warp Shuffle Instructions Data exchange within a warp: ```cuda // __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) __device__ float shflDown(float val, int delta) { retu
- Overview
- Prerequisites
- Capabilities
- 1. Warp Shuffle Instructions
- 2. Warp Voting Functions
- 3. Cooperative Groups
- 4. Warp Divergence Optimization
- 5. Warp-Synchronous Programming
- 6. Warp-Level Matrix Operations
- 7. Warp Stall Analysis
- Process Integration
- Output Format
- Dependencies
- Constraints
What does the warp-primitives skill do?
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.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill warp-primitives --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.