8000 Merge pull request #6 from raygit/updates_to_readme · wcork/arrayfire-java@6868523 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6868523

Browse files
committed
Merge pull request arrayfire#6 from raygit/updates_to_readme
Improvements to the README
2 parents 21d7fef + a8c36cf commit 6868523

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ Prerequisites
1212
- [Download binary installers](http://www.arrayfire.com/download)
1313
- [Build from source](https://github.com/arrayfire/arrayfire)
1414

15-
- The latest version of `JAVA SDK`. Make sure there is an environmental variable `JAVA_HOME` pointing to the root directory of java sdk installation.
15+
- The latest version of `JAVA SDK`. It has been tested with OpenJDK 1.7 and OpenJDK 1.8. Make sure there is an environmental variable `JAVA_HOME` pointing to the root directory of java sdk installation.
16+
17+
- CUDA
18+
- Tested for CUDA 7.5
1619

1720
- make
1821
- `GNU Make` on Linux
@@ -40,18 +43,22 @@ Usage
4043

4144
After you the necessary pre-requisites, edit the following paramets
4245

43-
- Open `Makefile` and change `AF_PATH` to the right location
46+
- Open `Makefile` and change `JAVA_HOME` together with `AF_PATH` to the right location
4447

4548

4649
### Linu 8000 x
4750

4851
- To build the JNI Wrapper for ArrayFire use
4952
- `make cuda` to build using CUDA
53+
- alternatively, you can pass in environment variables to the `Makefile` like this: `JAVA_HOME=<path to the Java SDK> AF_PATH=<path to ArrayFire> make cuda`
5054
- `make opencl` to build using OpenCL
55+
- alternatively, you can pass in environment variables to the `Makefile` like this: `JAVA_HOME=<path to the Java SDK> AF_PATH=<path to ArrayFire> make cuda`
5156

5257
- To build the examples do one of the following from the examples directory
5358
- `make cuda run ` to use build and run examples using CUDA
59+
- alternatively, you can pass in environment variables to the `Makefile` like this: `JAVA_HOME=<path to the Java SDK> AF_PATH=<path to ArrayFire> make cuda`
5460
- `make opencl run` to use build and run examples using OpenCL
61+
- alternatively, you can pass in environment variables to the `Makefile` like this: `JAVA_HOME=<path to the Java SDK> AF_PATH=<path to ArrayFire> make cuda`
5562

5663
Documentation
5764
---------------

0 commit comments

Comments
 (0)
0