Examples of PyCuda usage
These examples used to be in the examples/ directory of the PyCUDA distribution, but were moved here for easier group maintenance.
If you'd like to play with these examples, just run download-examples-from-wiki.py in the examples directory. (v0.94 and later or current git)
Add your own!
If you have a nice, self-contained example to share, please type a page name here and start sharing:
(use a WikiName, please)
Existing Examples
- PyCUDA/Examples/Demo3DSurface
- PyCuda/Examples/2DFFT
- PyCuda/Examples/C++FunctionTemplates
- PyCuda/Examples/Convolution
- PyCuda/Examples/Demo
- PyCuda/Examples/DemoComplex
- PyCuda/Examples/DemoElementwise
- PyCuda/Examples/DemoMetaCgen
- PyCuda/Examples/DemoMetaCodepy
- PyCuda/Examples/DemoMetaMatrixmulCheetah
- PyCuda/Examples/DemoMetaTemplate
- PyCuda/Examples/DemoStruct
- PyCuda/Examples/DumpProperties
- PyCuda/Examples/FillGpuWithNans
- PyCuda/Examples/GlInterop
- PyCuda/Examples/GpuScalarMult
- PyCuda/Examples/HelloGpu
- PyCuda/Examples/KernelConcurrency
- PyCuda/Examples/LightField_3D_viewer
- PyCuda/Examples/Mandelbrot
- PyCuda/Examples/MatrixTranspose
- PyCuda/Examples/MatrixmulSimple
- PyCuda/Examples/MatrixmulTiled
- PyCuda/Examples/MeasureGpuarraySpeedRandom
- PyCuda/Examples/MultipleThreads
- PyCuda/Examples/PlotRandomData
- PyCuda/Examples/Rotate
- PyCuda/Examples/SelectToList
- PyCuda/Examples/SimpleSpeedTest
- PyCuda/Examples/SobelFilter
- PyCuda/Examples/SparseSolve
- PyCuda/Examples/ThrustInterop
- PyCuda/Examples/UsingPrintf
