triton.experimental.gluon.language.amd.cdna5.async_copy.shared_to_global
- triton.experimental.gluon.language.amd.cdna5.async_copy.shared_to_global(pointer, smem, mask=None, cache_modifier='', *, scope=None, cache_policy=None, _semantic=None)
Asynchronously copy elements from shared memory to global memory.
Requires manual synchronization via
wait_group()before accessing the stored data.- Parameters:
pointer (tensor) – Destination pointer tensor.
smem (shared_memory_descriptor) – Source shared memory descriptor.
mask (tensor, optional) – Mask tensor for predicated stores. Defaults to None.
cache_modifier (str) – Cache modifier specifier. Defaults to “”. Deprecated, use
scopeandcache_policyinstead.scope (str, optional) –
"cta","gpu"or"sys". The store makes its data available at that scope. It is not atomic and orders no other memory operation. Cannot be combined withcache_modifier. Defaults to None.cache_policy (
CachePolicy, optional) – Cache hints. Cannot be combined withcache_modifier. Defaults to None.