arrayfire for Mac
General purpose GPU library
arrayfire — overview
ArrayFire is a general-purpose tensor library that simplifies the software development process for the parallel architectures found in CPUs, GPUs, and other hardware acceleration devices. The library serves users in every technical computing market.
Several of ArrayFire's benefits include:
Hundreds of accelerated tensor computing functions, in the following areas: Array handling Computer vision Image processing Linear algebra Machine learning Standard math Signal Processing Statistics Vector algorithms Easy to use, stable, well-documented API Rigorous benchmarks and tests ensuring top performance and numerical accuracy Cross-platform compatibility with support for CUDA, oneAPI, OpenCL, and native CPU on Windows, Mac, and Linux Built-in visualization functions through
Commercially friendly open-source licensing Enterprise support from ArrayFire
ArrayFire provides software developers with a high-level abstraction of data that resides on the accelerator, the af::array object. Developers write code that performs operations on ArrayFire arrays, which, in turn, are automatically translated into near-optimal kernels that execute on the computational device.
ArrayFire runs on devices ranging from low-power mobile phones to high-power GPU-enabled supercomputers. ArrayFire runs on CPUs from all major vendors (Intel, AMD, ARM), GPUs from the prominent manufacturers (AMD, Intel, NVIDIA, and Qualcomm), as well as a variety of other accelerator devices on Windows, Mac, and Linux.
Getting ArrayFire
Instructions to install or to build ArrayFire from source can be found on the wiki.
Conway's Game of Life Using ArrayFire
Visit the Wikipedia page for a description of Conway's Game of Life.
The complete source code can be found here.
Perceptron
The complete source code can be found here.
For more code examples, visit the examples/ directory.
Experimental backends
Community-contributed backends that are not part of ArrayFire releases live on their own branches. They build from source only and are not covered by the release test matrix.
Pull requests for these backends should target their branch, not master.
Documentation
You can find the complete documentation here.
Quick links:
List of functions Tutorials Examples Blog
Language support
ArrayFire has several official and community maintained language API's:
† †
† Community maintained wrappers
__In-Progress Wrappers__
Contributing
The community of ArrayFire developers invites you to build with us if you are interested and able to write top-performing tensor functions. Together we can fulfill The ArrayFire Mission for fast scientific computing for all.
Contributions of any kind are welcome! Please refer to the wiki and our Code of Conduct to learn more about how you can get involved with the ArrayFire Community through Sponsorship, Developer Commits, or Governance.
Citations and Acknowledgements
Details
通用 GPU 库
How to install arrayfire
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-11-11; current version v3.10.1, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v3.10.1 | 2026-11-11 | Stable | — | — | — | — |
| v3.10.0 | 2025-09-05 | Stable | — | — | — | — |
| v3.9.0 | 2023-08-29 | Stable | — | — | — | — |
| v3.8.3 | 2023-02-13 | Stable | — | — | — | — |
| v3.8.2 | 2022-05-19 | Stable | — | — | — | — |
| v3.8.1 | 2022-01-18 | Stable | — | — | — | — |
| v3.8.0 | 2021-01-08 | Stable | — | — | — | — |
| v3.7.3 | 2020-11-23 | Stable | — | — | — | — |
| v3.7.2 | 2020-07-13 | Stable | — | — | — | — |
| v3.8.rc | 2020-10-05 | Pre-release | — | — | — | — |
Data from GitHub Releases; stable releases first, each group sorted newest first.
Compared with similar apps
Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| arrayfire | v3.10.1 | BSD-3-Clause | CLI | 2 |
| portable-zlib | 1.3.2 | Zlib | CLI | 1 |
| yacas | v1.9.1 | LGPL-2.1-or-later | CLI | 1 |
| gsar | 1.51 | GPL-2.0-only | CLI | 0 |
Similar apps: Command-line Tools
portable-zlib
portable-zlib is a general-purpose lossless data compression library provided as a command-line…yacas
General purpose computer algebra systemgsar
gsar is a command-line tool designed specifically for general search and replace operations…openssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratiopkgconf
pkgconf is a program which helps to configure compiler and linker flags for development…Categories: Command-line Tools