Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
146 views

Vector and Array Processor

Uploaded by

madhanaksubbu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
146 views

Vector and Array Processor

Uploaded by

madhanaksubbu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

ARRAY PROCESSOR

Array Processor performs computations on large array of data. These are two
types of Array Processors: Attached Array Processor, and SIMD Array
Processor. These are explained as following below.
1. Attached Array Processor:
To improve the performance of the host computer in numerical computational
tasks auxiliary processor is attached to it.

Attached array processor has two interfaces:


1. Input output interface to a common processor.
2. Interface with a local memory.

Here local memory interconnects main memory. Host computer is general


purpose computer. Attached processor is back-end machine driven by the host
computer.
The array processor is connected through an I/O controller to the computer &
the computer treats it as an external interface.
2. SIMD array processor:
This is computer with multiple process unit operating in parallel Both types of
array processors, manipulate vectors but their internal organization is
different.
SIMD is a computer with multiple processing units operating in parallel.
The processing units are synchronized to perform the same operation under the
control of a common control unit. Thus, providing a single instruction stream,
multiple data stream (SIMD) organization. As shown in figure, SIMD contains
a set of identical processing elements (PES) each having a local memory M.

Vector processor:
A vector processor is a type of computer processor that specializes in handling
arrays, or vectors, of data. It's like having a super-efficient assembly line for
processing numbers.
Imagine you have a list of numbers that you need to multiply by 2. A regular
processor would take one number at a time and multiply it, then move to the
next number.
A vector processor, on the other hand, can take a whole list of numbers and
multiply them all at once, finishing the task much faster.
1. Data Handling: Vector processors are designed to efficiently process
arrays or vectors of data. This means they can perform the same operation
on multiple pieces of data simultaneously.
2. Vector Operations: These processors are equipped with special
instructions that allow them to operate on entire vectors with a single
instruction. For example, instead of having separate instructions to add
each pair of numbers in two arrays, a vector processor can use one
instruction to add the entire arrays.
3. Parallelism: Vector processors excel at exploiting parallelism in
computations. They can perform operations on multiple data elements at
the same time, which can significantly speed up processing for tasks that
involve a lot of repetitive operations on large datasets.
Vector matrix multiplication is a mathematical operation where a vector (a one-
dimensional array of numbers) is multiplied by a matrix (a two-dimensional
array of numbers). This operation is used in various applications, including
computer graphics, simulations, and machine learning.

Here's a simple explanation of how vector matrix multiplication works:

1. Vector: A vector is a list of numbers. For example, [1, 2, 3] is a vector


with three elements.
2. Matrix: A matrix is like a table of numbers. For example,
[1, 2, 3]
[4, 5, 6]
1. is a 2x3 matrix (2 rows, 3 columns).
2. Multiplication: To multiply a vector by a matrix, each element of the
resulting vector is calculated as the sum of the products of the
corresponding elements of the vector and each row of the matrix.
For example, if we have a vector [1, 2, 3] and a matrix
[1, 2, 3]
[4, 5, 6]
the result would be a new vector where the first element is calculated as 1*1 +
2*4 + 3*7, the second element is calculated as 1*2 + 2*5 + 3*8, and so on.
Result = [1*1 + 2*4 + 3*7, 1*2 + 2*5 + 3*8, 1*3 + 2*6 + 3*9]

You might also like