Skip to content

arrayfire/arrayfire-fortran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arrayfire-fortran

This project provides Fotran bindings for ArrayFire.

Prerequisites

Contents

  • src/: Contains the source files for the ArrayFire Fortran wrapper

    • fortran_wrapper.cpp The C++ part of the wrapper
    • arrayfire.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

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.

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 examplename in bin directory)

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.

About

Fortran wrapper for ArrayFire

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy