Skip to content

Commit d405383

Browse files
committed
Updated README.md
Added new section for compiling standalone examples as well as information about running unified backend tests.
1 parent 93e8168 commit d405383

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

Diff for: README.md

+31-3
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,44 @@ Dockerfile for Building and Using ArrayFire https://github.com/arrayfire/arrayfi
88

99
## Building image
1010

11-
Make sure to modify ArrayFire's build arguments in the `Dockerfile` to suit
12-
your needs prior to running the following command:
13-
1411
```
1512
nvidia-docker build -t arrayfire .
1613
```
1714

15+
Make sure to modify ArrayFire's
16+
[build arguments](https://github.com/arrayfire/arrayfire-docker/blob/master/Dockerfile#L43)
17+
in the `Dockerfile` to suit your needs prior to building the image.
18+
1819
## Running container
1920

2021
```
2122
nvidia-docker run --rm -ti arrayfire
2223
```
2324

25+
Once running, invoke the
26+
[unified backend](http://arrayfire.org/docs/unifiedbackend.htm) test to show
27+
available devices for each of ArrayFire's backends:
28+
29+
```
30+
./build/test/backend_unified
31+
```
32+
33+
## Compiling stand-alone examples
34+
35+
```
36+
cp -R /opt/arrayfire/share/ArrayFire/examples /root/arrayfire-examples
37+
cd /root/arrayfire-examples && mkdir build && cd build
38+
cmake .. -DArrayFire_DIR=/opt/arrayfire/share/ArrayFire/cmake
39+
make -j8
40+
```
41+
42+
Take a look at the examples
43+
[`README.md`](https://github.com/arrayfire/arrayfire/blob/devel/examples/README.md)
44+
for more information.
45+
46+
### Support and Contact Info
47+
48+
* Google Groups: https://groups.google.com/forum/#!forum/arrayfire-users
49+
* ArrayFire Services: [Consulting](http://arrayfire.com/consulting/) | [Support](http://arrayfire.com/support/) | [Training](http://arrayfire.com/training/)
50+
* ArrayFire Blogs: http://arrayfire.com/blog/
51+
* Email: <mailto:[email protected]>

0 commit comments

Comments
 (0)