arrayfire-python
arrayfire-python copied to clipboard
arrayfire.Array is_device option.
What does the option 'is_device' do in an arrayfire.Array? I can't find an entry in the documentation and would like to understand.
@sufkes This is for passing raw pointers that were created on a GPU device (using PyCUDA / PyOpenCL etc).
An example of how it can be used can be seen here: https://github.com/arrayfire/arrayfire-python/blob/master/arrayfire/interop.py#L114