You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DeviceMacroProperty has operator overloading for + and - which is incorrect within the API docs as it suggests that this atomically modifies the value (it does not). We should add support for atomic add and sub (sub should use add but negate the value to avoid type restrictions). Both should have return values. We should also update the API docs so they are correct and update the user docs to make it clear which operators modify the value (i.e. -= and += are atomic).
The text was updated successfully, but these errors were encountered:
DeviceMacroProperty
has operator overloading for+
and-
which is incorrect within the API docs as it suggests that this atomically modifies the value (it does not). We should add support for atomicadd
andsub
(sub should useadd
but negate the value to avoid type restrictions). Both should have return values. We should also update the API docs so they are correct and update the user docs to make it clear which operators modify the value (i.e.-=
and+=
are atomic).The text was updated successfully, but these errors were encountered: