Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment - 4 How Vector Processors Work: An Example Best to understand a vector processor by looking at a vector loop for RV 6 4

Assignment-4
How Vector Processors Work: An Example Best to understand a vector processor by looking at a vector loop for RV64V. Lets take a typical vector problem, which we use throughout this section:
Y = a X + Y
X and Y are vectors, initially resident in memory, and a is a scalar. This problem is the SAXPY or DAXPY loop that forms the inner loop of the Linpack benchmark (Dongarra et al.,2003).(SAXPY stands for single-precision aX plus Y, and DAXPY for double precision aX plus Y.) Linpack is a collection of linear algebra routines, and the Linpack benchmark consists of routines for performing Gaussian elimination.
For now, let us assume that the number of elements, or length, of a vector register (32) matches the length of the vector operation we are interested in.(This restriction will be lifted shortly.)
Suppose we have 8 memory banks with a bank busy time of 6 clocks and a total memory latency of 12 cycles. How long will it take to complete a 64-element vector load with a stride of 1? With a stride of 32?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What are five different ways imagery can be used by athletes?

Answered: 1 week ago

Question

6. How do histories influence the process of identity formation?

Answered: 1 week ago