Question: The following kernel performs a portion of the finite-difference time-domain (FDTD) method for computing Maxwells equations in a three-dimensional space, part of one of the

The following kernel performs a portion of the finite-difference time-domain (FDTD) method for computing Maxwell’s equations in a three-dimensional space, part of one of the SPEC06fp benchmarks:

for (int x=0; x

Assume that dH1, dH2, Hy, Hz, dy, dz, Ca, Cb, and Ex are all singleprecision floating-point arrays. Assume IDx is an array of unsigned int.

a. What is the arithmetic intensity of this kernel?

b. Is this kernel amenable to vector or SIMD execution? Why or why not?

c. Assume this kernel is to be executed on a processor that has 30 GB/s of memory bandwidth. Will this kernel be memory bound or compute bound?

d. Develop a roofline model for this processor, assuming it has a peak computational throughput of 85 GFLOP/s.

for (int x=0; x

Step by Step Solution

3.35 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a To calculate the arithmetic intensity of this kernel we need to determine the ratio of floatingpoint operations FLOPs to the bytes accessed from memory The arithmetic intensity is expressed in FLOPs ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Architecture Questions!