Login  Register

binding 3rd party libraries

Posted by notzed on Aug 06, 2011; 9:57am
URL: https://forum.jogamp.org/binding-3rd-party-libraries-tp3230806.html

Hi Michael,

I was looking into binding amd's clAmdFft library to java, and inter-operating with jocl naturally ...

Simple enough in the latter regard, except for CLEventList - IDs is inaccessible outside the library.  I can obviously just iterate the CLEvent's and build my own equivalent, but that seems non-ideal.  Any chance of it being exposed?

Incidentally clAmdFft uses size_t * in a few places, can I safely just assume that size_t is related to the platform pointer size?  I was going to create my own SizeTBuffer type or some-such to make sure, but JOCL just uses a PointerBuffer, and appears none the worse for it.

 Michael

PS good work on the api tweaks, although i'm pretty happy with it as is already.