0
我想让我的iMac运行Mac OS X Lion与NumPy 1.5.1和Python 2.6.0一起使用PyOpenCL。我已经第一次使用easy_install的安装PyOpenCL,然后我想它是如何在这里解释:http://wiki.tiker.net/PyOpenCL/Installation/MacPyOpenCL在OS X上无法正常工作,没有输出
当我运行演示脚本(http://documen.tician.de/pyopencl/#),它显示了OpenCL设备(英特尔酷睿i3和ATI Radeon HD5670),但是当我选择其中之一,两者都打印0.0
Choose device(s):
[0] <pyopencl.Device 'Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz' on 'Apple' at 0xffffffff>
[1] <pyopencl.Device 'ATI Radeon HD 5670' on 'Apple' at 0x1021b00>
Choice, comma-separated [0]:1
Set the environment variable PYOPENCL_CTX='1' to avoid being asked again.
0.0
这里怎么回事?提前致谢!