Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

28 Commits

Repository files navigation

FastGPU 0.1.0 [ALPHA-2026-05-22] — High-Performance Native GPU Acceleration for Java

StatusLicense: MITJavaPlatformJitPack


🎮 Advanced GPU-accelerated computing and rendering for the FastJava ecosystem. Harness the power of DirectX, OpenCL, and Vulkan directly from Java.

FastGPU provides a high-performance bridge to modern graphics APIs for complex parallel computations and real-time rendering.


FastGPU Showcase


Table of Contents


Features

  • ⚡ DirectX Integration: High-speed rendering and compute via D3D11/D3D12.
  • ⚙️ OpenCL Support: Cross-platform GPU-accelerated parallel computing.
  • 📥 Zero-Copy Buffers: Efficient data sharing between CPU and GPU.
  • ⏱️ High Throughput: Optimized for real-time vision and rendering pipelines.

Installation

Prerequisites

For runtime GLSL kernel compilation (v0.2+), FastGPU requires the Vulkan SDK to be installed on your system to provide the glslc compiler. You can install it easily via winget:

winget install KhronosGroup.VulkanSDK

Demo Launcher

  • run-demo.bat starts the existing FastGPU demo.
  • run-demo2.bat starts the new fast fluid demo from examples/Demo2.

Option 1: Maven (Recommended)

Add the JitPack repository and the dependencies to your pom.xml:

<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<!-- FastGPU Library -->
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>fastgpu</artifactId>
<version>0.1.0</version>
</dependency>
<!-- FastCore (Required Native Loader) -->
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>fastcore</artifactId>
<version>0.1.0</version>
</dependency>
</dependencies>

Option 2: Gradle (via JitPack)

repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.andrestubbe:fastgpu:0.1.0'
implementation 'com.github.andrestubbe:fastcore:0.1.0'
}

Option 3: Direct Download (No Build Tool)

Download the latest JARs directly to add them to your classpath:

  1. 📦 fastgpu-0.1.0.jar (The Core Library)
  2. ⚙️ fastcore-0.1.0.jar (The Mandatory Native Loader)

Documentation

  • COMPILE.md: Full compilation guide (MSVC C++17 build chain + JNI Setup).
  • REFERENCE.md: Full API descriptions, border configurations, and codepoint index.
  • PHILOSOPHY.md: The engineering rationale for zero-allocation performance.
  • ROADMAP.md: Future milestones and planned features.

Platform Support

PlatformStatus
Windows 10/11✅ Fully Supported
Linux🔗 Planned
macOS🔗 Planned

License

MIT License See LICENSE for details.


Related Projects


Part of the FastJava EcosystemMaking the JVM faster. Small package. Maximum speed. Zero bloat. 🚀📋

About

🔥 High-performance native GPU acceleration for Java. Harness DirectX, OpenCL, and Vulkan directly from Java with zero-copy buffers and minimal overhead. Part of the FastJava ecosystem.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages