Thrust

◆ operator<<() [1/3]

template<typename T , typename CharT , typename Traits >
__host__ std::basic_ostream<CharT, Traits>& thrust::operator<< ( std::basic_ostream< CharT, Traits > &  os,
device_ptr< T > const &  dp 
)

Write the address that a device_ptr points to to an output stream.

Parameters
osThe output stream.
dpThe device_ptr to output.
Returns
os.