Script.atomic.global_scatter_sub¶
- Script.atomic.global_scatter_sub(dst, *, dim, indices, values, sem='relaxed', scope='gpu', output=None)[source]¶
Scatter-sub into a global tile along
dim; lowered toatom.addwith a negated value.See
shared_scatter_add()for the parameter description.Notes
Thread group: Can be executed by any sized thread group.
Hardware: Requires compute capability 7.0+ (sm_70).
PTX:
atom.{sem}.{scope}.global.add.s32with a negated input.
- Parameters:
dst (GlobalTensor)
dim (int)
indices (RegisterTensor)
values (RegisterTensor)
sem (str)
scope (str)
output (RegisterTensor | None)
- Return type:
RegisterTensor | None