Discussion:
[brlcad-devel] Fwd: OpenCL code query
Shailesh Tripathi , B.Tech., Electronics Engg., IIT (BHU), Varanasi (INDIA)
2017-03-18 15:52:06 UTC
Permalink
Hello,
I am planning to apply for GSOC,2017. Since the past few days I am trying
to understand the OpenCL code for primitives.
I have a doubt in the code. What is the role of the function
'clt_ehy_pack()' for the 'ehy' primitive?

Thanks in advance :)

Regards
Shailesh


Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
Vasco Alexandre da Silva Costa
2017-03-18 19:21:41 UTC
Permalink
Well,
The _pack() functions basically serialize a primitive into a byte buffer so
the primitive can be transferred from the CPU to the GPU.

On Sat, Mar 18, 2017 at 3:52 PM, Shailesh Tripathi , B.Tech., Electronics
Post by Shailesh Tripathi , B.Tech., Electronics Engg., IIT (BHU), Varanasi (INDIA)
Hello,
I am planning to apply for GSOC,2017. Since the past few days I am trying
to understand the OpenCL code for primitives.
I have a doubt in the code. What is the role of the function
'clt_ehy_pack()' for the 'ehy' primitive?
Thanks in advance :)
Regards
Shailesh
Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)
------------------------------------------------------------
------------------
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
https://lists.sourceforge.net/lists/listinfo/brlcad-devel
--
Vasco Alexandre da Silva Costa
PhD in Computer Engineering (Computer Graphics)
Instituto Superior Técnico/University of Lisbon, Portugal
Loading...