首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PyOpenCL 2020.1 -设备端队列未实现

PyOpenCL 2020.1 -设备端队列未实现
EN

Stack Overflow用户
提问于 2020-05-15 15:27:37
回答 1查看 45关注 0票数 0

我正面临着一个前所未有的问题(见下面的代码)。

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

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

代码语言:javascript
复制
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_1950X- debian_9.5 - python_3.5.3

EN

回答 1

Stack Overflow用户

发布于 2020-05-15 15:49:06

解决方法: user@debian_9.5:~# pip卸载pyopencl & apt安装python3-pyopencl

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61822816

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档