High-Productivity CUDA Development with the Thrust Template ...
High-Productivity CUDA Development with the Thrust Template ...
High-Productivity CUDA Development with the Thrust Template ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Diving In<br />
#include <br />
#include <br />
#include <br />
#include <br />
int main(void)<br />
{<br />
// generate 32M random numbers on <strong>the</strong> host<br />
thrust::host_vector h_vec(32