Escolar Documentos
Profissional Documentos
Cultura Documentos
•Distributed Memory
•Each CPUs have its Own local Memory
•CPUs Communicate by sending message
•Shared Memory
•All CPUs Share a Common Memory
•CPUs communicate through Several variables in
Memory
Building CPU for Parallel
Computers
•Homogeneous CPUs
•All CPUs are same
•Any code can run on any CPU
•Heterogeneous CPU
•Mixed Different Types of processors each optimized
for different applications
•GP CPU-Codes
•DSP- signal processing
•FPU-Arithmetic Throughput
•GPU- Graphics
Multi-core caches & coherency
Target CPU tries to read the data at the shared address into
its L1 cache.
Communication completed.
Software Model
Symmetric multiprocessing
• Functional Parallelism
•Break the task into stream of successive
operations
• Data Parallelism
• Divide the data among multiple operators
Multi-Threading: Data
Parallelism
•Fork/Join Parallelism.
ProcessItem(treeToWalk.Data);
}
Parallel Program
left.Wait();
right.Wait();
ProcessItem(treeToWalk.Data);
}
Simulation
Result of processing on Intel Core i3 (with two core)
THANK YOU