cupyx.jit.atomic_min#
- cupyx.jit.atomic_min(array, index, value, alt_value=None) = <cupyx.jit function>#
Calls the
atomicMinfunction to operate atomically onarray[index]. Please refer to Atomic Functions for detailed explanation.- Parameters:
array – A
cupy.ndarrayto index over.index – A valid index such that the address to the corresponding array element
array[index]can be computed.value – Represent the value to use for the specified operation. For the case of
atomic_cas, this is the value forarray[index]to compare with.alt_value – Only used in
atomic_casto represent the value to swap to.