Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.51 KB

File metadata and controls

51 lines (33 loc) · 1.51 KB

Stencil Algorithm Parallelisation

This project explores the parallelisation of Iterative Stencil Loops using different implementations in Java.

Overview

Iterative stencil algorithms are widely used in solving partial differential equations and image processing. This project focuses on parallelising these algorithms to improve performance.

Implementations

  • Executor Service: Utilises Java's ExecutorService framework for parallel execution.
  • Aparapi: Leverages Aparapi for GPU-accelerated computations.
  • Pyjama: Uses the Pyjama research framework from the University of Auckland which utilises OpenMP-like directives to parallelise Java code.

Only the main branch explores the Pyjama implementation, which is under active development.

Getting Started

Downloading the JAR

You can download the latest JAR release here.

Running the JAR

To run the JAR file in your terminal:

  1. Navigate to the directory where StencilParallelisation.jar is downloaded.
  2. Execute the following command:
java -jar StencilParallelisation.jar

Running from Source

To run from source, follow these steps:

  1. Clone the repository:
git clone https://github.com/ravinravi03/Stencil-Algorithm-Parallelisation.git
  1. Navigate into the project directory:
cd Stencil-Algorithm-Parallelisation/Stencil
  1. Use Maven to execute the Java application:
mvn exec:java