9.7.10.13. Data Movement and Conversion Instructions: multimem.st.async
multimem.st.async
Perform asynchronous store with release ordering on the multimem address.
Syntax
ptx
multimem.st.async.sem.scope{.ss}.type [a], b;
.sem = { .release };
.scope = { .gpu, .sys };
.ss = { .global };
.type = { .b8, .b16, .b32, .b64,
.u8, .u16, .u32, .u64,
.s8, .s16, .s32, .s64,
.f32, .f64 };Description
multimem.st.async is a non-blocking instruction which initiates an asynchronous store operation that stores the value specified by source operand b to the memory locations residing on each GPU's memory referred to by the destination multimem address operand a.
Address operand a must be a multimem address. Otherwise, the behavior is undefined.
Operands
ais a destination address, and must be either a register, or of the formregister + immOff, as described in Addresses as Operands.bis a source value, of the type indicated by qualifier.type.
Qualifiers
- The mandatory
.semmodifier specifies the memory ordering semantics as described in the Memory Consistency Model. - The mandatory
.scopemodifier specifies the set of threads with which this instruction can directly synchronize. The store operation here is a strong memory operation with.releasesemantics at the scope specified by.scope. .ssspecifies the state space of the destination operanda. If.ssis specified, it must be.global. If.ssis not specified, Generic Addressing is used for operanda. If the generic address specified does not fall within the address window of.globalstate space, the behavior is undefined..typespecifies the type of the source operandb.
PTX ISA Notes
Introduced in PTX ISA version 9.3.
Target ISA Notes
Requires architecture sm_100 or higher.
Examples
ptx
// Release store to multimem address, GPU scope, explicit .global state space.
multimem.st.async.release.gpu.global.u32 [mm_addr], src_u32;
// Release store, system scope, generic addressing for multimem operand.
multimem.st.async.release.sys.f64 [mm_addr], src_f64;