Giter Site home page Giter Site logo

gitter-badger / arrayfire-java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arrayfire/arrayfire-java

0.0 1.0 0.0 138 KB

Java wrapper for ArrayFire

License: BSD 3-Clause "New" or "Revised" License

Makefile 2.52% Java 51.57% C++ 44.48% C 1.42%

arrayfire-java's Introduction

arrayfire_java

This repository contains the files required to use ArrayFire from Java.

Prerequisites

  • The latest version of ArrayFire. You can get ArrayFire using one of the following:

  • The latest version of JAVA SDK. Make sure there is an environmental variable JAVA_HOME pointing to the root directory of java sdk installation.

  • make

    • GNU Make on Linux
  • C++ compiler

    • gcc or clang on Linux
  • OSX and Windows support coming soon

Contents

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

    • *.cpp The JNI wrapper files
    • jni_helper.h The JNI API helper functions
  • com/: Contains the Java source files implementing algorithms

  • lib/: The location where the JNI library is stored

  • examples: contains a few examples demonstrating the usage

Usage

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

  • Open Makefile and change AF_PATH to the right location

Linux

  • To build the JNI Wrapper for ArrayFire use

    • make cuda to build using CUDA
    • make opencl to build using OpenCL
  • To build the examples do one of the following from the examples directory

    • make cuda run to use build and run examples using CUDA
    • make opencl run to use build and run examples using OpenCL

Documentation

  • TODO

License

  • Please check the LICENSE file in the root directory

arrayfire-java's People

Contributors

pavanky avatar umar456 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.