aparapi | New Official Aparapi : a framework for executing native Java | GPU library

 by   Syncleus Java Version: 1.0.0 License: Apache-2.0

kandi X-RAY | aparapi Summary

kandi X-RAY | aparapi Summary

aparapi is a Java library typically used in Hardware, GPU applications. aparapi has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has high support. You can download it from GitHub, Maven.

a framework for executing native java code on the gpu. aparapi allows developers to write native java code capable of being executed directly on a graphics card gpu by converting java byte code to an opencl kernel dynamically at runtime. because it is backed by opencl aparapi is compatible with all opencl compatible graphics cards. a gpu has a unique architecture that causes them to behave differently than a cpu. one of the most noticeable differences is that while a typical cpu has less than a dozen cores a high end gpu may have hundreds of cores. this makes them uniquely suited for data-parallel computation that can result in speedups hundreds of times more than what
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              aparapi has a highly active ecosystem.
              It has 429 star(s) with 62 fork(s). There are 54 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 43 open issues and 67 have been closed. On average issues are closed in 141 days. There are 8 open pull requests and 0 closed requests.
              It has a positive sentiment in the developer community.
              The latest version of aparapi is 1.0.0

            kandi-Quality Quality

              aparapi has 0 bugs and 0 code smells.

            kandi-Security Security

              aparapi has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              aparapi code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              aparapi is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              aparapi releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 34065 lines of code, 3173 functions and 553 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed aparapi and discovered the below as its top functions. This is intended to give you an instant insight into aparapi implemented functionality, and help decide if they suit your requirements.
            • Writes a method call to the writer
            • Get the mapped method name
            • Writes the given instruction to the stream
            • Returns the best call target for the given method entry
            • Creates a human - readable view of the instructions
            • Initializes the method list
            • Fills the composites
            • Updates all accessors for an object member field
            • Get a field from class hierarchy
            • Creates a human readable view of the instructions
            • Compares this object with the specified key
            • Gets the latest profiling report for the specified kernel
            • Get the list of stages names
            • Returns a string summary for this device
            • Create a MethodDescription from a String
            • Gets a profiling report for the last thread in the specified device
            • Returns a string representation of this shape
            • Removes the given branch
            • Returns a string representation of this entry
            • Generate the summary of the kernel profiles
            • Resolve a call to a kernel class
            • Returns a string representation of this profile info
            • Creates a report about the device usage
            • Parse the class file
            • Creates a javap view
            • Main entry point
            Get all kandi verified functions for this library.

            aparapi Key Features

            No Key Features are available at this moment for aparapi.

            aparapi Examples and Code Snippets

            No Code Snippets are available at this moment for aparapi.

            Community Discussions

            QUESTION

            Is there a way to get 32 bit (float) values out of Math.sin() or a similar class, maybe smth like Math.sin(float a)
            Asked 2020-Apr-05 at 23:21

            I am experimenting with using my GPU in java, I am using Aparapi but I have an issue where if I use (float)Math.sin(x) it still falls back to the CPU because my GPU doesn't support F64. is there a Math library for floats? should I be using the gpu to calculate sins at all?

            ...

            ANSWER

            Answered 2020-Apr-05 at 23:21

            I would expect a project like this to come with math routines of its own so that you can call functions implemented on the GPU.

            And it does: Kernel.sin(float) in Aparapi should map to a call to the OpenCL sin function.

            Whether it makes sense to do trig on the GPU, that's for you to evaluate.

            Source https://stackoverflow.com/questions/61026673

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install aparapi

            With Aparapi we can take a sequential loop such as this (which adds each element from inA and inB arrays and puts the result in result).

            Support

            This project is officially hosted on QOTO GitLab here however an up-to-date mirror is also maintained on Github here. Aparapi Javadocs: latest - 2.0.0 - 1.10.0 - 1.9.0 - 1.8.0 - 1.7.0 - 1.6.0 - 1.5.0 - 1.4.1 - 1.4.0 - 1.3.4 - 1.3.3 - 1.3.2 - 1.3.1 - 1.3.0 - 1.2.0 - 1.1.2 - 1.1.1 - 1.1.0 - 1.0.0. For detailed documentation see Aparapi.com or check out the latest Javadocs. For support please use Gitter or the official Aparapi mailing list and Discourse forum. Please file bugs and feature requests on QOTO GitLab our old archived issues can still be viewed on Github as well. Aparapi conforms to the Semantic Versioning 2.0.0 standard. That means the version of a release isnt arbitrary but rather describes how the library interfaces have changed. Read more about it at the Semantic Versioning page.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/Syncleus/aparapi.git

          • CLI

            gh repo clone Syncleus/aparapi

          • sshUrl

            git@github.com:Syncleus/aparapi.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Reuse Pre-built Kits with aparapi

            Consider Popular GPU Libraries

            taichi

            by taichi-dev

            gpu.js

            by gpujs

            hashcat

            by hashcat

            cupy

            by cupy

            EASTL

            by electronicarts

            Try Top Libraries by Syncleus

            Ferma

            by SyncleusJava

            aparapi-examples

            by SyncleusJava

            apex

            by SyncleusPython

            dANN-core

            by SyncleusJava

            GRAIL-core

            by SyncleusJava