s_barrier GPU Native ISA AMD Scalar
S BARRIER Barriers
s_barrier
Synchronize all waves of the executing workgroup at this point.
Encoding
Verified bit-level encoding data is not yet available for this instruction.
The instruction-format classification below (SOPP)
is well-documented and stable; exact per-target opcode/field bit positions have not
yet been imported from a verified source.
Operands
GFX Target Compatibility
| Target | Support |
|---|---|
| gfx942 | ✅ Supported |
| gfx1100 | ✅ Supported |
Related PTX Concepts
Reference
AMDGPU / GFX ISA
Semantics
Every wave belonging to the workgroup blocks until all waves of that workgroup have executed s_barrier.
Sources
- ROCm Documentation ↗ — Advanced Micro Devices, Inc.
- User Guide for AMDGPU Backend ↗ — LLVM Project