Skip to content

Commit 540c1f1

Browse files
committed
Update README showing rust-crate compatibility for ArrayFire
1 parent d1f8ce0 commit 540c1f1

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33
|:-------:|:-------:|:---:|
44
| [![Build Status](http://ci.arrayfire.org/buildStatus/icon?job=arrayfire-wrappers/rust-linux)](http://ci.arrayfire.org/view/All/job/arrayfire-wrappers/job/rust-linux/) | [![Build Status](http://ci.arrayfire.org/buildStatus/icon?job=arrayfire-wrappers/rust-windows)](http://ci.arrayfire.org/view/All/job/arrayfire-wrappers/job/rust-windows/) | [![Build Status](http://ci.arrayfire.org/buildStatus/icon?job=arrayfire-wrappers/rust-osx)](http://ci.arrayfire.org/view/All/job/arrayfire-wrappers/job/rust-osx/) |
55

6-
[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.4.x API. If you find any bugs, please report them [here](https://github.com/arrayfire/arrayfire-rust/issues).
6+
[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. Given below table shows the rust bindings compatability with ArrayFire. If you find any bugs, please report them [here](https://github.com/arrayfire/arrayfire-rust/issues).
7+
8+
| ArrayFire Upstream | Rust Crate |
9+
|:------------------:|:---------------:|
10+
| 3.3.x | 3.3.x |
11+
| 3.4.x | 3.4.x |
12+
13+
Only, Major & Minor version numbers need to match.
714

815
## Documentation
916

@@ -30,7 +37,8 @@ first.
3037
3. Make sure you add the path to library files to your path environment variables.
3138
- On Linux & OSX: do `export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$AF_PATH/lib`
3239
- On Windows: Add `%AF_PATH%\lib` to your PATH environment variable.
33-
4. Add `arrayfire = "3.4.1"` to the dependencies section of your project's Cargo.toml file.
40+
4. Add `arrayfire = "3.4.2"` to the dependencies section of your project's Cargo.toml file - 3.4.2
41+
is the lastest version of crate.
3442

3543
Once step (4) is over, you should be able to use ArrayFire in your Rust project. If you find any bugs, please report them [here](https://github.com/arrayfire/arrayfire-rust/issues).
3644

@@ -68,10 +76,6 @@ af_print!("Create a 5-by-3 matrix of random floats on the GPU", a);
6876
~/p/arrayfire_rust> cargo run --example helloworld
6977
...
7078
running 1 test
71-
ArrayFire v3.4.0 (CUDA, 64-bit Linux, build 10d9716)
72-
Platform: CUDA Toolkit 7.5, Driver: 361.42
73-
[0] GeForce GT 650M, 2048 MB, CUDA Compute 3.0
74-
7579
Create a 5-by-3 matrix of random floats on the GPU
7680
[5 3 1 1]
7781
0.7402 0.4464 0.7762

0 commit comments

Comments
 (0)