thrust::operator<<

Defined in thrust/device_ptr.h

template<typename T, typename CharT, typename Traits>
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
  • os – The output stream.

  • dp – The device_ptr to output.

Returns

os.