You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The wrapper is currently compliant with ArrayFire 3.0 API. You can find the documentation [here](http://arrayfire.github.io/arrayfire-rust/arrayfire/index.html). If you find any bugs, please report them [here](https://github.com/arrayfire/arrayfire-rust/issues).
3
+
[ArrayFire](https://github.com/arrayfire/arrayfire) is a high performance library for parallel computing with an easy-to-use API. It enables users to write scientific computing code that is portable across CUDA, OpenCL and CPU devices. This project provides Rust bindings for the ArrayFire library. The wrapper is currently compliant with ArrayFire 3.0 API. You can find the documentation [here](http://arrayfire.github.io/arrayfire-rust/arrayfire/index.html). If you find any bugs, please report them [here](https://github.com/arrayfire/arrayfire-rust/issues).
4
4
5
-
## Building & Running
5
+
## Build
6
6
7
-
Edit [build.conf](build.conf) to modify the build flags. The structure is a simple JSON blob.
8
-
Currently Rust does not allow key:value pairs to be passed from the CLI.
9
-
To use an existing arrayfire installation modify the first three JSON values.
7
+
Edit [build.conf](build.conf) to modify the build flags. The structure is a simple JSON blob. Currently Rust does not allow key:value pairs to be passed from the CLI. To use an existing ArrayFire installation modify the first three JSON values. You can install ArrayFire using one of the following two ways.
10
8
11
-
To build arrayfire:
9
+
-[Download and install binaries](https://arrayfire.com/download)
10
+
-[Build and install from source](https://github.com/arrayfire/arrayfire)
11
+
12
+
To build arrayfire submodule available in the rust wrapper, you have to do the following.
12
13
13
14
```bash
14
15
git submodule update --init --recursive
15
16
cargo build
17
+
```
18
+
This is recommended way to build Rust wrapper since the submodule points to the most compatible version of ArrayFire the Rust wrapper has been tested with. You can find the ArrayFire dependencies below.
0 commit comments