Vector Processing. Ben Helmer Matt Sagerstrand Daniel Yingling. EARLY VECTOR PROCESSING. Vector Processing was used in supercomputers of the 1970's.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Rather than leaving the vector instructions in memory (as did the ASC and Cyber 100), the Cray-1 used sixty-four 64-bit "vector registers" for its Vector Processing.THE CRAY-1
Cray continued its dominance of the Vector Processing field with its Cray-2, Cray X-MP, and Cray Y-MP computers.LATER VECTOR PROCESSING
Elements of Vector Processing are now common to most home PC's, though they are now referred to as SIMD (Single Instruction, Multiple Data).
SIMD implementations generally run beside the main, scalar CPU and are only used when necessary.LATER VECTOR PROCESSING (Cont’d)
do 5 i = 1, n
X(i) = Y(i) + Z(i)
T = s + aN
s = startup time
a = an instruction dependent constant (which is usually
either 1/2, 1, or 2)
N = the length of the vector
v0 = v1 * v2
v3 = v2 * v4
Speedup(a,T) = -----------------
a + (1 - a) / T
a = the non-vectorizable portion of the program
T = number of times the vector execution is faster than the sequential execution
The picture to the left shows the development of the Fifth Element, which used graphics exploiting vector processing.Implementation in Multimedia
X * Y = Z, where X, Y, and Z are 100- value vectors (arrays of size 100).
DO 10 I = 1, 100
Z(I) = X(I) * Y(I)
VLOAD Y VR2 //loading Y into VR2, a vector register
VMULT VR1 VR2 VR3 //vector multiplying VR1 by VR2, storing results in VR3
VSTORE VR3 Z //store vector register VR3 into main memory as Z