Skip to content

Syncleus/aparapi-examples

Repository files navigation

License Maven Central Gitter

A framework for executing native Java code on the GPU.

Licensed under the Apache Software License v2

This project is a collection of examples for the Aparapi project. For more information see the Aparapi website or the QOTO GitLab repository. An up-to-date mirror of this repository is also maintained on Github.

For detailed documentation see Aparapi.com.

For support please use Gitter or the official Aparapi mailing list and Discourse forum.

Please file bugs and feature requests at QOTO GitLab; a mirror of older issues can be found at Github.

Prerequisites

The examples should run on any system as-is. For GPU acceleration support you must have OpenCL installed and a compatible graphics card.

Aparapi runs on all operating systems and platforms, however GPU acceleration support is currently provided for the following platforms: Windows 64bit, Windows 32bit, Mac OSX 64bit, Linux 64bit, and Linux 32bit.

Obtaining the Source

The official source repository for Aparapi Examples is located in the Syncleus Github repository and can be cloned using the following command.

git clone https://git.qoto.org/aparapi/aparapi-examples.git

Running

To run the examples simply checkout the git tag for the version you want to run and execute it through maven. Unless you specifically want to try the latest snapshot it is important you checkout a specific git tag instead of the master branch. To use the snapshot in the master branch you will have to manually install the core aparapi snapshot that matches it since snapshots do not appear in maven central.

git checkout v3.0.0
mvn clean package exec:java