@@ -6,31 +6,30 @@ This repository contains the files required to use ArrayFire from Java.
6
6
Prerequisites
7
7
---------------
8
8
9
- - The latest version of ArrayFire. You can [ download here] ( http://www.arrayfire.com/docs/installation.htm )
10
- - All the pre-requisites for ArrayFire still apply.
9
+ - The latest version of ArrayFire. You can get ArrayFire using one of the following:
10
+ - [ Download binary installers] ( http://www.arrayfire.com/download )
11
+ - [ Build from source] ( https://github.com/arrayfire/arrayfire )
11
12
12
13
- The latest version of ` JAVA SDK ` . Make sure there is an environmental variable ` JAVA_HOME ` pointing to the root directory of java sdk installation.
13
14
14
15
- make
15
- - ` GNU Make ` on ` Linux `
16
- - ` nmake ` on ` Windows `
16
+ - ` GNU Make ` on Linux
17
17
18
18
- C++ compiler
19
- - ` gcc/g++ ` on Linux
20
- - ` Visual Studio 2012 ` for ` Windows ` .
19
+ - ` gcc ` or ` clang ` on Linux
21
20
22
- - OSX support coming soon.
21
+ - OSX and Windows support coming soon
23
22
24
23
Contents
25
24
---------------
26
25
27
26
- ` src/ ` : Contains the source files for the ArrayFire Java wrapper
28
- - ` java_wrapper .cpp` The JNI wrapper file
29
- - ` java_wrapper .h` The JNI API definitions
27
+ - ` * .cpp` The JNI wrapper files
28
+ - ` jni_helper .h` The JNI API helper functions
30
29
31
- - ` com/ ` : Contains the Java source files implementing ` Array ` and ` Image ` classes
30
+ - ` com/ ` : Contains the Java source files implementing algorithms
32
31
33
- - ` lib/ ` , ` lib64/ ` : The location where the JNI library is stored
32
+ - ` lib/ ` : The location where the JNI library is stored
34
33
35
34
- ` examples ` : contains a few examples demonstrating the usage
36
35
@@ -52,23 +51,6 @@ After you the necessary pre-requisites, edit the following paramets
52
51
- ` make cuda run ` to use build and run examples using CUDA
53
52
- ` make opencl run ` to use build and run examples using OpenCL
54
53
55
-
56
- ### Windows
57
-
58
- - To build the JNI Wrapper for ArrayFire
59
- - Verify if the following macros are correctly defined in the file ` Makefile.Windows ` .
60
- - Ensure that ` VC_ROOT ` points to Visual-C (VC) installation path.
61
- - Ensure that ` WINSDK_X64 ` points to Windows SDK X64 library path.
62
- - Launch ` Developer command prompt for Visual Studio 2012 ` .
63
- - ` cd <Repository root> ` .
64
- - ` nmake /F Makefile.Windows af_java ` to build wrapper dll using CUDA.
65
- - OpenCL support coming soon.
66
-
67
- - To build and run the examples
68
- - ` nmake /F Makefile.Windows examples ` to build all examples.
69
- - ` nmake /F Makefile.Windows ` to build and run all examples.
70
-
71
-
72
54
Documentation
73
55
---------------
74
56
- TODO
@@ -77,4 +59,3 @@ License
77
59
---------------
78
60
79
61
- Please check the LICENSE file in the root directory
80
-
0 commit comments