1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

CUDA 10.1 + Windows 10でPyOpenCLを使った際の'CL/cl.h'が無い場合の解決方法

Last updated at Posted at 2021-03-15

CUDA 10.1 + Windows 10 (64bit)環境下でPyOpenCLを使う際にはまった所の解決方法を書きます
import pyopenclして、
下記のように'CL/cl.h'が無いよと言われた場合、

Cannot open include file: 'CL/cl.h': No such file or directory error:

下のカリフォニア大学アーバイン校のサイトからプリコンパイルされた.whlをインストールすることで解決できます。

例えば、64bit環境下でPython 3.7の場合、
pyopencl‑2021.1.3+cl12‑cp37‑cp37m‑win_amd64.whlをダウンロードして下さい。

参考URL:
https://forum.image.sc/t/error-while-installing-pyopencl-on-windows-10/44534

加藤 翼
株式会社インスパイアサーチ CEO / サーチエンジニア
https://www.inspiresearch.io

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?