<#part sign=pgpmime> On Fri, 09 Mar 2012 11:56:55 +0100, Karsten Wiesner <[email protected]> wrote: > The original error is probably fixed but I observe other platform > dependent problems (I attached the test program): > > @Mac: > ip74:pycbc-pycuda-pyopencl-tb kawies$ python divtest.py > /Users/kawies/local/lib/python2.6/site-packages/pyopencl-2011.2-py2.6-macosx-10.6-x86_64.egg/pyopencl/__init__.pyc > /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/__init__.pyc > Choose device(s): > [0] <pyopencl.Device 'GeForce GT 330M' on 'Apple' at 0x1022600> > [1] <pyopencl.Device 'Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz' > on 'Apple' at 0x1020400> > Choice, comma-separated [0]:1 > Set the environment variable PYOPENCL_CTX='1' to avoid being asked again. > <pyopencl.Context at 0x102615630 on <pyopencl.Device 'Intel(R) Core(TM) > i5 CPU M 540 @ 2.53GHz' on 'Apple' at 0x1020400>> > <pyopencl._cl.CommandQueue object at 0x1023d0628> > carr on host: [[ 5.+0.j 0.+0.j] > [ 0.+0.j 0.+0.j]] > garr on gpu: [[ 5.+0.j 0.+0.j] > [ 0.+0.j 0.+0.j]] > Traceback (most recent call last): > File "divtest.py", line 26, in <module> > res= garr / 5 > File > "/Users/kawies/local/lib/python2.6/site-packages/pyopencl-2011.2-py2.6-macosx-10.6-x86_64.egg/pyopencl/array.py", > > line 641, in __div__ > common_dtype = _get_common_dtype(self, other, self.queue) > File > "/Users/kawies/local/lib/python2.6/site-packages/pyopencl-2011.2-py2.6-macosx-10.6-x86_64.egg/pyopencl/array.py", > > line 50, in _get_common_dtype > has_double_support(queue.device)) > TypeError: get_common_dtype() takes exactly 2 arguments (3 given)
You're missing 'git submodule update'. Andreas _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
