mbarrier.arrive GPU Virtual ISA NVIDIA
mbarrier.arrive Parallel Synchronization and Communication Instructions
mbarrier.arrive{.sem.scope}{.shared{::cta}}.b64 state, [addr]{, count};
A thread executing mbarrier.arrive performs an arrive-on operation on the mbarrier object at the location specified by the address operand addr. The 3
Encoding
PTX is a virtual instruction set. It has no single, stable native
binary encoding - the compiler lowers this instruction to different native machine
code depending on the selected NVIDIA target architecture (compute capability).
This page intentionally shows no bit-diagram; see the target/version requirements
below for what governs how this instruction compiles.
Syntax Forms
One mnemonic covers many type / state-space / scope / modifier combinations - each row below is an independently valid form.
| Syntax | Data Types | State Space(s) | Modifiers | Min. Target | Description |
|---|---|---|---|---|---|
| mbarrier.arrive{.sem.scope}{.shared{::cta}}.b64 state, [addr]{, count}; | sm_80 | A thread executing mbarrier.arrive performs an arrive-on operation on the mbarrier object at the location specified by the address operand addr. (see the official PTX ISA docs for the full description) |
Operands
At a Glance
Related
More in Parallel Synchronization and Communication Instructions
Reference
NVIDIA PTX ISA
Description
A thread executing mbarrier.arrive performs an arrive-on operation
on the mbarrier object at the location specified by the address operand addr. The 32-bit
unsigned integer operand count specifies the count argument to the arrive-on operation.
If no state space is specified then Generic Addressing is
used. If the address specified by addr does not fall within the address window of.shared::cta state space then the behavior is undefined.
Supported addressing modes for operand addr is as described in Addresses as Operands.
Alignment for operand addr is as described in the Size and alignment of mbarrier object.
The optional qualifier. (see the official PTX ISA docs for the full description)
Examples
.reg .b32 cnt, remoteAddr32, remoteCTAId, addr32;
.reg .b64 %r<5>, addr, remoteAddr64;
.shared .b64 shMem, shMem2;
cvta.shared.u64 addr, shMem2;
mov.b32 addr32, shMem2;
// (truncated - see the official PTX ISA docs for the full example)Reproduced from NVIDIA's official PTX ISA documentation for technical accuracy.
Sources
-
Parallel Thread Execution ISA ↗
- NVIDIA Corporation, Chapter 9 - Instruction Set
Deep-linked directly to this instruction's section.