15.08.2012 Views

Introduction to CUDA C

Introduction to CUDA C

Introduction to CUDA C

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Multiblock Dot Product: Algorithm<br />

� And then contributes its sum <strong>to</strong> the final result:<br />

Block 0<br />

a b<br />

a 0<br />

a 1<br />

a 2<br />

a 3<br />

…<br />

*<br />

*<br />

*<br />

*<br />

b 0<br />

b 1<br />

b 2<br />

b 3<br />

Block 1<br />

a b<br />

a 512<br />

a 513<br />

a 514<br />

a 515<br />

…<br />

*<br />

*<br />

*<br />

*<br />

…<br />

b 512<br />

b 513<br />

b 514<br />

b 515<br />

…<br />

+<br />

+<br />

sum<br />

sum<br />

c

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

Saved successfully!

Ooh no, something went wrong!