arrayfire-python icon indicating copy to clipboard operation
arrayfire-python copied to clipboard

Python bindings for ArrayFire: A general purpose GPU library.

Results 57 arrayfire-python issues
Sort by recently updated
recently updated
newest added

This my code: ` X = af.image.load_image(F[0],is_color=True) win = af.Window(1280, 768, "imshow") win.image(X) ` It is throwing following error: > --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) in () ---->...

Inside a new thread, Arrayfire uses the default backend rather than the backend set by the parent thread: ```python >>> import arrayfire as af >>> af.get_available_backends() ('cpu', 'cuda', 'opencl') >>>...

Using this arrayfire release (https://arrayfire.s3.amazonaws.com/3.8.0/ArrayFire-v3.8.0_Linux_x86_64.sh) on the opencl backend with the python api I get the following error. ```python import arrayfire as af af.set_backend('opencl') random_signal = af.random.randn(100) test = af.signal.fft(random_signal)...

[This line](https://github.com/arrayfire/arrayfire-python/blob/28a0f610c5329ebc718ce4d924f870c3651bfb3e/arrayfire/library.py#L646) has a comment `# Iterate in reverse order of preference`. However, it loads them with some random order, because the object to iterate is a `set`, which doesn't...

I have include export LD_LIBRARY_PATH=/home/ztzhao/Downloads/arrayfire/lib64:$LD_LIBRARY_PATH in my ~/.bashrc, but when I want to run python -m arrayfire.tests it still can not load arrayfire libraries.

- Remove custom test runner tool - Add pytest runner (there is no need to install it locally from requirements because it is used as setup test requirement) These tests...

* Remove the check for `enum` import. _Motivation: check for enum's import error is unnecessary on modern python versions because its built-in library is available with a basic python build...

Hi, I am using MACOS, I have 1. Download and install binaries 2. pip install arrayfire 3. export DYLD_LIBRARY_PATH=/opt/arrayfire/lib:$DYLD_LIBRARY_PATH It can be used with command line But when I use...

Good day! Could you please Implement something like numpy.einsum (for OpenCL and CUDA)? In particular, I'm interested in row/column-wise outer product, like this, but einsum is very universal and useful...

The following tests (below) fail when `make test` is run on [Arrayfire 3.7.1](https://github.com/arrayfire/arrayfire/releases/tag/v3.7.1). I have installed the required dependencies as shown [here](https://github.com/arrayfire/arrayfire/wiki/Build-Instructions-for-Linux#cuda-backend-dependencies). Why are these tests failing? ```bash The following...