12.01.2013 Views

High-Productivity CUDA Development with the Thrust Template ...

High-Productivity CUDA Development with the Thrust Template ...

High-Productivity CUDA Development with the Thrust Template ...

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!