This project provides Fotran bindings for ArrayFire.
-
The latest version of ArrayFire. You can get ArrayFire in the following ways.
-
gfortran
-
make
-
src/
: Contains the source files for the ArrayFire Fortran wrapperfortran_wrapper.cpp
The C++ part of the wrapperarrayfire.f90
The 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
After you the necessary pre-requisites, edit the following paramets in common.mk
- Change
AF_PATH
to the right location - Change
AF_LIB_NAME
to point to the right backend.
-
To build the Fortran Wrapper for ArrayFire run
make all
(generateslibaf_fortran.so
)
-
To build the examples do one of the following from the examples directory
make -C examples
(generatesexamplename
inbin
directory)
- Work under progress
This project is licensed under BSD 3 clause license.
Please check the LICENSE file in the root directory for more information.