atomic_is_lock_free

atomic_is_lock_free#

stdgpu: stdgpu::atomic_is_lock_free
stdgpu Latest
Efficient STL-like Data Structures on the GPU

◆ atomic_is_lock_free()

template<typename T , typename Allocator >
STDGPU_HOST_DEVICE bool stdgpu::atomic_is_lock_free ( const atomic< T, Allocator > *  obj)
noexcept

Checks whether the atomic operations are lock-free.

Parameters
[in]objThe atomic object
Returns
True if the operations are lock-free, false otherwise