Re-sending this message, this time while subscribed to the list.
Hopefully it makes it through this time.
On Fri, Jan 22, 2016 at 3:28 PM, Brian Paterni <bpaterni(a)gmail.com> wrote:
In short, I'm doing some research on OpenCL, and to possibly avoid the
verbosity of C or C++, I'm exploring my options with pyopencl. Further,
to get up to speed with OpenCL, I'm working through examples in
Heterogeneous Computing with OpenCL 2.0.
One example in the book walks through computing a histogram of an image,
but while the example code provided (in C) works and produces the
expected output histogram, my attempt to translate the same program into
Python raises some question. the kernel runs and produces results that
resembles the reference histogram, only values are much, much larger
The code I'm working with is located at
which contains 2 branches. The Python implementations are located in
branch 'pyopencl' whereas C implementations are located in master.
I'm curious to know if I've misunderstood some aspect of pyopencl during
python reimplementation and would very much appreciate any help with
this issue I'm having.
Thank You :)