Question: The following kernel performs a portion of the finitedifference 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 finitedifference time-domain (FDTD) method for computing Maxwells equations in a three-dimensional space, part of one of the SPEC06fp benchmarks: for (int x=0; x0 && x >0) { material = IDx[index]; dH1 = (Hz[index] Hz[index-incrementY])/dy[y]; dH2 = (Hy[index] Hy[index-incrementZ])/dz[z]; Ex[index] = Ca[material]*Ex[index]+Cb[material]*(dH2-dH1); }}}} Assume that dH1, dH2, Hy, Hz, dy, dz, Ca, Cb, and Ex are all single-precision floating-point arrays. Assume IDx is an array of unsigned int. a. [10] <4.3> What is the arithmetic intensity of this kernel? b. [10] <4.3> Is this kernel amenable to vector or SIMD execution? Why or why not?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!