logical_and< T >

logical_and< T >#

stdgpu: stdgpu::logical_and< T >
stdgpu Latest
Efficient STL-like Data Structures on the GPU

Detailed Description

template<typename T = void>
struct stdgpu::logical_and< T >

A function to perform logical AND on two values.

Template Parameters
TThe type of the values

Public Member Functions

STDGPU_HOST_DEVICE bool operator() (const T &lhs, const T &rhs) const