Machine-translated by Google. Questions are authored in English.
Top

Discussion

Software pipelining is a scheduling technique that

  • A.moves the loop invariant code right out of the loop body
  • B.unrolls the loop by a fixed constant factor
  • C.converts the loop into a recursive procedure
  • D.overlaps instructions from successive loop iterations

Answer: D

Correct answer: overlaps instructions from successive loop iterations

Software pipelining starts the next iteration before the current one has finished, so the long-latency operations of one iteration overlap the work of another. The result is a steady-state kernel with a prologue and epilogue, and it keeps a deep pipeline full where simple unrolling would not.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.