PyCUDA: Even Simpler GPU Programming with Python

GPU Scripting PyOpenCL News RTCG Showcase

PyCUDA: Even Simpler GPU Programming with Python

Andreas Kl?ockner

Courant Institute of Mathematical Sciences New York University

Nvidia GTC ? September 22, 2010

Andreas Kl?ockner

PyCUDA: Even Simpler GPU Programming with Python

GPU Scripting PyOpenCL News RTCG Showcase

Thanks

Jan Hesthaven (Brown) Tim Warburton (Rice) Leslie Greengard (NYU) PyCUDA contributors PyOpenCL contributors Nvidia Corporation

Andreas Kl?ockner

PyCUDA: Even Simpler GPU Programming with Python

GPU Scripting PyOpenCL News RTCG Showcase

Outline

1 Scripting GPUs with PyCUDA 2 PyOpenCL 3 The News 4 Run-Time Code Generation 5 Showcase

Andreas Kl?ockner

PyCUDA: Even Simpler GPU Programming with Python

GPU Scripting PyOpenCL News RTCG Showcase

Outline

Overview Being Productive

1 Scripting GPUs with PyCUDA PyCUDA: An Overview Do More, Faster with PyCUDA

2 PyOpenCL

3 The News

4 Run-Time Code Generation

5 Showcase

Andreas Kl?ockner

PyCUDA: Even Simpler GPU Programming with Python

GPU Scripting PyOpenCL News RTCG Showcase

Whetting your appetite

Overview Being Productive

1 import pycuda.driver as cuda 2 import pycuda.autoinit 3 import numpy 4 5 a = numpy.random.randn(4,4).astype(numpy.float32) 6 a gpu = cuda.mem alloc(a.nbytes) 7 cuda.memcpy htod(a gpu, a)

[This is examples/demo.py in the PyCUDA distribution.]

Andreas Kl?ockner

PyCUDA: Even Simpler GPU Programming with Python

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download