~/talk

Exploit your GPU power with PyCUDA (and friends)

Talkat EuroPython 2011 · 2011-06-20..06-26· [python]
links:none on file
slides:none on file

CUDA is NVIDIA's GPU platform (since 2006) and PyCUDA gives direct access with automatic object cleanup, error-to-exception mapping and PyCUDA source module compiles GPU code at runtime. A simple vector add launches one thread per element but shows vector add shows no speed-up due to memory transfer; real gains require high arithmetic intensity and careful kernel tuning (kernel optimizations can reach ~30× in published reductions, Mark Harris gets 30x reduction optimization). Higher-level options: Copperhead compiles a restricted Python subset with @cu (still immature), Theano compiles math expressions to GPU via an env var and excels at linear algebra but not all ops are faster on GPU.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Topics
  3. 2:00GPU
  4. 2:35CPU vs GPU
  5. 3:20GPU computing
  6. 4:45CUDA vs OpenCL
  7. 10:00CUDA Programming Model
  8. 11:35Memory Spaces
  9. 12:55khuda
  10. 14:30sum of vectors
  11. 16:05Imports
  12. 17:55Code
  13. 22:50Medical intensity
  14. 23:25Practical intensity
  15. 26:30Cooperation
  16. 31:00When to use PyCUDA
  17. 31:40PyCUDA vs CUDA
  18. 33:40Cons
  19. 40:30Summary
  20. 42:05Metrics
  21. 45:15Highlevel functions
  22. 47:05Questions
  23. 53:05Is everything more complicated
  24. 54:35Nvidia libraries
  25. 56:35Modern GPUs
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.