Can I run third party libraries on the kernel?
ex:
#include <third_party_structure_data.h>
global void generateSomeTree(SomeObjFromTheThirdP *obj, string input)
{
obj.add(n)
}
// main routine that executes on the host
int main(void)
{
//… host code …
SomeObjFromTheThirdP *obj;
cudaMallocManaged(&obj, //some size, i don’t know yet//);
cudaDeviceSynchronize();
cout << obj.size();
}