arrayfire / arrayfire/arrayfire-python

Error when using af.set_backend('cuda')

未關閉
#202 1 則留言 0 個 reaction 已指派 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?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。