arrayfire-fortran
                                
                                 arrayfire-fortran copied to clipboard
                                
                                    arrayfire-fortran copied to clipboard
                            
                            
                            
                        Fortran wrapper for ArrayFire
arrayfire-fortran
This project provides Fotran bindings for ArrayFire.
Prerequisites
- 
The latest version of ArrayFire. You can get ArrayFire in the following ways. 
- 
gfortran
- 
make
Contents
- 
src/: Contains the source files for the ArrayFire Fortran wrapper- fortran_wrapper.cppThe C++ part of the wrapper
- arrayfire.f90The fortran part of the wrapper
 
- 
lib/The location where the wrapper library and the fortran module are stored.
- 
examples: contains a few examples demonstrating the usage
Usage
After you the necessary pre-requisites, edit the following paramets in common.mk
- Change AF_PATHto the right location
- Change AF_LIB_NAMEto point to the right backend.
Linux
- 
To build the Fortran Wrapper for ArrayFire run - make all(generates- libaf_fortran.so)
 
- 
To build the examples do one of the following from the examples directory - make -C examples(generates- examplenamein- bindirectory)
 
Documentation
- Work under progress
License
This project is licensed under BSD 3 clause license.
Please check the LICENSE file in the root directory for more information.