Python PyOpenCL在OS X上无法正常工作,没有输出

Python PyOpenCL在OS X上无法正常工作,没有输出,python,macos,pyopencl,Python,Macos,Pyopencl,我正试图让PyOpenCL在运行Mac OS X Lion的iMac上使用NumPy 1.5.1和Python 2.6.0。我首先使用easy_install安装了PyOpenCL,然后我尝试了这里的解释: 当我运行演示脚本()时,它会显示OpenCL设备(Intel Core i3和ATI Radeon HD5670),但当我从两个设备中选择一个时,它们都会打印0.0 Choose device(s): [0] <pyopencl.Device 'Intel(R) Core(TM

我正试图让PyOpenCL在运行Mac OS X Lion的iMac上使用NumPy 1.5.1和Python 2.6.0。我首先使用easy_install安装了PyOpenCL,然后我尝试了这里的解释:

当我运行演示脚本()时,它会显示OpenCL设备(Intel Core 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
选择设备:
[0] 
[1] 
选项,逗号分隔[0]:1
设置环境变量PYOPENCL_CTX='1'以避免再次被询问。
0

这里出了什么问题?提前谢谢

在脚本末尾:

print la.norm(a_plus_b - (a+b))
因此,如果一切正常,0.0是预期的返回值