GPU Programming and Architecture: Course Overview
-
Upload
chancellor-hendrix -
Category
Documents
-
view
40 -
download
1
description
Transcript of GPU Programming and Architecture: Course Overview
![Page 1: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/1.jpg)
GPU Programming and Architecture: Course Overview
Patrick CozziUniversity of PennsylvaniaCIS 565 - Spring 2012
![Page 2: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/2.jpg)
Lectures
Monday and Wednesday 9-10:30am Moore 212
Lectures will be recorded
Image from http://pinoytutorial.com/techtorial/geforce-gtx-580-vs-amd-radeon-hd-6870-review-and-comparison-conclusion/
![Page 3: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/3.jpg)
Instructor
Patrick Cozzi: [email protected]
If you are curious, see http://www.seas.upenn.edu/~pcozzi/
![Page 4: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/4.jpg)
Instructor Include “[CIS565]” in email subject line
Office HoursSIG LabMonday and Wednesday, 10:30-11:00am
Just see me after class
![Page 5: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/5.jpg)
Teaching Assistant Varun Sampath: [email protected] Office Hours
SIG LabTuesday, 5-6pmThursday, 3-4pm
Starting at NVIDIA this summer
If you are curious, see http://vsampath.com/
![Page 6: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/6.jpg)
CIS 565 Hall of Fame
Are you next?
KrishnanRamachandran
Jon McCaffrey
VarunSampath
![Page 7: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/7.jpg)
Course Website
http://www.seas.upenn.edu/~cis565/
Schedule, reading, slides, audio, homework, etc.
![Page 8: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/8.jpg)
Google Group
[email protected] Signup:
http://groups.google.com/group/cis565-s2012
Be active; let’s build a course community
![Page 9: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/9.jpg)
GitHub
Used for course materials, homeworks, and the final project
Create an account:https://github.com/signup/free
Join our GitHub organization:https://github.com/CIS565-Spring-2012
Who is new to source control?
![Page 10: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/10.jpg)
Prerequisites
CIS 460/560 CIS 371 or CIS 501 Strong C or C++
![Page 11: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/11.jpg)
Books
Programming Massively Parallel Processors
2010, David Kirk and Wen-mei Hwu
Old draft: http://courses.engr.illinois.edu/ece498/al/Syllabus.html
OpenGL Insights
2012, Patrick Cozzi and Christophe Riccio, Editors
Selected readings handed out in class
![Page 12: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/12.jpg)
Course Contents
GPU – Graphics Processing Unit Is it still just for graphics?
Images from http://www.ngohq.com/news/18784-nvidia-launches-geforce-gtx-580-a.html and http://gs7.blogspot.com/2011/09/amd-radeon-hd-6990-worlds-fastest.html
![Page 13: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/13.jpg)
Course Contents
GPU Architecture
New: Start with GPU architecture
Not to scale
![Page 14: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/14.jpg)
Course Contents
CUDA
GPU Architecture
CUDA programming model for GPU Compute
Not to scale
![Page 15: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/15.jpg)
Course Contents
GPU Compute example: conjunction analysis
http://www.youtube.com/watch?v=dtT3pTh_q-8
![Page 16: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/16.jpg)
Course Contents
Parallel Algorithms
CUDA
GPU Architecture
Parallel algorithms that form building blocks
Not to scale
![Page 17: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/17.jpg)
Course Contents
Parallel Algorithms example: ScanGiven:
Compute:
In parallel!
3 1 1 7 0 4 6 3
0 3 15 4 11 11 16 22
![Page 18: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/18.jpg)
Course Contents
Graphics Pipeline
Parallel Algorithms
CUDA
GPU Architecture
Historical and modern graphics pipeline
Not to scale
![Page 19: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/19.jpg)
Course Contents
OpenGL / WebGL
Graphics Pipeline
Parallel Algorithms
CUDA
GPU Architecture
New: WebGL
Not to scale
![Page 20: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/20.jpg)
Course Contents
WebGL Skinhttp://alteredqualia.com/three/examples/webgl_materials_skin.html
WebGL Waterhttp://madebyevan.com/webgl-water/
WebGL Demos
![Page 21: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/21.jpg)
Course Contents
Real-Time Rendering
OpenGL / WebGL
Graphics Pipeline
Parallel Algorithms
CUDA
GPU Architecture
Real-Time Rendering
Not to scale
![Page 22: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/22.jpg)
Course Contents
Real-Time Rendering
http://www.geforce.com/Hardware/GPUs/geforce-gtx-590/videos
![Page 23: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/23.jpg)
Course Contents
GPU Compute + Real-Time Rendering
http://www.nvidia.com/object/GTX_400_games_demos.html
![Page 24: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/24.jpg)
Course Contents
Mobile
Real-Time Rendering
OpenGL / WebGL
Graphics Pipeline
Parallel Algorithms
CUDA
GPU Architecture
New: Mobile
Not to scale
![Page 25: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/25.jpg)
Course Contents
Mobile
Real-Time Rendering
OpenGL / WebGL
Graphics Pipeline
Parallel Algorithms
CUDA
GPU Architecture
To scale!
Performance!
![Page 26: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/26.jpg)
Course Contents
Student Presentations. Examples:
Architecture, Compute, Rendering, etc.
Flu
id S
imul
atio
n
Fin
anci
al A
naly
sis
Com
pute
r V
isio
n
Ord
er-I
ndep
ende
nt T
rans
luce
ncy
Vol
ume
Ren
derin
g
…
Topics are up to you
![Page 27: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/27.jpg)
Grading
Homeworks (5) 40% Student Presentation 10% Final Project 40% Final 10%
![Page 28: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/28.jpg)
Homework Submission
Push your submission to GitHub by midnight on the due date
Bonus Days:Five per personHomework only; not for presentation or project
![Page 29: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/29.jpg)
Homework Submission
Late Policy:One second to one week late: 50% deductionMore than one week late: no credit
![Page 30: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/30.jpg)
Homework Submission
Time
Effort
Time
Effort
Due date Fight nightStudent Pro boxer
![Page 31: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/31.jpg)
Academic Integrity
http://www.upenn.edu/academicintegrity/
![Page 32: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/32.jpg)
GPU Requirements
Homework and the project require an NVIDIA GeForce 8 series or higher
Update your drivers: http://www.nvidia.com/Download/index.aspx
What GPU do I have? What OpenGL/OpenCL/CUDA version:
http://www.ozone3d.net/gpu_caps_viewer/
![Page 33: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/33.jpg)
GPU Requirements
Lab ResourcesMoore 100b - NVIDIA GeForce 9800sSIG Lab - Most machines have at least
NVIDIA GeForce 8800s. Two machines have a GeForce 480, and one machine has a Fermi Tesla card
Contact Varun
![Page 34: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/34.jpg)
CPU and GPU Trends
FLOPS – FLoating-point OPerations per Second
GFLOPS - One billion (109) FLOPS TFLOPS – 1,000 GFLOPS
![Page 35: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/35.jpg)
CPU and GPU Trends
Chart from: http://proteneer.com/blog/?p=263
![Page 36: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/36.jpg)
CPU and GPU Trends
Compute Intel Core i7 – 4 cores – 100 GFLOPNVIDIA GTX280 – 240 cores – 1 TFLOP
Memory BandwidthSystem Memory – 60 GB/sNVIDIA GT200 – 150 GB/s
Install BaseOver 200 million NVIDIA G80s shipped
![Page 37: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/37.jpg)
Class Exercise
Parallel sorting
![Page 38: GPU Programming and Architecture: Course Overview](https://reader034.fdocuments.in/reader034/viewer/2022051401/56813790550346895d9f314f/html5/thumbnails/38.jpg)
Reminders
Include “[CIS565]” in email subject line. Signup for our google group:
http://groups.google.com/group/cis565-s2012 Join our GitHub organization:
Signup: https://github.com/signup/freeOrganization: https://github.com/CIS565-Spring-2012
No class or office hours Monday, 01/16.