Crate caffe2op_atomics
source ·Structs
- | Given a mutex and two int32 scalar tensors, | performs an atomic fetch add by mutating | the first argument and adding it to the | second input argument. | | Returns the updated integer and the | value prior to the update. |
- | Copy the value of an atomic
to | a bool | - | Set an atomic
to true if the given | condition bool variable is true | - | Create an unique_ptr blob to hold an | atomic
| - | Creates an unlocked mutex and returns | it in a unique_ptr blob. |