【发布时间】:2018-03-20 16:05:15
【问题描述】:
我已经按照this link 中的说明安装了libgpuarray。
测试
python -c "import pygpu;pygpu.test()"
只给出一个错误序列,都以
结尾======================================================================
ERROR: pygpu.tests.test_blas.test_ger(4, 5, 'float32', 'f', 1, 1, False, True)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygpu-0.2.1-py2.7-macosx-10.9-x86_64.egg/pygpu/tests/test_blas.py", line 155, in ger
gr = gblas.ger(1.0, gX, gY, gA, overwrite_a=overwrite)
File "pygpu/blas.pyx", line 127, in pygpu.blas.ger (pygpu/blas.c:2681)
File "pygpu/blas.pyx", line 44, in pygpu.blas.pygpu_blas_rger (pygpu/blas.c:1561)
GpuArrayException: ('Device does not support operation', 8)
是否可以使用随 MacBook(2014 年初)提供的 Intel HD Graphics 5000 进行 GPU 编程?
【问题讨论】:
标签: python macos python-2.7 gpu