Re: Incorporation of structs in jocl
Posted by
Michael Bien on
Jun 29, 2010; 5:23pm
URL: https://forum.jogamp.org/Incorporation-of-structs-in-jocl-tp929939p931165.html
e.g generated struct bindings:
http://github.com/mbien/jocl-demos/tree/master/src/com/jogamp/opencl/demos/julia3d/structs/
for this header:
http://github.com/mbien/jocl-demos/blob/master/src/com/jogamp/opencl/demos/julia3d/config.h
(works but will be improved in future)
-michael
On 06/29/2010 08:25 AM, Joe Mwangi [via jogamp] wrote:
First of all I want to congratulate the jogamp team for an
excellent job, especially jogl, jocl and the new website.
I've been slowly following the development of jogl and especially jocl.
For now I know U know the hype surrounding GPU programming with
development of GPU accelerated path tracers like octane, arion, iray
and luxrender(GPU version). I'm very interested in creating one but the
hurdle I've noticed is that jocl doesn't support structs officially.
The only implementation I've seen is http://www.jocl.org/utilities/utilities.html
I don't know if it's under consideration in future implementation in
jocl since it can be helpful in path tracing. I can create an
accelerated structure like an octree made of hierarchical bounding
boxes, align them in an array and pass them to the GPU. The
implementation of bounding box is well suitable with structs. Is the
implementation of structs in jocl under consideration?
Thank you,
Joe.