- Feature parity with ArrayFire v3.6. Refer to the release notes for more information regarding upstream library improvements in v3.6.
anisotropic_diffusion()
: Anisotropic diffusion filter.topk()
: Returns top-K elements given an array.
- Bug fixes:
- Fixed
sift()
andgloh()
, which were improperly calling the library.
- Fixed
- Enhancements:
- Added
len()
method, which returnsarray.elements()
.
- Added
- Documentation:
- Documented statistics API.
- Corrected
sign()
documentation. - Modified
helloworld
example to match C++ lib.
- Bug fixes when using v3.5 of arrayfire libs + graphics
- Bug fixes for canny edge detection
-
Feature parity with ArrayFire 3.5.
canny
: Canny Edge detectorArray.scalar
: Return the first element of the arraydot
: Now support option to return scalarprint_mem_info
: Prints memory being used / locked by arrayfire memory manager.Array.allocated
: Returs the amount of memory allocated for the given buffer.set_fft_plan_cache_size
: Sets the size of the fft plan cache.
-
Bug Fixes:
sort_by_key
had key and value flipped in documentation.
-
Improvements and bugfixes from upstream include:
- CUDA backend uses nvrtc instead of nvvm
- Performance improvements to arrayfire.reorder
- Faster unified backend
- You can find more information at arrayfire's release notes
- Bugfix: Fixes typo in
approx1
. - Bugfix: Fixes typo in
hamming_matcher
andnearest_neighbour
. - Bugfix: Added necessary copy and lock mechanisms in interop.py.
- Example / Benchmark: New conjugate gradient benchmark.
- Feature: Added support to create arrayfire arrays from numba.
- Behavior change: af.print() only prints full arrays for smaller sizes.
- Fixing memory leak in array creation.
- Supporting 16 bit integer types in interop.
-
Feature parity with ArrayFire 3.4 libs
-
create_sparse
create_sparse_from_dense
create_sparse_from_host
convert_sparse_to_dense
convert_sparse
sparse_get_info
sparse_get_nnz
sparse_get_values
sparse_get_row_idx
sparse_get_col_idx
sparse_get_storage
-
- Three new random engines,
RANDOM_ENGINE.PHILOX
,RANDOM_ENGINE.THREEFRY
, andRANDOM_ENGINE.MERSENNE
. randu
andrandn
now accept an additional engine parameter.set_default_random_engine_type
get_default_random_engine
- Three new random engines,
-
New functions
-
Behavior changes
eval
now supports fusing kernels.
-
Graphics updates
plot
updated to take new parameters.plot2
added.scatter
updated to take new parameters.scatter2
added.vector_field
added.set_axes_limits
added.
-
-
Bug fixes
-
Further Improvements from upstream can be read in the arrayfire release notes.
- Adding 16 bit integer support
- Adding support for sphinx documentation
-
Bugfix: Increase arrayfire's priority over numpy for mixed operations
-
Added new library functions
get_backend
returns backend name
-
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
- Fixes to numpy interop on Windows
- Fixes issues with occasional double free
- Fixes to graphics examples
- Fixes to make arrayfire-python to work on 32 bit systems
-
Feature parity with Arrayfire 3.3 libs
- 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
- Functions to interact with arryafire's internal data structures.
-
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:
-
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.
-
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
-
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
- Feature parity with ArrayFire 3.1 libs
- Ability to interop with other python libs
- Ability to extract raw device pointers
- Load and Save arrays from disk
- Improved
__repr__
support
- Feature parity with ArrayFire 3.0 libs
- Ability to switch all backends
- Supports both python2 and python3