thrust

◆ operator=() [2/2]

template<typename T>
__host__ __device__ device_reference& thrust::device_reference< T >::operator= ( const value_type x)

Assignment operator assigns the value of the given value to the value referenced by this device_reference.

Parameters
xThe value to assign from.
Returns
*this