Download presentation
Presentation is loading. Please wait.
Published bySilvester Wiggins Modified over 8 years ago
1
Programming with CUDA WS 08/09 Lecture 1 Tue, 21 Oct, 2008
2
Organization Two lectures per week Two lectures per week –Tuesdays : 4pm-5pm Ernst-Abbe-Platz 2 (room 3517) –Thursdays : 4pm-6pm Carl-Zeiss-Strasse (room 125) One exercise session per week One exercise session per week –Tuesdays : 5pm-6pm Ernst-Abbe-Platz 2 (room 3517)
3
Organization People People –Waqar Saleem (me) http://theinf2.informatik.uni-jena.de/People/Waqar+Saleem.html http://theinf2.informatik.uni-jena.de/People/Waqar+Saleem.html –Jens K. Müller http://theinf2.informatik.uni-jena.de/People/Jens+K_+Mueller.html http://theinf2.informatik.uni-jena.de/People/Jens+K_+Mueller.html Office hours Office hours –Wednesdays : 2pm-4pm Ernst-Abbe-Platz 2 (room 3311)
4
Organization Reference Material Reference Material –www.nvidia.com/object/cuda_education.html links to university courses on CUDA www.nvidia.com/object/cuda_education.html –www.nvidia.com/object/cuda_develop.html documentation, programming guide www.nvidia.com/object/cuda_develop.html Lecture slides will be made available after each lecture on the course website Lecture slides will be made available after each lecture on the course website –http://theinf2.informatik.uni- jena.de/For+Students/CUDA.html http://theinf2.informatik.uni- jena.de/For+Students/CUDA.htmlhttp://theinf2.informatik.uni- jena.de/For+Students/CUDA.html
5
Organization Two-part course Two-part course Part 1: before Christmas Part 1: before Christmas –Present and learn about CUDA –Form student groups –Groups choose/are assigned projects Part 2: after Christmas Part 2: after Christmas –Groups work on and present their projects
6
The Bacardi Algorithm (courtesy of Elena Andreeva) Elena AndreevaElena Andreeva
7
The Bacardi Algorithm Bacardi Bacardi
8
The Bacardi Algorithm Bacardi Bacardi Bacar Bacar
9
The Bacardi Algorithm Bacardi Bacardi Bacar Bacar Wacar Wacar
10
The Bacardi Algorithm Bacardi Bacardi Bacar Bacar Wacar Wacar Waqar Waqar
11
GPGPU (Intro)
12
GPGPU GPGPU GPGPU
13
GPGPU –Graphical Processing Unit
14
GPGPU GPGPU GPGPU –Graphical Processing Unit –Handles values of pixels displayed on screen Highly parallel computation Highly parallel computation Optimized for parallel computations Optimized for parallel computations
15
GPGPU GPGPU GPGPU
16
GPGPU –General Purpose computing on GPU
17
GPGPU GPGPU GPGPU –General Purpose computing on GPU –Many non-graphics applications can be parallelized Can then be ported to a GPU implementation Can then be ported to a GPU implementation
18
GPGPU General info General info –http://www.gpgpu.org/ http://www.gpgpu.org/ –http://en.wikipedia.org/wiki/GPGPU http://en.wikipedia.org/wiki/GPGPU Variants Variants –GPGP –GP 2
19
Why GPU? (GPU vs. CPU) Specialized for rendering Specialized for rendering –Highly parallel, compute-intensive application –Multiple cores, high memory bandwidths
20
Why GPU? (GPU vs. CPU) More data processing transistors for More data processing transistors for –Flow control: same program for each data –Data caching: one arithmetic-intensive program, many data
22
So, why now? Previously Previously –Needed specialized graphics APIs –GPU DRAM had easy read but limited write capability Now, CUDA – Compute Unified Device Architecture Now, CUDA – Compute Unified Device Architecture –Minimal extension to C –GPU DRAM read & write
23
CUDA
24
Some setup issues CUDA ready cards CUDA ready cards –http://www.nvidia.com/object/cuda_learn_products.ht ml http://www.nvidia.com/object/cuda_learn_products.ht mlhttp://www.nvidia.com/object/cuda_learn_products.ht ml –CUDA ready machine available in pool CUDA can be run in emulation mode CUDA can be run in emulation mode –Will install CUDA in emu mode on pool PCs –Repeat at home on own machines
25
Some setup issues Signup for pool access Signup for pool access –Usernames need to be known to grant access to CUDA ready machine
26
All for today Next time Next time –Finalize course/people websites –CUDA programming model –Install CUDA on pool PCs
27
See you next week!
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.