Skip to content

mattelser/PyOpenCL_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyOpenCL examples

Just a few demos I found useful to create while learning PyOpenCL

Contents

  • sineOfTheTimes1d.py - operating on a flattened array, using only array_to_device to handle the buffers and mem copy
  • sineOfTheTimes.py - use Image memory object and more manually manage memory. Plus this cool output: sine o' the times

requirements

requires the following modules:

  • numpy
  • pyopencl
  • opencv-python for display purposes

About

pyopencl demo(s) for learning purposes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages