CUDA GPU Programming Workshop

From Gridkaschool
Revision as of 00:59, 6 September 2014 by Felice.pantaleo (talk | contribs) (How to connect to the machines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

While the computing community is racing to build tools and libraries to ease the use of these heterogeneous parallel computing systems, effective and confident use of these systems will always require knowledge about the low-level programming interfaces in these systems. This lecture is designed to introduce through examples and hands-on exercises, based on the CUDA programming language, the three abstractions that make the foundations of GPU programming:

  • Thread hierarchy
  • Synchronization
  • Memory hierarchy/Shared Memory



How to connect to the machines

First you need to connect to the GridKa School node:

ssh -p24 -XC username@gks-122.scc.kit.edu then you need to connect to the machine that was assigned to you. This can be achieved by exporting the following environmental variable

export KITID="your@email.address"

and connect to the machine:

ssh -o SendEnv=KITID guest@ipeclusterN.ipe.kit.edu -p22 -XC


alternative:

sudo service ssh stop; sudo ssh -f gpulogin@gks-122.scc.kit.edu -p24 -L 22:guest@ipeclusterN.ipe.kit.edu:22 -N