Login  Register

Re: struct and vector

Posted by Siassei on Aug 02, 2010; 4:32pm
URL: https://forum.jogamp.org/struct-and-vector-tp1013748p1016481.html

Thanks for your answer.

About gluegen.
1) It's generate files for 32 and 64. It's a little problem with OpenCL. OpenCL has fixed definied type size. For example, a integer is 32bit large.
2) Does gluegen support the __attributes__?

About StructAccessor.
Does it support the endian order?
e.g host "little" and device "big"

> gluegen does not yet support non standard C types
Shit. The order of the components (xyzw) is depend on the endian of the device. See, Apendix B of OpenCL Spec 1.1