Can I use Third Party Library?

Hi all,

I want to do some analysis on large set of data,so I decided to go for OPenCL so that I can perform it in pparallel.But I have some basic questions.

1)Firstly ,for the analysis purposes,I need to use Third party library(i.e http://trac.osgeo.org/geos/),but I am not sure that I can create Kernel using the functionality provided by this API(like using include<GEOS.h>).

2)Secondly the data I want to operate on contain some user-defined structs and also containing elements of the above API.So can I pass these struct objects in the kernel arguments?

Thanks all in advance.