What is vector processing and how does it accelerate computer code?

  • Thread starter Thread starter Cerxes
  • Start date Start date
  • Tags Tags
    Code Computer
AI Thread Summary
Vector processing involves executing multiple operations simultaneously by utilizing vectorized computer code, which allows for parallel processing of operands through pipelined math processors. The efficiency of these operations is contingent on the width of the data bus and the number of available math processors, enabling rapid computation as operands are read from memory. This approach facilitates complex calculations, such as matrix multiplication, by allowing additional operations like summation to occur without storing intermediate results. Scoreboarding is a technique used to manage the outputs from these vector operations, with historical implementations seen in the CDC 6000 series from 1964. Overall, vector processing significantly accelerates computer code execution by optimizing parallelism and resource utilization.
Cerxes
Messages
1
Reaction score
0
What is "vectorized computer code"?
 
Technology news on Phys.org
Wikipedia has a very elementary description of it here.
 
Also refer to:

http://en.wikipedia.org/wiki/Vector_processor

The artilcles mention picking up multiple operands at the same time, but this depends on the width (how many bits) of the bus holding the operands. On vector processors the operands are pipelined into separate math processors, so the math processors can operate in parallel. If there are enough math processors, then math operations effectively occur as fast as the operands can be read from memory.

As noted in the vector processing article, instead of storing results, additional math operations can be peformed, such as summation of all the products produced in a vector multiply, a key component of matrix multiplaction. Each row / column combination are processed in parallel.

Note that scoreboarding can be used to coordinate the outputs from vector operations. The CDC 6000 series included scoreboarding, and date back to 1964, predating the IBM 360 by almost a year. (IBM announced their 360's in April of 1964, but never shippped any models until mid 1965, essentially the 1964 360's were "paper machines", they never existed).

http://en.wikipedia.org/wiki/Scoreboarding
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top