aparapi | Experimental version of AMD Aparapi library | GPU library

 by   houp Java Version: Current License: Non-SPDX

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 and it has high support. However aparapi build file is not available and it has a Non-SPDX License. You can download it from GitHub.

Aparapi is developed by AMD. It was opensourced recently (under a MIT-style license. It allows to dynamically recompile Java methods into OpenCL kernels on AMD GPU hardware (or using CPU version of OpenCL from AMD APP SDK). Aparapi is supported on Linux and Windows. This repository will hold my experimental patches to Aparapi. Currently the main goals are supporting different hardware (non-AMD) and adding support for MacOS X. I do NOT intend to fork Aparapi or provide any support for it. If any of my patches will bring any value to you - that’s good. If not - no problem. When I’ll have anything valuable here I’ll try to bring it into offical aparapi source tree, but currently it’s way too early for this.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              aparapi has a highly active ecosystem.
              It has 11 star(s) with 2 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              aparapi has no issues reported. There are no pull requests.
              It has a positive sentiment in the developer community.
              The latest version of aparapi is current.

            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 has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              aparapi releases are not available. You will need to build from source code and install.
              aparapi has no build file. You will be need to create the build yourself to build the component from source.
              aparapi saves you 7672 person hours of effort in developing the same functionality from scratch.
              It has 15822 lines of code, 1725 functions and 258 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.
            • Main method
            • Prepare oop conversion buffer
            • Executes the Kernel
            • Executes the kernel
            • Main entry point for the program
            • Prepare oop conversion buffer
            • Executes the Kernel
            • Executes the kernel
            • Main entry point
            • Prepare oop conversion buffer
            • Executes the Kernel
            • Executes the kernel
            • Start the game
            • Prepare oop conversion buffer
            • Executes the Kernel
            • Executes the kernel
            • Entry point for the Raytracer
            • Prepare oop conversion buffer
            • Executes the Kernel
            • Executes the kernel
            • Runs the BlackScholes kernel
            • Prepare oop conversion buffer
            • Executes the Kernel
            • Executes the kernel
            • Get the offset of a field
            • Write to String
            • Returns a list of all method calls in this instruction
            • Compute rqrt vector
            • Calculates the intersection of this ray with another ray
            • Atomically adds a delta element to the _index
            • Defines the default scene
            • Checks if is OpenCL delegate method
            • Removes the branch target
            • Performs a trace ray
            • Resolve an accessor candidate for a given accessor call
            • Create a MethodDescription from a String
            • This method writes out the map entry to the map
            • Update accessor structures for an object member field
            • Initializes the expression list
            • Intersect this ray with another ray
            • Set a double on an object
            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

            You can download it from GitHub.
            You can use aparapi like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the aparapi component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

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

            Find more libraries
            CLONE
          • HTTPS

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

          • CLI

            gh repo clone houp/aparapi

          • sshUrl

            git@github.com:houp/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