Questions tagged [rootbeer]

Rootbeer is a compiler that lets Java run on the GPU

The Rootbeer GPU Compiler gives a Java developer an interface to specify what code will run on the GPU and what code will run on the CPU. Compared to CUDA or OpenCL language bindings, Rootbeer allows arbitrary graphs of composite objects to be serialized to GPU memory and the GPU code can be written in Java, rather than CUDA/OpenCL.

Rootbeer is free and open source and released under an MIT-style license. https://github.com/pcpratts/rootbeer1

14 questions
19
votes
5 answers

Stack guard might have disabled?

I am trying to run the first example in rootbeer library, which you can find from here. The issue is, even though I followed all of their instructions, I am getting the following message when I am trying to run the…
PeakGen
  • 21,894
  • 86
  • 261
  • 463
5
votes
4 answers

Which Java code can be moved to the GPU?

With the framework rootbeer is GPU programming for Java possible. Which Java code should be used for rootbeer and which code should better run in the Java VM self? Or other: which code produce more overhead and it make no sense?
Horcrux7
  • 23,758
  • 21
  • 98
  • 156
3
votes
1 answer

How can I use GPU with Java programming

I am using CUDAC all these days to access the GPU. But now my guide asked me to work with Java and GPU. So I searched in Internet and found Rootbeer is the best option for it but I am not able to understand how to run a program using 'Rootbeer'. Can…
Aadya
  • 75
  • 10
3
votes
1 answer

Unable to cast a class error

I am going to use rootbeer1 for the first time. I am in windows 7 machine, 32 bit system having GForce 610 GPU. I installed CUDA 5.5 successfully and executed the examples to make sure it works fine too. Then I installed rootbeer1 according to the…
PeakGen
  • 21,894
  • 86
  • 261
  • 463
2
votes
0 answers

OpenCL through pure java

I'm interesting in the current state of GPGPU through OpenCL with pure java. I found two project aparapi and Rootbeer, but can't found any information about its actual state and perspectives. Other projects such as JavaCL and JOCL, needs C…
2
votes
1 answer

Is there any way to perform Image processing using java with GPU

I have got some code of image processing using matlab. For running matlab code we need to buy matlab license. But as per requirement of my project I have to use any open source software. So I thought I can convert the whole code into Java. Also the…
Pawan
  • 423
  • 6
  • 28
2
votes
1 answer

RootBeer silently fails for large arrays?

I have a simple application that (for now) simulates error correction in a large array. This bit generates the data and adds 16 bytes of Reed-Solomon parity to each block of 255 bytes. ReedSolomonEncoder encoder = new…
Zoltán
  • 21,321
  • 14
  • 93
  • 134
1
vote
1 answer

Would my time consuming Java app benefit from Rootbeer by shifting some work to GPU?

My Java app reads in thousands of text files, goes through the lines and parse the text into floats and does some calculation with them then saves the results into some files, now I'm using multiple thread to execute them simultaneously, still need…
Frank
  • 30,590
  • 58
  • 161
  • 244
1
vote
1 answer

Rootbeer GPU CUDA_ERROR_OUT_OF_MEMORY

I have been trying to work with this GPU library Rootbeer I have run the demos, and they run fine, I then try to run my code, and on the second to last line of this snippet (Rootbeer rootbeer = new Rootbeer();), I get an error (see last section). …
Get Off My Lawn
  • 34,175
  • 38
  • 176
  • 338
1
vote
2 answers

rootbeer CUDA example code quantified throughput gain

The following is the rootbeer example code for Nvidia CUDA that I ran on a laptop with Ubuntu 12.04 (Precise) with bumblebee and optirun. The laptop features Nvidia Optimus, hence the optirun. The GPU happens to be a Nvidia GeForce GT 540M which…
H2ONaCl
  • 10,644
  • 14
  • 70
  • 114
0
votes
0 answers

using open-source code under the apache license

Im using part of the rootbeer source-code to determine if the user OS is rooted or not. I overlooked the license, and it says i have to give credit to the original authors. Does this mean commenting on top where i got the code from and who the…
Thussi
  • 21
  • 3
0
votes
3 answers

In Java how to cast an interface properly?

I'm learning to use Rootbeer, but I got stuck when I ran its sample apps, and no one could answer my question : Rootbeer runtime error, how to fix? So I downloaded the source code of Rootbeer, and took a look at the code, here is where the problem…
Frank
  • 30,590
  • 58
  • 161
  • 244
0
votes
0 answers

Rootbeer runtime error, how to fix?

I'm learning to use Rootbeer, so I did the following things : [1] Downloaded Rootbeer-1.2.3.jar [2] Installed CUDA Toolkit and CUDA Driver from : http://www.nvidia.com/content/cuda/cuda-downloads.html [3] Compiled the following sample program. [4]…
Frank
  • 30,590
  • 58
  • 161
  • 244
0
votes
1 answer

rootbeer and Nvidia Optimus

Does the Java CUDA tool rootbeer work with Nvidia Optimus on Linux when the laptop does not have a BIOS switch for the graphics system? In other words, does it work where the graphics system is always a hybrid.
H2ONaCl
  • 10,644
  • 14
  • 70
  • 114