triton.language.atomic_xor¶
- triton.language.atomic_xor(pointer, val, mask=None)¶
Performs an atomic logical xor at the memory location specified by
pointer
.Return the data stored at
pointer
before the atomic operation.- Parameters
pointer (Block of dtype=triton.PointerDType) – The memory locations to apply logical xor.
val (Block of dtype=`pointer.dtype.element_ty`) – The values to logical xor in the atomic object.
mask (Block of triton.int1, optional) – If mask[idx] is false, do not apply logical xor.