Question: Consider the following code, which multiplies two vec - tors that contain single - precision complex values: for ( i = 0 ;i < 3
Consider the following code, which multiplies two vec
tors that contain singleprecision complex values:
for i;i;i
crei arei brei aimi bimi;
cimi arei bimiaimi brei;
Assume that the processor runs at MHz and has a maximum vector length of The loadstore unit has a startup overhead of cycles; the multiply unit, cycles; and the add subtract unit, cycles.
aWhat is the arithmetic intensity of this kernel? Justify your answer.
bConvert this loop into RVV assembly code using strip mining.
cAssuming chaining and a single memory pipeline, how many
chimes are required? How many clock cycles are required per complex result
value, including startup overhead
dIf the vector sequence is chained how many clock cycles are
required per complex result value, including overhead?
eNow assume that the processor has three memory pipelines and
chaining. If there are no bank conflicts in the loop's accesses, how many clock
cycles are required per result?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
