arrayfire-rust v3.7.2 Release Notes
Release Date: 2020-10-06 // almost 4 years ago-
v3.7.2
๐ This fix release fixes a critical bug regarding thread safety of structure wrappers of ArrayFire objects. This bug was inadvertently introduced in the v3.7.1 release. Hence, we are going to yank that version from crates.io. Existing users of v3.7.1 will still be able to use that crate version although multi-threaded code might not work as expected. We strongly recommend upgrading to v3.7.2 for all users.
๐ Improvements
๐ Apart from fixing the critical bug we have also added a new tutorial to our book with short code examples on how to use ArrayFire in multi-threaded programs
Thank you! everyone.
Previous changes from v3.7.1
-
v3.7.1
Major Enhancements
- ๐ We are pushing two additional crates in this release to help inter-operation with RAW CUDA/OpenCL code from rust.
- Couple of new macros to help improve the syntax for indexing and modifying portions of Arrays. Checkout out the new set of examples from indexing tutorial.
๐ Improvements
- โ Added IndexMut trait implementation for Dim4 structure - #230
- โ Added support to let users create Array from raw device pointers - #234
- โ Added example for
Array::host
method - #220 - โ Added functions (missing FFI wrappers) to handle Pinned memory allocation and free functions - #238
- โ Added bit shift trait implementations for Array by unsigned integer types - #236
- Marked C FFI handle getter from Structures as unsafe - #234
- ๐ Improved documentation of batch parameter for arithmetic functions - #234
- ๐ Improved reorder_v2 function documentation - #218
- ๐จ Refactored AfError Enum to use fmt::Display instead of error::Error - #224
- ๐จ Refactored whole array reduce functions to use appropriate output type - #242
- โก๏ธ Updated indexing tutorials in md-book to include macro based examples - #239
- โ Added new macros dim4 and seq to easily enable creation of
Seq
andDim4
objects - #230 - ๐ Fixed crate qualifier for functions used inside macro - #230
๐ Fixes
- ๐ Fixed AfError Enum C representation to u32 for consistency - #234
- ๐ Fixed axes computation in reorder_v2 function - #216
- ๐ Fixed clippy warnings in data module tests - #218
- ๐ Fixed documentation - #236 , #234 and #216
- ๐ Fixed mutability of left-hand-size parameters of assignment operations(functions) - #224
- ๐ Fixed pad FFI arguments in wrapper code - #247
- ๐ Fixed set_row internal logic to handle unit vectors - #247
- ๐ Fixed unused import warning in error handler test - commit
๐ Improvements in Upstream
๐ For information on improvements and bug fixes made in the upstream, ArrayFire, please refer to the following two release notes.
Community Contributors
Thank you! everyone.