Parallel Computing Introduction

8/22/2011 von Neumann computer architecture Parallel Computing Introduction Bedřich Beneš, Ph.D. Associate Professor Department of Computer Graphics...
1 downloads 2 Views 215KB Size
8/22/2011

von Neumann computer architecture

Parallel Computing Introduction Bedřich Beneš, Ph.D. Associate Professor Department of Computer Graphics Purdue University

CPU

Hard disk

Network

Bus

Memory

GPU

I/O devices

PCI Express © Bedrich Benes

von Neumann computer architecture

von Neumann computer architecture

• I/O devices communicate with the world • memory stores data and instructions • CPU

• Traditionally: CPU does the calculation • GPU does graphics But can be also used to do the calculations • Different memory model, architecture, calculation power, etc. • GPU is essentially parallel

• •

processes data, issues GPU instructions via bus

• GPU reads data from the memory via PCIe • GPU reads data and performs vertex and fragment operations © Bedrich Benes

© Bedrich Benes

1

8/22/2011

Parallel Computing • Many calculations are essentially parallel • Example: • vector addition single CPU:

Vector Addition - Two CPUs CPU1 CPU2

Hard disk

Network

Bus

for (int i=0;i

Suggest Documents