On Sun, Mar 19, 2017 at 6:41 PM, Shailesh Tripathi , B.Tech., Electronics
Engg., IIT (BHU), Varanasi (INDIA) <shailesh.tripathi.ec...@iitbhu.ac.in>
wrote:
> Hello,
> While writing the.cl file, I got stuck at a data type "*bn_poly_t*" and "
> *bn_complex_t*". To use this in kernels, can these definitions be
> imported or do I need to define these structures in the .cl file itself. Is
> there a way to import these, or if not, defining them would not be any
> issue. :)
>
The necessary types are defined in the include file "common.cl", which
should also be included in the existing sample primitive implementations
like 'ehy_shot.cl'.
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel