compare_exchange_weak#
stdgpu Latest
Efficient STL-like Data Structures on the GPU
|
◆ compare_exchange_weak()
template<typename T , typename Allocator = safe_device_allocator<T>>
Atomically compares the current value with the given value and exchanges it with the desired one in case the both values are equal.
|
Generated by 1.9.6