arrayfire / arrayfire/arrayfire-python

Error when using af.set_backend('cuda')

オープン
#202 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
422
フォーク
63
PR マージ指標
30日以内にマージされた PR はありません

説明

When I try to switch backend using `af.set_backend('cuda')`, I got error like:

![report](https://user-images.githubusercontent.com/18741082/51801038-71f55e00-2273-11e9-8007-0b17650f1ada.PNG)

It seems that I do not have cuda devices as candiated backend although I have 8 gpus in fact, and the output of `af.info()`
```
In [2]: af.info()
ArrayFire v3.6.2 (CPU, 64-bit Linux, build dc38ef1)
[0] Intel: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz, 257588 MB, Max threads(44)
```
and `af.get_backend()`
```
In [2]: af.get_backend()
Out[2]: 'unified'
```
So does I missing something when installing the package?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the reported af.set_backend('cuda') failure and compare af.info() and af.get_backend() with the reported CPU-only output. Inspect the Python package's backend-loading and installation entry points; done means a correctly installed CUDA-capable environment exposes the CUDA backend or the missing requirement is documented clearly.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。