General & Special-purpose architecture. General-purpose GPU. GPGPU Programming models. GPGPU Memory models. Next generation
|
|
- Eleanor Lindsey
- 7 years ago
- Views:
Transcription
1
2 General & Special-purpose architecture General-purpose GPU GPGPU Programming models GPGPU Memory models Next generation 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 2
3 Von Neumann computational model Super-scalar processors, multi-cores Programming languages Virtual Machines 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 3
4 The need for efficient specialized processing of 3D meshes silently introduced a non-von Neumann computational model for computer games GPU Non-Von Neumann computational model Single Instruction Multiple Data Fixed-function pipeline 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 4
5 What are GPUs good at? Large data sets Arithmetic intensity = High compute/io ratio Minimal control flow or recursion High locality CPU GPU Optimization High-performance on sequential code Arithmetic intensity Die area for computation (% of transistor) 20% 80% Memory Cache Low latency (1/10 of GPU) Big (10 times GPU) High bandwidth (10 times CPU) Small 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 5
6 Why are GPUs getting faster? 1. Arithmetic intensity The specialized nature of GPUs makes it easier to use additional transistors for computation 2. Economics Multi-billion dollar video game market drives innovation 3. Intense competition Fast moving industry with no clear winner NVIDIA, AMD, Intel, SONY are major players 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 6
7 General & Special-purpose architecture General-purpose GPU Programming models Memory models Next generation 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 7
8 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 8
9 NVIDIA GeForce GTX 280 AMD-ATI Firestream 9250 Intel Core 2 Extreme AMD Phenom X4 Intel Pentium D Chip G92 RV770 QX Fabrication process (nm) # transistor (million) Max GPU power (W) Core clock (MHz) Memory clock (MHz) Peak memory bandwidth (GB/s) /02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 9
10 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 10
11 Fixed function Configurable, but not programmable Programmable shading Fixed pipeline Programmable graphics Customizable pipeline 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 11
12 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 12
13 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 13
14 Stream Computing SIMD programming model Multiple processing units Non-determinism how data in streams gets processed by the cores breaks the sequential Von Neumann architecture schema. The computation of each core is driven by a program, kernel The GPU infrastructure is responsible for assigning cores to kernels, each running instance of a kernel is called thread each thread has an associated set of output locations in the GPU memory referred as the domain of execution. 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 14
15 GPU schedules the array of threads into the pool of physical processors It is possible to schedule different kernels on a GPU at once Each physical processor in the GPU can execute a group of threads together called wavefront or wrap. The number of wavefronts in execution at the same time is dependent on the active register usage of a kernel. If the wavefront is not supported, the hardware will spill thread data into memory having a significant impact over performance. 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 15
16 The effectiveness of an SIMD pipeline is based on the assumption that all threads running the same shader program expose identical control-flow behavior Input-dependent branch leads to different control flow paths for different threads in a warp branch divergence, hazard that occurs since an SIMD pipeline cannot execute different instructions in the same cycle Conditionals/Branch via Predication Branch predication none of the instructions whose execution depends on the controlling condition gets skipped: 1. each instruction is associated with a per-thread condition code or predicate that is set to true or false based on the controlling condition 2. each of these instructions gets scheduled for execution 3. only the instructions with a true predicate are actually executed. Instructions with a false predicate do not write results, and also do not evaluate addresses or read operands. 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 16
17 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 17
18 Command Processor reads and initiates commands sent by the host CPU to the GPU for execution. Stream processor set of SIMD pipelines, each independent of the others, which operate in parallel on data streams. SIMD pipelines can process data or transfer data to and from memory. Memory controller direct access to the local memory and the host-specified areas of system memory. performs the functions of a DMA controller. Caches optimize code and data storage into the memory hierarchy. 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 18
19 MIMD array of 10 SIMT (TPCs) TPC a 3-way collection of: 3 shader processors (SMs) 1 TEX unit SM comprises: 8 scalar ALUs Stream Processors (SP) [FP32] 1 ALU 64-bit [FP64] total of 240 scalar processors 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 19
20 MIMD array of 10 SIMD cores SIMD core contains: 16 Shader Processors Units (SPU) 1 Texture Unit SPU: 5-ALU-wide superscalar 4 regular [FP32 ] 1 fat [FP64] processes 4 threads at 4 cycles total of 800 ALUs 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 20
21 General & Special-purpose architecture General-purpose GPU GPGPU Programming models GPGPU Memory models Next generation 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 21
22 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 22
23 Software stack a device driver, an application programming interface (API) and its runtime, two higher-level mathematical libraries of common usage, CUFFT and CUBLAS. The CUDA programming interface consists of: A minimal set of extensions to the C language that allow the programmer to target portions of the source code for execution on the device. A runtime library split into: Host component, that runs on the CPU and provides functions to control and access one or more compute devices from the host. Device component (kernel), that runs on the device and provides device-specific functions. Common component, that provides built-in vector types and a subset of the C standard library that are supported in both host and device code. 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 23
24 An Extension to the C Programming Language Function type qualifiers to specify execution on host or device device, global, host Variable type qualifiers to specify the memory location on the device device, constant, shared Static execution configuration << dgrid, dblock, nbyteshmem, Strm >> Defines the dimension of the grid and blocks global void Func(float* parameter); Func<<< Dg, Db, Ns >>>(parameter); Evaluate before actual execution Four built-in variables that specify the grid and block dimensions and the block and thread indices 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 24
25 Multi-level of parallelism Thread Block Batch of threads that can cooperate together Fast shared memory Synchronizable Thread ID Block can be one-, two- or three-dimensional arrays Grid of Thread Block Limited number of threads in a block Allows larger numbers of thread to execute the same kernel with one invocation Blocks identifiable via block ID Leads to a reduction in thread cooperation Blocks can be one- or two-dimensional arrays 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 25
26 1. Write kernel (in C) 2. Initialize CUDA environment 3. Allocate memory on GPU 4. Prepare input data in GPU memory 5. Configure execution and execute CUDA kernel. 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 26
27 CTM low-level programming interface direct access to the native instruction set and memory GPGPU 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 27
28 Device-driver layer that sits on top of CTM CAL system comprises: Master process executes on the CPU submits commands for execution queries for the status of the completion of tasks Device, it is a hardware component capable of running CAL programs (kernels) Kernel, it is executed on these processors and is implemented by using the AMD Intermediate Language (IL). Computation invoked by setting up one or more outputs and specifying a region (domain of execution) into this output that must be computed. 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 28
29 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 29
30 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 30
31 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 31
32 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 32
33 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 33
34 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 34
35 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 35
36 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 36
37 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 37
38 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 38
39 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 39
40 HLC LLC 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 40
41 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 41
42 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 42
43 .br file Integrated Stream kernel and CPU program brcc CPU, Stream Code Splitter Kernel Compiler (IL Code Generator) HLC some processing for stream operators CPU code (C) Evaluate kernels on CPU using explicit loops over stream elements CPU Emulation code (C++) IL Code appended to generated.cpp file LLC other libs.cpp file g++ / cl.exe brook lib cal lib brt Stream Runtime CPU Backend GPU Backend (CAL) 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 43
44 General & Special-purpose architecture General-purpose GPU GPGPU Programming models GPGPU Memory models Next generation 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 44
45 CPU and GPU memory hierarchy Disk CPU GPU Host Memory Local Memory Caches GPU Caches Registers Constant Registers Temporary Registers 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 45
46 CPU GPU Allocate/free memory any program point only before computation Memory access random limited Register read/write read/write Local memory read/write to stack read/write to stack Host memory read/write to heap read-only during computation write-only at end of computation Disk read/write to disk no direct access 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 46
47 CPU interface allocate/free resource copy CPU GPU copy GPU CPU GPU interface random-access read/write stream read/write copy GPU GPU stream read/write 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 47
48 NVIDIA GeForce GTX 280 Off-chip memory 1 GB, 256-bit GDDR3, 993 MHz clock speed 400/600 clock cycles latency On-chip memory 256KB L2 caches 32 KB L1 caches Local Data Share (16KB) 4/6 clock cycles latency AMD-ATI Firestream 9250 Off-chip memory 1 GB, 256-bit GDDR3,993 MHz clock speed. On-chip memory 256KB L2 caches 32 KB L1 caches Local Data Share (16KB) Global Data Share (16KB) 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 48
49 (Device) Grid Each thread can: Block (0, 0) Block (1, 0) R/W per-thread registers R/W per-thread local memory Shared Memory Shared Memory R/W per-block shared memory Registers Registers Registers Registers R/W per-grid global memory Read only per-grid constant memory Thread (0, 0) Thread (1, 0) Thread (0, 0) Thread (1, 0) Read only per-grid texture memory The host can R/W global, constant, and texture memories Host Local Memory Global Memory Local Memory Local Memory Local Memory Constant Memory Texture Memory 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 49
50 Shared memory Pros: fast, inter-block threads fast communication, reduce GPU-CPU data transfers Cons: the hardware will spill thread data into off-chip memory Global Shared memory Pros: intra-block threads communication, reduce GPU-CPU data transfers Kernel implementation Learning curve Optimizations Static execution configuration Toolchain 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 50
51 Restrictions: 1. Memory access is limited to reads from input/gather streams 2. Writing to static or global variables in not allowed inside kernels 3. It is illegal to call non-kernel functions from a kernel 4. Kernels invoked from application have a void return type 5. kernels are callable as subroutines from other kernels only 6. All variables are automatic 7. Pointers are not supported 8. Memory cannot be allocated 9. Recursion is not allowed 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 51
52 General & Special-purpose architecture General-purpose GPU GPGPU Programming models GPGPU Memory models Next generation 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 52
53 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 53
54 26/02/2009 Cristian Dittamo Dept. of Computer Science, University of Pisa 54
Graphics Cards and Graphics Processing Units. Ben Johnstone Russ Martin November 15, 2011
Graphics Cards and Graphics Processing Units Ben Johnstone Russ Martin November 15, 2011 Contents Graphics Processing Units (GPUs) Graphics Pipeline Architectures 8800-GTX200 Fermi Cayman Performance Analysis
More informationIntroduction to GP-GPUs. Advanced Computer Architectures, Cristina Silvano, Politecnico di Milano 1
Introduction to GP-GPUs Advanced Computer Architectures, Cristina Silvano, Politecnico di Milano 1 GPU Architectures: How do we reach here? NVIDIA Fermi, 512 Processing Elements (PEs) 2 What Can It Do?
More informationGPGPU Computing. Yong Cao
GPGPU Computing Yong Cao Why Graphics Card? It s powerful! A quiet trend Copyright 2009 by Yong Cao Why Graphics Card? It s powerful! Processor Processing Units FLOPs per Unit Clock Speed Processing Power
More informationOpenCL Optimization. San Jose 10/2/2009 Peng Wang, NVIDIA
OpenCL Optimization San Jose 10/2/2009 Peng Wang, NVIDIA Outline Overview The CUDA architecture Memory optimization Execution configuration optimization Instruction optimization Summary Overall Optimization
More informationGPU Architectures. A CPU Perspective. Data Parallelism: What is it, and how to exploit it? Workload characteristics
GPU Architectures A CPU Perspective Derek Hower AMD Research 5/21/2013 Goals Data Parallelism: What is it, and how to exploit it? Workload characteristics Execution Models / GPU Architectures MIMD (SPMD),
More informationRadeon GPU Architecture and the Radeon 4800 series. Michael Doggett Graphics Architecture Group June 27, 2008
Radeon GPU Architecture and the series Michael Doggett Graphics Architecture Group June 27, 2008 Graphics Processing Units Introduction GPU research 2 GPU Evolution GPU started as a triangle rasterizer
More informationIntroduction to GPU Programming Languages
CSC 391/691: GPU Programming Fall 2011 Introduction to GPU Programming Languages Copyright 2011 Samuel S. Cho http://www.umiacs.umd.edu/ research/gpu/facilities.html Maryland CPU/GPU Cluster Infrastructure
More informationIntroduction GPU Hardware GPU Computing Today GPU Computing Example Outlook Summary. GPU Computing. Numerical Simulation - from Models to Software
GPU Computing Numerical Simulation - from Models to Software Andreas Barthels JASS 2009, Course 2, St. Petersburg, Russia Prof. Dr. Sergey Y. Slavyanov St. Petersburg State University Prof. Dr. Thomas
More informationATI Radeon 4800 series Graphics. Michael Doggett Graphics Architecture Group Graphics Product Group
ATI Radeon 4800 series Graphics Michael Doggett Graphics Architecture Group Graphics Product Group Graphics Processing Units ATI Radeon HD 4870 AMD Stream Computing Next Generation GPUs 2 Radeon 4800 series
More informationIntroduction to GPGPU. Tiziano Diamanti t.diamanti@cineca.it
t.diamanti@cineca.it Agenda From GPUs to GPGPUs GPGPU architecture CUDA programming model Perspective projection Vectors that connect the vanishing point to every point of the 3D model will intersecate
More informationGPU Parallel Computing Architecture and CUDA Programming Model
GPU Parallel Computing Architecture and CUDA Programming Model John Nickolls Outline Why GPU Computing? GPU Computing Architecture Multithreading and Arrays Data Parallel Problem Decomposition Parallel
More informationGPU System Architecture. Alan Gray EPCC The University of Edinburgh
GPU System Architecture EPCC The University of Edinburgh Outline Why do we want/need accelerators such as GPUs? GPU-CPU comparison Architectural reasons for GPU performance advantages GPU accelerated systems
More informationOverview. Lecture 1: an introduction to CUDA. Hardware view. Hardware view. hardware view software view CUDA programming
Overview Lecture 1: an introduction to CUDA Mike Giles mike.giles@maths.ox.ac.uk hardware view software view Oxford University Mathematical Institute Oxford e-research Centre Lecture 1 p. 1 Lecture 1 p.
More informationAMD GPU Architecture. OpenCL Tutorial, PPAM 2009. Dominik Behr September 13th, 2009
AMD GPU Architecture OpenCL Tutorial, PPAM 2009 Dominik Behr September 13th, 2009 Overview AMD GPU architecture How OpenCL maps on GPU and CPU How to optimize for AMD GPUs and CPUs in OpenCL 2 AMD GPU
More informationGPU Computing with CUDA Lecture 2 - CUDA Memories. Christopher Cooper Boston University August, 2011 UTFSM, Valparaíso, Chile
GPU Computing with CUDA Lecture 2 - CUDA Memories Christopher Cooper Boston University August, 2011 UTFSM, Valparaíso, Chile 1 Outline of lecture Recap of Lecture 1 Warp scheduling CUDA Memory hierarchy
More informationLecture 3: Modern GPUs A Hardware Perspective Mohamed Zahran (aka Z) mzahran@cs.nyu.edu http://www.mzahran.com
CSCI-GA.3033-012 Graphics Processing Units (GPUs): Architecture and Programming Lecture 3: Modern GPUs A Hardware Perspective Mohamed Zahran (aka Z) mzahran@cs.nyu.edu http://www.mzahran.com Modern GPU
More informationGPU Architecture. Michael Doggett ATI
GPU Architecture Michael Doggett ATI GPU Architecture RADEON X1800/X1900 Microsoft s XBOX360 Xenos GPU GPU research areas ATI - Driving the Visual Experience Everywhere Products from cell phones to super
More informationIntroduction to GPU Architecture
Introduction to GPU Architecture Ofer Rosenberg, PMTS SW, OpenCL Dev. Team AMD Based on From Shader Code to a Teraflop: How GPU Shader Cores Work, By Kayvon Fatahalian, Stanford University Content 1. Three
More informationGPUs for Scientific Computing
GPUs for Scientific Computing p. 1/16 GPUs for Scientific Computing Mike Giles mike.giles@maths.ox.ac.uk Oxford-Man Institute of Quantitative Finance Oxford University Mathematical Institute Oxford e-research
More informationNext Generation GPU Architecture Code-named Fermi
Next Generation GPU Architecture Code-named Fermi The Soul of a Supercomputer in the Body of a GPU Why is NVIDIA at Super Computing? Graphics is a throughput problem paint every pixel within frame time
More informationIntroduction to GPU hardware and to CUDA
Introduction to GPU hardware and to CUDA Philip Blakely Laboratory for Scientific Computing, University of Cambridge Philip Blakely (LSC) GPU introduction 1 / 37 Course outline Introduction to GPU hardware
More informationThis Unit: Putting It All Together. CIS 501 Computer Architecture. Sources. What is Computer Architecture?
This Unit: Putting It All Together CIS 501 Computer Architecture Unit 11: Putting It All Together: Anatomy of the XBox 360 Game Console Slides originally developed by Amir Roth with contributions by Milo
More informationNVIDIA GeForce GTX 580 GPU Datasheet
NVIDIA GeForce GTX 580 GPU Datasheet NVIDIA GeForce GTX 580 GPU Datasheet 3D Graphics Full Microsoft DirectX 11 Shader Model 5.0 support: o NVIDIA PolyMorph Engine with distributed HW tessellation engines
More informationThe Evolution of Computer Graphics. SVP, Content & Technology, NVIDIA
The Evolution of Computer Graphics Tony Tamasi SVP, Content & Technology, NVIDIA Graphics Make great images intricate shapes complex optical effects seamless motion Make them fast invent clever techniques
More informationRadeon HD 2900 and Geometry Generation. Michael Doggett
Radeon HD 2900 and Geometry Generation Michael Doggett September 11, 2007 Overview Introduction to 3D Graphics Radeon 2900 Starting Point Requirements Top level Pipeline Blocks from top to bottom Command
More informationLBM BASED FLOW SIMULATION USING GPU COMPUTING PROCESSOR
LBM BASED FLOW SIMULATION USING GPU COMPUTING PROCESSOR Frédéric Kuznik, frederic.kuznik@insa lyon.fr 1 Framework Introduction Hardware architecture CUDA overview Implementation details A simple case:
More informationL20: GPU Architecture and Models
L20: GPU Architecture and Models scribe(s): Abdul Khalifa 20.1 Overview GPUs (Graphics Processing Units) are large parallel structure of processing cores capable of rendering graphics efficiently on displays.
More informationLecture 11: Multi-Core and GPU. Multithreading. Integration of multiple processor cores on a single chip.
Lecture 11: Multi-Core and GPU Multi-core computers Multithreading GPUs General Purpose GPUs Zebo Peng, IDA, LiTH 1 Multi-Core System Integration of multiple processor cores on a single chip. To provide
More informationE6895 Advanced Big Data Analytics Lecture 14:! NVIDIA GPU Examples and GPU on ios devices
E6895 Advanced Big Data Analytics Lecture 14: NVIDIA GPU Examples and GPU on ios devices Ching-Yung Lin, Ph.D. Adjunct Professor, Dept. of Electrical Engineering and Computer Science IBM Chief Scientist,
More informationA Survey on ARM Cortex A Processors. Wei Wang Tanima Dey
A Survey on ARM Cortex A Processors Wei Wang Tanima Dey 1 Overview of ARM Processors Focusing on Cortex A9 & Cortex A15 ARM ships no processors but only IP cores For SoC integration Targeting markets:
More informationChapter 1 Computer System Overview
Operating Systems: Internals and Design Principles Chapter 1 Computer System Overview Eighth Edition By William Stallings Operating System Exploits the hardware resources of one or more processors Provides
More informationCUDA programming on NVIDIA GPUs
p. 1/21 on NVIDIA GPUs Mike Giles mike.giles@maths.ox.ac.uk Oxford University Mathematical Institute Oxford-Man Institute for Quantitative Finance Oxford eresearch Centre p. 2/21 Overview hardware view
More informationGPU Architecture. An OpenCL Programmer s Introduction. Lee Howes November 3, 2010
GPU Architecture An OpenCL Programmer s Introduction Lee Howes November 3, 2010 The aim of this webinar To provide a general background to modern GPU architectures To place the AMD GPU designs in context:
More informationGuided Performance Analysis with the NVIDIA Visual Profiler
Guided Performance Analysis with the NVIDIA Visual Profiler Identifying Performance Opportunities NVIDIA Nsight Eclipse Edition (nsight) NVIDIA Visual Profiler (nvvp) nvprof command-line profiler Guided
More informationGPGPU Parallel Merge Sort Algorithm
GPGPU Parallel Merge Sort Algorithm Jim Kukunas and James Devine May 4, 2009 Abstract The increasingly high data throughput and computational power of today s Graphics Processing Units (GPUs), has led
More informationLSN 2 Computer Processors
LSN 2 Computer Processors Department of Engineering Technology LSN 2 Computer Processors Microprocessors Design Instruction set Processor organization Processor performance Bandwidth Clock speed LSN 2
More informationME964 High Performance Computing for Engineering Applications
ME964 High Performance Computing for Engineering Applications Intro, GPU Computing February 9, 2012 Dan Negrut, 2012 ME964 UW-Madison "The Internet is a great way to get on the net. US Senator Bob Dole
More informationNVIDIA CUDA Software and GPU Parallel Computing Architecture. David B. Kirk, Chief Scientist
NVIDIA CUDA Software and GPU Parallel Computing Architecture David B. Kirk, Chief Scientist Outline Applications of GPU Computing CUDA Programming Model Overview Programming in CUDA The Basics How to Get
More informationHPC with Multicore and GPUs
HPC with Multicore and GPUs Stan Tomov Electrical Engineering and Computer Science Department University of Tennessee, Knoxville CS 594 Lecture Notes March 4, 2015 1/18 Outline! Introduction - Hardware
More informationData Parallel Computing on Graphics Hardware. Ian Buck Stanford University
Data Parallel Computing on Graphics Hardware Ian Buck Stanford University Brook General purpose Streaming language DARPA Polymorphous Computing Architectures Stanford - Smart Memories UT Austin - TRIPS
More informationMore on Pipelining and Pipelines in Real Machines CS 333 Fall 2006 Main Ideas Data Hazards RAW WAR WAW More pipeline stall reduction techniques Branch prediction» static» dynamic bimodal branch prediction
More information~ Greetings from WSU CAPPLab ~
~ Greetings from WSU CAPPLab ~ Multicore with SMT/GPGPU provides the ultimate performance; at WSU CAPPLab, we can help! Dr. Abu Asaduzzaman, Assistant Professor and Director Wichita State University (WSU)
More informationIntroducing PgOpenCL A New PostgreSQL Procedural Language Unlocking the Power of the GPU! By Tim Child
Introducing A New PostgreSQL Procedural Language Unlocking the Power of the GPU! By Tim Child Bio Tim Child 35 years experience of software development Formerly VP Oracle Corporation VP BEA Systems Inc.
More informationIntro to GPU computing. Spring 2015 Mark Silberstein, 048661, Technion 1
Intro to GPU computing Spring 2015 Mark Silberstein, 048661, Technion 1 Serial vs. parallel program One instruction at a time Multiple instructions in parallel Spring 2015 Mark Silberstein, 048661, Technion
More informationultra fast SOM using CUDA
ultra fast SOM using CUDA SOM (Self-Organizing Map) is one of the most popular artificial neural network algorithms in the unsupervised learning category. Sijo Mathew Preetha Joy Sibi Rajendra Manoj A
More informationGPU Computing - CUDA
GPU Computing - CUDA A short overview of hardware and programing model Pierre Kestener 1 1 CEA Saclay, DSM, Maison de la Simulation Saclay, June 12, 2012 Atelier AO and GPU 1 / 37 Content Historical perspective
More informationMulti-Threading Performance on Commodity Multi-Core Processors
Multi-Threading Performance on Commodity Multi-Core Processors Jie Chen and William Watson III Scientific Computing Group Jefferson Lab 12000 Jefferson Ave. Newport News, VA 23606 Organization Introduction
More informationGPU Hardware and Programming Models. Jeremy Appleyard, September 2015
GPU Hardware and Programming Models Jeremy Appleyard, September 2015 A brief history of GPUs In this talk Hardware Overview Programming Models Ask questions at any point! 2 A Brief History of GPUs 3 Once
More informationLet s put together a Manual Processor
Lecture 14 Let s put together a Manual Processor Hardware Lecture 14 Slide 1 The processor Inside every computer there is at least one processor which can take an instruction, some operands and produce
More informationLearning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design
Learning Outcomes Simple CPU Operation and Buses Dr Eddie Edwards eddie.edwards@imperial.ac.uk At the end of this lecture you will Understand how a CPU might be put together Be able to name the basic components
More informationIntroduction to Cloud Computing
Introduction to Cloud Computing Parallel Processing I 15 319, spring 2010 7 th Lecture, Feb 2 nd Majd F. Sakr Lecture Motivation Concurrency and why? Different flavors of parallel computing Get the basic
More informationProgramming models for heterogeneous computing. Manuel Ujaldón Nvidia CUDA Fellow and A/Prof. Computer Architecture Department University of Malaga
Programming models for heterogeneous computing Manuel Ujaldón Nvidia CUDA Fellow and A/Prof. Computer Architecture Department University of Malaga Talk outline [30 slides] 1. Introduction [5 slides] 2.
More informationChapter 2 Parallel Architecture, Software And Performance
Chapter 2 Parallel Architecture, Software And Performance UCSB CS140, T. Yang, 2014 Modified from texbook slides Roadmap Parallel hardware Parallel software Input and output Performance Parallel program
More informationMulti-core architectures. Jernej Barbic 15-213, Spring 2007 May 3, 2007
Multi-core architectures Jernej Barbic 15-213, Spring 2007 May 3, 2007 1 Single-core computer 2 Single-core CPU chip the single core 3 Multi-core architectures This lecture is about a new trend in computer
More informationCUDA SKILLS. Yu-Hang Tang. June 23-26, 2015 CSRC, Beijing
CUDA SKILLS Yu-Hang Tang June 23-26, 2015 CSRC, Beijing day1.pdf at /home/ytang/slides Referece solutions coming soon Online CUDA API documentation http://docs.nvidia.com/cuda/index.html Yu-Hang Tang @
More informationMulti-GPU Load Balancing for Simulation and Rendering
Multi- Load Balancing for Simulation and Rendering Yong Cao Computer Science Department, Virginia Tech, USA In-situ ualization and ual Analytics Instant visualization and interaction of computing tasks
More informationComputer Graphics Hardware An Overview
Computer Graphics Hardware An Overview Graphics System Monitor Input devices CPU/Memory GPU Raster Graphics System Raster: An array of picture elements Based on raster-scan TV technology The screen (and
More informationAccelerating Intensity Layer Based Pencil Filter Algorithm using CUDA
Accelerating Intensity Layer Based Pencil Filter Algorithm using CUDA Dissertation submitted in partial fulfillment of the requirements for the degree of Master of Technology, Computer Engineering by Amol
More informationProgramming GPUs with CUDA
Programming GPUs with CUDA Max Grossman Department of Computer Science Rice University johnmc@rice.edu COMP 422 Lecture 23 12 April 2016 Why GPUs? Two major trends GPU performance is pulling away from
More informationCUDA Basics. Murphy Stein New York University
CUDA Basics Murphy Stein New York University Overview Device Architecture CUDA Programming Model Matrix Transpose in CUDA Further Reading What is CUDA? CUDA stands for: Compute Unified Device Architecture
More informationELE 356 Computer Engineering II. Section 1 Foundations Class 6 Architecture
ELE 356 Computer Engineering II Section 1 Foundations Class 6 Architecture History ENIAC Video 2 tj History Mechanical Devices Abacus 3 tj History Mechanical Devices The Antikythera Mechanism Oldest known
More informationReal-Time Realistic Rendering. Michael Doggett Docent Department of Computer Science Lund university
Real-Time Realistic Rendering Michael Doggett Docent Department of Computer Science Lund university 30-5-2011 Visually realistic goal force[d] us to completely rethink the entire rendering process. Cook
More informationLe langage OCaml et la programmation des GPU
Le langage OCaml et la programmation des GPU GPU programming with OCaml Mathias Bourgoin - Emmanuel Chailloux - Jean-Luc Lamotte Le projet OpenGPU : un an plus tard Ecole Polytechnique - 8 juin 2011 Outline
More informationGPU(Graphics Processing Unit) with a Focus on Nvidia GeForce 6 Series. By: Binesh Tuladhar Clay Smith
GPU(Graphics Processing Unit) with a Focus on Nvidia GeForce 6 Series By: Binesh Tuladhar Clay Smith Overview History of GPU s GPU Definition Classical Graphics Pipeline Geforce 6 Series Architecture Vertex
More informationThe Fastest, Most Efficient HPC Architecture Ever Built
Whitepaper NVIDIA s Next Generation TM CUDA Compute Architecture: TM Kepler GK110 The Fastest, Most Efficient HPC Architecture Ever Built V1.0 Table of Contents Kepler GK110 The Next Generation GPU Computing
More informationParallel Programming Survey
Christian Terboven 02.09.2014 / Aachen, Germany Stand: 26.08.2014 Version 2.3 IT Center der RWTH Aachen University Agenda Overview: Processor Microarchitecture Shared-Memory
More informationHome Exam 3: Distributed Video Encoding using Dolphin PCI Express Networks. October 20 th 2015
INF5063: Programming heterogeneous multi-core processors because the OS-course is just to easy! Home Exam 3: Distributed Video Encoding using Dolphin PCI Express Networks October 20 th 2015 Håkon Kvale
More informationHardware-Aware Analysis and. Presentation Date: Sep 15 th 2009 Chrissie C. Cui
Hardware-Aware Analysis and Optimization of Stable Fluids Presentation Date: Sep 15 th 2009 Chrissie C. Cui Outline Introduction Highlights Flop and Bandwidth Analysis Mehrstellen Schemes Advection Caching
More informationProgramming Techniques for Supercomputers: Multicore processors. There is no way back Modern multi-/manycore chips Basic Compute Node Architecture
Programming Techniques for Supercomputers: Multicore processors There is no way back Modern multi-/manycore chips Basic ompute Node Architecture SimultaneousMultiThreading (SMT) Prof. Dr. G. Wellein (a,b),
More informationGPU Computing with CUDA Lecture 4 - Optimizations. Christopher Cooper Boston University August, 2011 UTFSM, Valparaíso, Chile
GPU Computing with CUDA Lecture 4 - Optimizations Christopher Cooper Boston University August, 2011 UTFSM, Valparaíso, Chile 1 Outline of lecture Recap of Lecture 3 Control flow Coalescing Latency hiding
More informationIBM CELL CELL INTRODUCTION. Project made by: Origgi Alessandro matr. 682197 Teruzzi Roberto matr. 682552 IBM CELL. Politecnico di Milano Como Campus
Project made by: Origgi Alessandro matr. 682197 Teruzzi Roberto matr. 682552 CELL INTRODUCTION 2 1 CELL SYNERGY Cell is not a collection of different processors, but a synergistic whole Operation paradigms,
More informationProcessor Architectures
ECPE 170 Jeff Shafer University of the Pacific Processor Architectures 2 Schedule Exam 3 Tuesday, December 6 th Caches Virtual Memory Input / Output OperaKng Systems Compilers & Assemblers Processor Architecture
More informationAn Overview of Stack Architecture and the PSC 1000 Microprocessor
An Overview of Stack Architecture and the PSC 1000 Microprocessor Introduction A stack is an important data handling structure used in computing. Specifically, a stack is a dynamic set of elements in which
More informationGPGPU for Real-Time Data Analytics: Introduction. Nanyang Technological University, Singapore 2
GPGPU for Real-Time Data Analytics: Introduction Bingsheng He 1, Huynh Phung Huynh 2, Rick Siow Mong Goh 2 1 Nanyang Technological University, Singapore 2 A*STAR Institute of High Performance Computing,
More informationTexture Cache Approximation on GPUs
Texture Cache Approximation on GPUs Mark Sutherland Joshua San Miguel Natalie Enright Jerger {suther68,enright}@ece.utoronto.ca, joshua.sanmiguel@mail.utoronto.ca 1 Our Contribution GPU Core Cache Cache
More informationSOC architecture and design
SOC architecture and design system-on-chip (SOC) processors: become components in a system SOC covers many topics processor: pipelined, superscalar, VLIW, array, vector storage: cache, embedded and external
More informationStream Processing on GPUs Using Distributed Multimedia Middleware
Stream Processing on GPUs Using Distributed Multimedia Middleware Michael Repplinger 1,2, and Philipp Slusallek 1,2 1 Computer Graphics Lab, Saarland University, Saarbrücken, Germany 2 German Research
More informationGPU Hardware Performance. Fall 2015
Fall 2015 Atomic operations performs read-modify-write operations on shared or global memory no interference with other threads for 32-bit and 64-bit integers (c. c. 1.2), float addition (c. c. 2.0) using
More informationOptimizing Code for Accelerators: The Long Road to High Performance
Optimizing Code for Accelerators: The Long Road to High Performance Hans Vandierendonck Mons GPU Day November 9 th, 2010 The Age of Accelerators 2 Accelerators in Real Life 3 Latency (ps/inst) Why Accelerators?
More informationFast Implementations of AES on Various Platforms
Fast Implementations of AES on Various Platforms Joppe W. Bos 1 Dag Arne Osvik 1 Deian Stefan 2 1 EPFL IC IIF LACAL, Station 14, CH-1015 Lausanne, Switzerland {joppe.bos, dagarne.osvik}@epfl.ch 2 Dept.
More informationShader Model 3.0. Ashu Rege. NVIDIA Developer Technology Group
Shader Model 3.0 Ashu Rege NVIDIA Developer Technology Group Talk Outline Quick Intro GeForce 6 Series (NV4X family) New Vertex Shader Features Vertex Texture Fetch Longer Programs and Dynamic Flow Control
More informationCUDA. Multicore machines
CUDA GPU vs Multicore computers Multicore machines Emphasize multiple full-blown processor cores, implementing the complete instruction set of the CPU The cores are out-of-order implying that they could
More informationSGRT: A Mobile GPU Architecture for Real-Time Ray Tracing
SGRT: A Mobile GPU Architecture for Real-Time Ray Tracing Won-Jong Lee 1, Youngsam Shin 1, Jaedon Lee 1, Jin-Woo Kim 2, Jae-Ho Nah 3, Seokyoon Jung 1, Shihwa Lee 1, Hyun-Sang Park 4, Tack-Don Han 2 1 SAMSUNG
More informationTowards Large-Scale Molecular Dynamics Simulations on Graphics Processors
Towards Large-Scale Molecular Dynamics Simulations on Graphics Processors Joe Davis, Sandeep Patel, and Michela Taufer University of Delaware Outline Introduction Introduction to GPU programming Why MD
More informationLogical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.
Objectives The Central Processing Unit: What Goes on Inside the Computer Chapter 4 Identify the components of the central processing unit and how they work together and interact with memory Describe how
More informationIntroduction to GPU Computing
Matthis Hauschild Universität Hamburg Fakultät für Mathematik, Informatik und Naturwissenschaften Technische Aspekte Multimodaler Systeme December 4, 2014 M. Hauschild - 1 Table of Contents 1. Architecture
More informationIntel Media Server Studio - Metrics Monitor (v1.1.0) Reference Manual
Intel Media Server Studio - Metrics Monitor (v1.1.0) Reference Manual Overview Metrics Monitor is part of Intel Media Server Studio 2015 for Linux Server. Metrics Monitor is a user space shared library
More informationArchitecture of Hitachi SR-8000
Architecture of Hitachi SR-8000 University of Stuttgart High-Performance Computing-Center Stuttgart (HLRS) www.hlrs.de Slide 1 Most of the slides from Hitachi Slide 2 the problem modern computer are data
More informationBenchmark Hadoop and Mars: MapReduce on cluster versus on GPU
Benchmark Hadoop and Mars: MapReduce on cluster versus on GPU Heshan Li, Shaopeng Wang The Johns Hopkins University 3400 N. Charles Street Baltimore, Maryland 21218 {heshanli, shaopeng}@cs.jhu.edu 1 Overview
More informationQCD as a Video Game?
QCD as a Video Game? Sándor D. Katz Eötvös University Budapest in collaboration with Győző Egri, Zoltán Fodor, Christian Hoelbling Dániel Nógrádi, Kálmán Szabó Outline 1. Introduction 2. GPU architecture
More informationHardware design for ray tracing
Hardware design for ray tracing Jae-sung Yoon Introduction Realtime ray tracing performance has recently been achieved even on single CPU. [Wald et al. 2001, 2002, 2004] However, higher resolutions, complex
More informationGeneral Purpose Computation on Graphics Processors (GPGPU) Mike Houston, Stanford University
General Purpose Computation on Graphics Processors (GPGPU) Mike Houston, Stanford University A little about me http://graphics.stanford.edu/~mhouston Education: UC San Diego, Computer Science BS Stanford
More informationHIGH PERFORMANCE CONSULTING COURSE OFFERINGS
Performance 1(6) HIGH PERFORMANCE CONSULTING COURSE OFFERINGS LEARN TO TAKE ADVANTAGE OF POWERFUL GPU BASED ACCELERATOR TECHNOLOGY TODAY 2006 2013 Nvidia GPUs Intel CPUs CONTENTS Acronyms and Terminology...
More informationwhat operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?
Inside the CPU how does the CPU work? what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? some short, boring programs to illustrate the
More informationOptimizing Application Performance with CUDA Profiling Tools
Optimizing Application Performance with CUDA Profiling Tools Why Profile? Application Code GPU Compute-Intensive Functions Rest of Sequential CPU Code CPU 100 s of cores 10,000 s of threads Great memory
More informationAdvanced Computer Architecture-CS501. Computer Systems Design and Architecture 2.1, 2.2, 3.2
Lecture Handout Computer Architecture Lecture No. 2 Reading Material Vincent P. Heuring&Harry F. Jordan Chapter 2,Chapter3 Computer Systems Design and Architecture 2.1, 2.2, 3.2 Summary 1) A taxonomy of
More informationVALAR: A BENCHMARK SUITE TO STUDY THE DYNAMIC BEHAVIOR OF HETEROGENEOUS SYSTEMS
VALAR: A BENCHMARK SUITE TO STUDY THE DYNAMIC BEHAVIOR OF HETEROGENEOUS SYSTEMS Perhaad Mistry, Yash Ukidave, Dana Schaa, David Kaeli Department of Electrical and Computer Engineering Northeastern University,
More informationConsole Architecture. By: Peter Hood & Adelia Wong
Console Architecture By: Peter Hood & Adelia Wong Overview Gaming console timeline and evolution Overview of the original xbox architecture Console architecture of the xbox360 Future of the xbox series
More informationGPU File System Encryption Kartik Kulkarni and Eugene Linkov
GPU File System Encryption Kartik Kulkarni and Eugene Linkov 5/10/2012 SUMMARY. We implemented a file system that encrypts and decrypts files. The implementation uses the AES algorithm computed through
More informationParallel Computing: Strategies and Implications. Dori Exterman CTO IncrediBuild.
Parallel Computing: Strategies and Implications Dori Exterman CTO IncrediBuild. In this session we will discuss Multi-threaded vs. Multi-Process Choosing between Multi-Core or Multi- Threaded development
More information