Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 479 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 479 Bytes

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