plus< T >

plus< T >#

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

Detailed Description

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

A function to add two values.

Template Parameters
TThe type of the values

Public Member Functions

STDGPU_HOST_DEVICEoperator() (const T &lhs, const T &rhs) const