Syllabus Topic: - Vector Processing - Vector Processor
Syllabus Topic: - Vector Processing - Vector Processor
• Vector Processing
• Vector Processor
Loosely Coupled Systems
Tightly Coupled Systems
Vector Processing
What is a vector?
A vector is an ordered set of one dimensional
array of data items.
A vector V of length N is represented as
V=[V1,V2…….VN]. An element of Vector V is
represented by V[I] where I is the index which
refers to the memory location or register
where the Ith element is stored.
• Suppose there are two vectors V1 and V2 containing
100 elements each. And suppose we need to add
these vectors to form another Vector V. The
algorithm required will be as
Integer I = 0
While I < 100
Begin
read V1[I]
read V2[I]
V[I]=V1[I]+ V2[I]
I=I+1
End While
• A computer capable of vector processing eliminates
the overhead associated with the time to fetch and
execute the instruction in the program loop. It
allows operations to be specified with a single
vector instruction form
• V(1:100)= V1(1:100) + V2(1:100)
The vector instruction includes the initial address of
the operands , the length of the vectors, and the
operation to be performed, all in one composite
instruction.
Vector processors are extensively pipelined
architectures designed to operate on array-
oriented data.