mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
13056b3af5
Now that we have the functions in `vtkm/Atomic.h`, we can deprecate (and eventually remove) the more cumbersome classes `AtomicInterfaceControl` and `AtomicInterfaceExecution`. Also reversed the order of the `expected` and `desired` parameters of `vtkm::AtomicCompareAndSwap`. I think the former order makes more sense and matches more other implementations (such as `std::atomic` and the GCC `__atomic` built ins). However, there are still some non-deprecated classes with similar methods that cannot easily be switched. Thus, it's better to be inconsistent with most other libraries and consistent with ourself than to be inconsitent with ourself. |
||
---|---|---|
.. | ||
internal | ||
testing | ||
ChooseCudaDevice.h | ||
CMakeLists.txt | ||
DeviceAdapterCuda.h | ||
ErrorCuda.h |