Login  Register

Re: Parallel Execution or Computation on GPU using JOGL.

Posted by Xerxes Rånby on Apr 12, 2018; 12:07pm
URL: https://forum.jogamp.org/Parallel-Execution-or-Computation-on-GPU-using-JOGL-tp4038809p4038810.html

OpenGL supports parallel execution in one application in several forms:

Parallelism inside one GLWindow  using GLSL Shaders. A GLSL pixel shader
is run in parallel for each pixel by the GPU hardware. The GLSL shader is
sent in text form using the OpenGL API to the GPU driver for compilation.

Hardware supporting OpenGL 4.3 and later can use Compute Shaders for more
general purpose calculations on the GPU
here is one example using JOGL and compute shaders:
https://github.com/perses-games/jogl-compute-shaders-fireworks

Multiple OpenGL windows. If your application uses more than one GLWindow
then you can render more than one image in parallel. Each GLWindow will use
the JOGL GLAutoDrawable API. You can use one Animator for each GLWindow.
The OpenGL code defined in the class that implements the GLAutoDrawable
instructs what each GLWindow will render.



2018-04-12 8:30 GMT+02:00 Manjunatha Bhat [via jogamp] <
ml+s762907n4038809h42@n3.nabble.com>:

> I Would like Know about the is JOGL Supports the  Parallel Execution or
> Computation on GPU .if Yes. How to Achieve that?Please give Simple Example
> for parallel Execution .It helps to Understand the parallel Execution using
> JOGL .if is there any Resource  related to this concept please attached
> with the Answer.Any Suggestion is Appreciable. Thank you.
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://forum.jogamp.org/Parallel-Execution-or-
> Computation-on-GPU-using-JOGL-tp4038809.html
> To start a new topic under jogl, email ml+s762907n782158h61@n3.nabble.com
> To unsubscribe from jogamp, click here
> <http://forum.jogamp.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=762907&code=eGVyeGVzQGd1ZGlubmEuY29tfDc2MjkwN3wtNTE5NjUwMzEw>
> .
> NAML
> <http://forum.jogamp.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>