@@ -8,16 +8,44 @@ Dockerfile for Building and Using ArrayFire https://github.com/arrayfire/arrayfi
8
8
9
9
## Building image
10
10
11
- Make sure to modify ArrayFire's build arguments in the ` Dockerfile ` to suit
12
- your needs prior to running the following command:
13
-
14
11
```
15
12
nvidia-docker build -t arrayfire .
16
13
```
17
14
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
+
18
19
## Running container
19
20
20
21
```
21
22
nvidia-docker run --rm -ti arrayfire
22
23
```
23
24
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