s_of_a_buffer_vector_on_the_gpu_">How
      can I print out the contents of a buffer/vector on the GPU?</a>
    </h4>
<p>
      This can be accompilshed easily using the generic boost::compute::copy() algorithm
      along with std::ostream_iterator&lt;T&gt;. For example:
    </p>
<p>
</p>
<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">cout</span> <span class="special">&lt;&lt;</span> <span class="string">"vector: [ "</span><span class=