valid

valid#

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

◆ valid() [1/2]

template<typename Block = mutex_default_type, typename Allocator = safe_device_allocator<Block>>
bool stdgpu::mutex_array< Block, Allocator >::valid ( ) const

Checks if the object is in valid state.

Returns
True if the state is valid, false otherwise