Buscar en este blog

Biembenido (a) !!!

Te encuentras en un sitio que ha sido pensado para divulgar contenido académico.

Buen provecho!!!

martes, 16 de agosto de 2011

Curso de programación en GPU

Post-PASI training: Week 1 » Panamerican Advanced Studies Institute » Boston University

Class 1 (August 8th):

Lecture 1 – slides

  • Understand the need for multi-core in applications
  • Manycore architecture:
    • GPU vs CPU chip design
    • Data parallelism
    • Concepts behind a CUDA-friendly algorithm
  • Basic CUDA:
    • C-like language
    • Threads and thread hierarchy
    • Launching a CUDA kernel
Lab 1 (August 9th):
Lab1 – slides
Lab1 – Codes
matrixMultiplication.cu
  • Familiarize with CUDA and nvcc compiler
  • Device query
  • Launch a simple vector add
  • Implement a matrix matrix multiplication
Class 2 (August 10th):
Lecture 2 – slides
  • Programming model: mapping the discretized model to the GPU threads
  • Warps and warp scheduling
  • Multilevel memory hierarchy
    • Shared, global, registers, textures, constant, texture memories
    • Sizes and latency
  • Fundamentals of the finite difference method
Lab 2 (August 11th):
Lab2 – Slides
Lab2 – Codes
FD_2D_global.cu
FD_2D_texture_pad.cu
  • Implementation 2D explicit heat transfer with global memory
  • Implementation 2D explicit heat transfer with texture memory
Class 3 (August 12th):
Lecture 3 – Slides
  • Shared memory in detail
  • Tiling
  • Bank conflicts
  • Race conditions and atomic operations

Panamerican Advanced Studies Institute

No hay comentarios:

Publicar un comentario

Gracias por comentar!

Comparte con tus amigos...

Calendario