Releases: arrayfire/arrayfire-python
Releases · arrayfire/arrayfire-python
Third bugfix release for v3.3
- Bugfix to
af.histogram
- Added missing functions / methods
gaussian_kernel
- Added new array properties
Array.T
now returns transposeArray.H
now returns hermitian transposeArray.shape
now allows easier access individual dimensions
Second bugfix release of v3.3
- Fixes to numpy interop on Windows
- Fixes issues with occasional double free
- Fixes to graphics examples
First bugfix release for arrayfire-python v3.3
- Fixes to make arrayfire-python to work on 32 bit systems
Python wrapper for ArrayFire 3.3
- 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
andstrides
as optional parameters. - New visualization functions:
scatter
andscatter3
- 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
andfree_host
alloc_pinned
andfree_pinned
alloc_device
andfree_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
- Array constructor now takes
- 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 differentarray
to arrayfire Array.- This function can be used in place of
af.xyz_to_af_array
functions mentioned above.
- This function can be used in place of
- Transfer PyCUDA GPUArrays using
- Deprecated functions list
lock_device_ptr
is deprecated. Uselock_array
instead.unlock_device_ptr
is deprecated. Useunlock_array
instead.
- Bug Fixes:
- Boolean indexing giving faulty results for multi dimensional arrays.
- Enum types comparision failures in Python 2.x
- Support loading SO versioned libraries in Linux and OSX.
- Fixed typo that prevented changing backend
- Fixed image processing functions that accepted floating point scalar paramters.
- Affected functions include:
translate
,scale
,skew
,histogram
,bilateral
,mean_shift
.
- Affected functions include:
Second bugfix release to v3.2
- Bug fixes:
- A default
AF_PATH
is set if none is found as an environment variable.
- A default
- Examples:
- Heston model example uses a smaller data set to help run on low end GPUs.
First minor update to arrayfire-python v3.2
- Bug fixes:
get_version()
now returns ints instead ofc_int
- Fixed bug in
tests/simple/device.py
- The module now looks at additional paths when loading ArrayFire libraries.
- Link to the wiki is provided when
ctypes.cdll.LoadLibrary
fails.
- Link to the wiki is provided when
- New function:
info_str()
returns information similar toinfo()
as a string.
- Updated README.md with latest instructions
Python wrapper for ArrayFire 3.2
- Feature parity with ArrayFire 3.2 libs
- New computer vision functions:
sift
,gloh
,homography
- New graphics functions:
plot3
,surface
- Functions to load and save native images:
load_image_native
,save_image_native
- Use
unified
backend when possible
- New computer vision functions:
- Added missing functions
eval
,init
,convolve2_separable
,as_type
methodcuda
backend specific functionsopencl
backend specific functionstimeit
function to benchmark arrayfire functions
- Added new examples
- getting_started:
intro
,convolve
- benchmarks:
bench_blas
,bench_fft
- financial:
monte_carlo_options
,black_scholes
,heston_model
- graphics:
fractal
,histogram
,plot3d
,conway
,surface
- getting_started:
- Bug fixes
- Fixed bug when array types were being reported incorrectly
- Fixed various bugs in graphics functions
Python wrapper for ArrayFire 3.1
- Feature parity with ArrayFire 3.1 libs
- Ability to interop with other python libraries
- Ability to extract raw device pointers
- Save arrays to disk and read arrays from disk.
__repr__
support
Python wrapper for ArrayFire 3.0
- Feature parity with ArrayFire 3.0 libs
- Ability to switch all backends
- Supports both python2 and python3