arrayfire-rust v3.7.2 Release Notes

Release Date: 2020-10-06 // over 3 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 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

    ๐Ÿ‘Œ 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 and Dim4 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.