【问题标题】:PyOpenCL 2020.1 - Device side queue is unimplementedPyOpenCL 2020.1 - 设备端队列未实现
【发布时间】:2020-05-15 15:27:37
【问题描述】:

我遇到了以前从未遇到过的 pyopencl 问题(请参阅下面的代码)

问题:设备端队列未实现 (clCreateCommandQueueWithProperties.c:93)

你们中有人遇到过这个问题吗? 你知道它是从哪里来的吗? 提前致谢!

user@debian_9.5:~# pip3 freeze | grep pyopencl
   pyopencl==2020.1


user@debian_9.5:~# python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.

   >>> import pyopencl as cl
   >>> ctx = cl.create_some_context()

   Choose platform:
   [0] <pyopencl.Platform 'Portable Computing Language' at 0x7fb1fbfba020>
   Choice [0]:0
   Set the environment variable PYOPENCL_CTX='0' to avoid being asked again.

   >>> print(ctx)
   <pyopencl.Context at 0x55c1e9a87440 on <pyopencl.Device 'pthread-AMD Ryzen Threadripper 1950X 16-Core Processor' on 'Portable Computing Language' at 0x55c1ea017430>>

   >>> queue = cl.CommandQueue(ctx)
   Device side queue is unimplemented (clCreateCommandQueueWithProperties.c:93)

我的设置如下:AMD-ryzen_1950X - debian_9.5 - python_3.5.3

【问题讨论】:

    标签: python-3.x debian opencl amd pyopencl


    【解决方案1】:

    解决了: user@debian_9.5:~# pip uninstall pyopencl && apt install python3-pyopencl

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-03-10
      • 2016-08-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-02
      • 2012-04-07
      相关资源
      最近更新 更多