spectral

How to pass a lot of datas to openCL ?

Discussion created by spectral on Dec 22, 2009
Latest reply on Dec 25, 2009 by spectral

Hi,

In my application I have an OpenCL kernel that search for intersection between a ray and a set of triangles.

I pass the list of triangles as a pointer, (I have up to 100.000 triangles now and can have more...)

But, is there  a way to avoid to send all the triangles at each kernel call ?

Theses datas are statics for a same object (I have several objects that contains a set of triangles).

 

Thanks

Outcomes