GitHub: PythonCode/OpenCL

demo

Simplest example: Executes a multiplication in the GPU of 2 numpy random vectors.

dot_product

Product of 4x4 matrix by 1X4 vector using dot product function from OpenCL library

benchmark

Prints output of the graphics card

SasCylinder folder:

gaussianDispersion

This does not use OpenCL. A test to plot gaussian dispersion. It is also used by the cylinder.py

run

Run’s the cylinder SAS Model in the GPU Uses cylinder.cpp and py and gaussianDispersion

Recent changes

  • 2016-12-13 452999d More tests
  • 2016-08-29 2b339f7 tests
  • 2016-06-18 527ee8d local mem and stride
  • 2016-06-13 e086da9 float3 element wise and reduction
  • 2016-06-11 2b3c546 pyopencl kernel nested kernels
  • 2016-06-11 502c9ca pyopencl kernel sequence not working
  • 2016-06-09 9034534 pyopencl float3 working
  • 2016-06-09 8573bae pyopencl i j in 3d vecs

Categories: experiments, Python

Tags: pythoncode

← Previous · Next →