PDA

View Full Version : vec3, mat3x3,... help!!!



rubcarso
05-15-2010, 06:56 PM
I didn't find nothing about operations with those types in OpenCL (mat3x3 * vec3,inverse), like glsl does...
would it means that i have to construct this support... like a custom library?
Is there no hardware support to do that?

coleb
05-17-2010, 07:51 AM
OpenCL 1.1 will have built in support for vec3 types. However, it will not have a matrix type. So in short, yes, you are better off writing a simple math library that suites your needs.

rubcarso
05-17-2010, 05:18 PM
Thank you!!!!!!!!!!!!!

crtransient
06-02-2010, 10:59 AM
Do you actually have an OpenCL code for matrix inversion? I have been looking everywhere for that! Can you please send it/tell me where you found it? thanks!