python,parallel-processing,pyopencl

In numpy all objects contained in the same array have a common data type. This data type is specified in the attribute dtype of the array. (numpy.array doc, numpy datatypes) Data in your array a_h is of data type float64 (64bit float). As your kernel is expecting 32bit floats (float32)...

linux,opencl,gpgpu,nvidia,pyopencl

NVIDIA have a whitepaper for the NVIDIA GeForce GTX 750 Ti, which is worth a read. An OpenCL compute unit translates to a streaming multiprocessor in NVIDIA GPU terms. Each Maxwell SMM in your GPU contains 128 processing elements ("CUDA cores") - and 128*5 = 640. The SIMD width of...

Well I got it running with Python(x,y) version 2.7. Everything just worked when i installed mako, pytools, numpy, and pyopencl (2012.2). Using only binaries from http://www.lfd.uci.edu/~gohlke/pythonlibs/. Is it perhaps 2012.2 using opencl 1.1? Because I only got a hold of 2013.2 and 2014.1 for py3.4

As far as I know, there is no such overview. I'll try to list some key points: pyOpenCL is a mature project with a relatively large user base. There are tutorials, FAQ, etc. opencl4py appeared on 03/2014; no tutorials, FAQ and so on - only unit tests and docstrings. pyOpenCL...

python-2.7,memory,pyopencl,pythonxy

You said it crashed on a line like this: s = zeros((A,B,C),complex128) With A=2400, B=256, C=25. That would require 235 MB of memory. And not just any 235 MB: it must be contiguous, because NumPy expects to use it as a single array. You also mentioned you're running this in...