Skip to content

Python wrapper for ArrayFire 3.3

Compare
Choose a tag to compare
@pavanky pavanky released this 20 Mar 23:40
· 198 commits to master since this release
  • Functions to interact with arryafire's internal data structures.
    - Array.offset
    - Array.strides
    - Array.is_owner
    - Array.is_linear
    - Array.raw_ptr
    • Array constructor now takes offset and strides as optional parameters.
    • New visualization functions: scatter and scatter3
    • OpenCL backend specific functions:
      • get_device_type
      • get_platform
      • add_device_context
      • delete_device_context
      • set_device_context
    • Functions to allocate and free memory on host and device
      • alloc_host and free_host
      • alloc_pinned and free_pinned
      • alloc_device and free_device
    • Function to query which device and backend an array was created on
      • get_device_id
      • get_backend_id
    • Miscellaneous functions
      • is_lapack_available
      • is_image_io_available
  • Interopability
    • Transfer PyCUDA GPUArrays using af.pycuda_to_af_array
    • Transfer PyOpenCL Arrays using af.pyopencl_to_af_array
    • New helper function af.to_array added to convert a different array to arrayfire Array.
      • This function can be used in place of af.xyz_to_af_array functions mentioned above.
  • Deprecated functions list
    • lock_device_ptr is deprecated. Use lock_array instead.
    • unlock_device_ptr is deprecated. Use unlock_array instead.
  • Bug Fixes: