ECE 571 Advanced Microprocessor-Based Design Lecture 18

Similar documents
ECE 571 Advanced Microprocessor-Based Design Lecture 20

ECE 571 Advanced Microprocessor-Based Design Lecture 21

ECE 574 Cluster Computing Lecture 16

ECE 571 Advanced Microprocessor-Based Design Lecture 16

ECE 571 Advanced Microprocessor-Based Design Lecture 17

GPUs and GPGPUs. Greg Blanton John T. Lubia

ECE 574 Cluster Computing Lecture 15

CSE 591/392: GPU Programming. Introduction. Klaus Mueller. Computer Science Department Stony Brook University

1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7.

ECE 598 Advanced Operating Systems Lecture 18

CSE 591: GPU Programming. Introduction. Entertainment Graphics: Virtual Realism for the Masses. Computer games need to have: Klaus Mueller

AMD Embedded PCIe ADD-IN BOARD E6760/E6460 Datasheet. (ER93FLA/ER91FLA-xx)

User Guide. NVIDIA Quadro FX 4700 X2 BY PNY Technologies Part No. VCQFX4700X2-PCIE-PB

Components of a personal computer

AMD E M PCIEx16 GFX-AE6460F16-5C

ECE 571 Advanced Microprocessor-Based Design Lecture 3

AMD HD5450 PCIe ADD-IN BOARD. Datasheet AEGX-A3T5-01FST1

Spring 2009 Prof. Hyesoon Kim

AMD HD7750 PCIe ADD-IN BOARD. Datasheet (GFX-A3T2-01FST1)

Graphics Hardware. Instructor Stephen J. Guy

Graphics Hardware. Graphics Processing Unit (GPU) is a Subsidiary hardware. With massively multi-threaded many-core. Dedicated to 2D and 3D graphics

CS427 Multicore Architecture and Parallel Computing

NVIDIA GT740 PCIe ADD-IN BOARD. Datasheet GFX-N3A2-01FMS1

2 x Maximum Display Monitor(s) support MHz Core Clock 28 nm Chip 384 x Stream Processors. 145(L)X95(W)X26(H) mm Size. 1.

NVIDIA GT610 PCIe 1X ADD-IN BOARD. Datasheet GFX-N3A1-71FMS1

Graphics Processing Unit Architecture (GPU Arch)

CS8803SC Software and Hardware Cooperative Computing GPGPU. Prof. Hyesoon Kim School of Computer Science Georgia Institute of Technology

AMD HD7750 2GB PCIEx16

ECE 471 Embedded Systems Lecture 2

Graphics Processing Unit (GPU)

CSE 599 I Accelerated Computing - Programming GPUS. Memory performance

Spring 2011 Prof. Hyesoon Kim

Nvidia Quadro K5200 8GB two DVI-I two DisplayPort Graphics Card by ThinkStation (4X60G69025)

Introduction to Computer Graphics (CS602) Lecture No 03 Graphics Systems

GeForce4. John Montrym Henry Moreton

AMD E8870 4GB PCIEX16 Mini DP X4 Low profile ER24FL-SK4 GFX-AE8870L16-5J

Advanced Topics In Hardware

Current Trends in Computer Graphics Hardware

CS GPU and GPGPU Programming Lecture 8+9: GPU Architecture 7+8. Markus Hadwiger, KAUST

GPGPUs in HPC. VILLE TIMONEN Åbo Akademi University CSC

AMD HD5450 PCIe X1 ADD-IN BOARD. Datasheet. Advantech model number: GFX-A3T5-71FST1

Rendering Objects. Need to transform all geometry then

AMD E8860 PCIe ADD-IN BOARD. Datasheet (AEGX-A5T8-20FMT1)

Chapter 4 Main Memory

AMD Embedded MXM Module. Datasheet. (EM93F/EM91F xx) Manufacturer P/N: EM91F PE(MXM Fanless) Manufacturer P/N: EM93F PI(MXM Fanless)

Overview. Memory Classification Read-Only Memory (ROM) Random Access Memory (RAM) Functional Behavior of RAM. Implementing Static RAM

Real-Time Buffer Compression. Michael Doggett Department of Computer Science Lund university

Lecture 13: OpenGL Shading Language (GLSL)

Threading Hardware in G80

ECE 574 Cluster Computing Lecture 17

SAPPHIRE R7 260X 2GB GDDR5 OC BATLELFIELD 4 EDITION

Windowing System on a 3D Pipeline. February 2005

Technology in Action

CONSOLE ARCHITECTURE

Multimedia in Mobile Phones. Architectures and Trends Lund

Motivation Hardware Overview Programming model. GPU computing. Part 1: General introduction. Ch. Hoelbling. Wuppertal University

Slide credit: Slides adapted from David Kirk/NVIDIA and Wen-mei W. Hwu, DRAM Bandwidth

Scanline Rendering 2 1/42

NVIDIA workstation 2D and 3D graphics adapter upgrade options let you experience productivity improvements and superior image quality

CENG 477 Introduction to Computer Graphics. Graphics Hardware and OpenGL

Module 1. Introduction. Version 2 EE IIT, Kharagpur 1

Bifurcation Between CPU and GPU CPUs General purpose, serial GPUs Special purpose, parallel CPUs are becoming more parallel Dual and quad cores, roadm

Real-Time Rendering (Echtzeitgraphik) Michael Wimmer

IBM "Broadway" 512Mb GDDR3 Qimonda

LPGPU Workshop on Power-Efficient GPU and Many-core Computing (PEGPUM 2014)

The Memory Hierarchy 1

Evolution of CPUs & Memory in Video Game Consoles. Curtis Geiger & Matthew Meehan

AMD HD5450 PCI ADD-IN BOARD. Datasheet. Advantech model number:gfx-a3t5-61fst1

Organization. 5.1 Semiconductor Main Memory. William Stallings Computer Organization and Architecture 6th Edition

PowerVR Hardware. Architecture Overview for Developers

Lecture 1: Gentle Introduction to GPUs

Portland State University ECE 588/688. Graphics Processors

The Graphics Pipeline

The Need for Programmability

SAPPHIRE DUAL-X R9 270X 2GB GDDR5 OC WITH BOOST

GPU Computation Strategies & Tricks. Ian Buck NVIDIA

ECE 471 Embedded Systems Lecture 30

CS/ECE 217. GPU Architecture and Parallel Programming. Lecture 16: GPU within a computing system

Introduction to Multicore architecture. Tao Zhang Oct. 21, 2010

GPGPU. Peter Laurens 1st-year PhD Student, NSC

ECE 571 Advanced Microprocessor-Based Design Lecture 24

Lecture 18: DRAM Technologies

EE382N (20): Computer Architecture - Parallelism and Locality Spring 2015 Lecture 09 GPUs (II) Mattan Erez. The University of Texas at Austin

X. GPU Programming. Jacobs University Visualization and Computer Graphics Lab : Advanced Graphics - Chapter X 1

SAPPHIRE TOXIC R9 280X 3GB GDDR5

CS152 Computer Architecture and Engineering Lecture 19: I/O Systems

CREATED BY M BILAL & Arslan Ahmad Shaad Visit:

Intentionally Blank 0

AMD E8860 2GB PCIEx16 Mini DP X6 GFX-AE8860F16-5J

Standard Graphics Pipeline

AMD Embedded MXM Module E6460 Datasheet. (EM91F -xx)

Rasterization and Graphics Hardware. Not just about fancy 3D! Rendering/Rasterization. The simplest case: Points. When do we care?

Chapter 0: IT Essentials Introduction Chapter 1: Introduction to the Personal Computer

Anatomy of AMD s TeraScale Graphics Engine

CS 316: Multicore/GPUs

GPGPU introduction and network applications. PacketShaders, SSLShader

Introduction to CUDA Algoritmi e Calcolo Parallelo. Daniele Loiacono

Antonio R. Miele Marco D. Santambrogio

ECE 471 Embedded Systems Lecture 2

Graphics Hardware, Graphics APIs, and Computation on GPUs. Mark Segal

Transcription:

ECE 571 Advanced Microprocessor-Based Design Lecture 18 Vince Weaver http://www.eece.maine.edu/ vweaver vincent.weaver@maine.edu 11 November 2014

Homework #4 comments Project/HW Reminder 1

Stuff from Last Class Phase change RAM. chalcogenide glass used in CD-Rs 100ns (compared to 2ns of DRAM) latency heating element change from amorphous (high resistance, 0) to crystaline (low resistance, 1) temp sensitive, values lost when soldering to board (unlike flash) better than flash (takes.1ms to write, write whole blocks at once) 2

Newer methods might involve lasers and no phase change? Mapping into memory? No need to copy from disk? But also, unlike DRAM, a limit on how many times can be written. Memristors resistors, relationship between voltage and current capacitors, relationship between voltage and charge inductors, relationship between current and magnetic flux 3

memrister, relationship between charge and magnetic flux; remembers the current that last flowed through it Lot of debate about whether possible. HP working on memristor based NVRAM 4

Graphics and Video Cards 5

Old CRT Days Electron gun Horizontal Blank, Vertical Blank Atari 2600 only enough RAM to do one scanline at a time Apple II video on alternate cycles, refresh RAM for free Bandwidth key issue. SNES / NES, tiles. Double 6

buffering vs only updating during refresh 7

Old 2D Video Cards Framebuffer (possibly multi-plane), Palette Dual-ported RAM, RAMDAC (Digital-Analog Converter) Interface (on PC) various io ports and a 64kB RAM window Mode 13h Acceleration often commands for drawing lines, rectangles, blitting sprites, mouse cursors, video overlay 8

Modern Graphics Cards Can draw a lot of power 2D (optional these days) 3D Video decoders 9

Integrated or stand alone Interface Integrated traditionally less capable, but changing. Share Memory bandwidth, take memory. 10

GPUs Display memory often broken up into tiles (improves cache locality) Massively parallel matrix-processing CPUs that write to the frame buffer (or can be used for calculation) Texture control, 3d state, vectors Front-buffer (written out), Back Buffer (being rendered) Z-buffer (depth) 11

Originally just did lighting and triangle calculations. Now shader languages and fully generic processing 12

Video RAM VRAM dual ported. Could read out full 1024Bit line and latch for drawing, previously most would be discarded (cache line read) GDDR3/4/5 traditional one-port RAM. More overhead, but things are fast enough these days it is worth it. Confusing naming, GDDR3 is equivalent of DDR2 but with some speed optimization and lower voltage (so 13

higher frequency) 14

Busses DDC i2c bus connection to monitor, giving screen size, timing info, etc. PCIe (PCI-Express) most common bus used in x86 systems Original PCI and PCI-X was 32/64-bit parallel bus PCIe is a serial bus, sends packets Can power 25W, additional power connectors to supply can have 75W, 150@ and more Can transfer 8GT/s (giga-transfers) a second 15

In general PCIe is the main limiting factor to getting data to GPU. 16

Connectors CRTC (CRT Controller) Can point to same part of memory (mirror) or different. RCA composite/analog TV VGA 15 pin, analog DVI digital and/or analog. DVI-D, DVD-I, DVD-A HDMI compatible with DVI (though content restrictions). Also audio. HDMI 1.0 165MHz, 1080p 17

or 1920x1200 at 60Hz. TMDS differential signalling. Packets. Audio sent during blanking. Display Port similar but not the same as HDMI Thunderbolt combines PCIe and DisplayPort. Intel/Apple. Originally optical, but also Copper. Can send 10W of power. LVDS Low Voltage Differential Signaling used to connect laptop LCD 18

LCD Displays Crystals twist in presence of electric field Asymmetric on/off times Passive (crossing wires) vs Active (Transistor at each pixel) Passive have to be refreshed constantly Use only 10% of power of equivalent CRT 19

Circuitry inside to scale image and other post-processing Need to be refreshed periodically to keep their image New bistable display under development, requires not power to hold state 20

Interfaces OpenGL SGI DirectX Microsoft For consumer grade, driven by gaming 21

GPGPUS Interfaces needed, as GPU companies do not like to reveal what their chips due at the assembly level. CUDA (Nvidia) OpenCL (Everyone else) can in theory take parallel code and map to CPU, GPU, FPGA, DSP, etc 22

Old example: Why GPUs? 3GHz Pentium 4, 6 GFLOPS, 6GB/sec peak GeForceFX 6800: 53GFLOPS, 34GB/sec peak Newer example Raspberry Pi, 700MHz, 0.177 GFLOPS On-board GPU: Video Core IV: 24 GFLOPS 23

Key Idea using many slimmed down cores have single instruction stream operate across many cores (SIMD) avoid latency (slow textures, etc) by working on another group when one stalls 24

GPU Benefits Specialized hardware, concentrating on arithmetic. Transistors for ALUs not cache. Fast 32-bit floating point (16-bit?) Driven by commodity gaming, so much faster than would be if only HPC people using them. Accuracy? 64-bit floating point? 32-bit floating point? 16-bit floating point? Doesn t matter as much if color slightly off for a frame in your video game. 25

highly parallel 26

GPU Problems optimized for 3d-graphics, not always ideal for other things Need to port code, usually can t just recompile cpu code. Companies secretive. serial code a lot of control flow 27

lot of off-chip memory transfers 28

GPU Performance Like stream processors, need parallel. Only can operate on independent things, but can do many many at once. Stream processors are records that all need similar operations done to them. Kernels are the code applied in each processor. Vertices and fragments have shaders run on them. 29

Traditional GPU Setup CPU send list of vertices to GPU. Transform (vertex processor) (convert from world space to image space). 3d translation to 2d, calculate lighting. Operate on 4-wide vectors (x,y,z,w in projected space, r,g,b,a color space) Rasterizer transform vertexes/vectors into a grid. Fragments. break up to pixels and anti-alias Shade (Fragment processor) compute color for each 30

pixel. Use textures if necessary (texture memory, mostly read) Write out to framebuffer (mostly write) 31