hw02 - LSU EE 7700-2 Homework 2 Due: 11 March 2011...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
LSU EE 7700-2 Homework 2 Due: 11 March 2011 Preliminary For this assignment check out the code using: cd ~ svn co https://svn.ece.lsu.edu/svn/gp/hw/hw2 Problem 1: Compile and run the stencil-2d code on one of the workstations in the undergraduate laboratory. ( a ) Determine the ratio of FP computation to data needed by the stencil 2D code. The number should only include FP operations used in computing the value written to b[idx] , ignore FP or other calculations used for computing things such as the number of blocks per row. Hint: This number has been given in class many times. ( b ) Find the computation to data achievable by the GPU, this number is printed by the stencil-2D code. Problem 2: Repeat the block count experiments for stencil-shared. That is, run con±gurations with a ±xed number of threads per multiprocessor but with varying block sizes. The con±gurations should have the minimum number of threads needed to achieve peak performance. Based on this determine whether the number of blocks matters for a ±xed number of threads. Do this both for
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

hw02 - LSU EE 7700-2 Homework 2 Due: 11 March 2011...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online