arrayfire / arrayfire/arrayfire-python

Error when using af.set_backend('cuda')

Open
#202 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
422
Forks
63
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.