PS: When I was starting out programming in this project I used the NetBeans IDE to browse the BRL-CAD source code so I could understand the code structure better. As a last resort grep is your friend...
On Sat, Mar 5, 2016 at 10:25 PM, Vasco Alexandre da Silva Costa < vasco.co...@gmail.com> wrote: > The primitives folder has the primitive implementation code. See > librt/primitives/primitive_util.c for the OpenCL C calls proper. > > On Sat, Mar 5, 2016 at 7:10 AM, Param Hanji <param.catchch...@gmail.com> > wrote: > >> Hello, >> >> I was going through the code in librt/primitives folder. The OpenCL >> specific code seems very unfamiliar to me. >> >> Granted I'm new to OpenCL and large open source projects like this one, I >> still find it harder to understand than what I expected. >> >> "ell.c" nor any of the other files here contain code to create and >> configure the OpenCL data structures(for device, kernel, context etc). >> There no function calls like clCreateContext, clGetPlatformIDs, >> clGetDeviceIDs. >> The .cl file also doesn't have kernel functions as well. So I just don't >> know where to start. >> >> Is my working of knowledge of OpenCL wrong/outdated? Are there resources >> I can refer to? Any help would be great. Thank you for your time! >> >> Best, >> Param Hanji >> > > > > -- > Vasco Alexandre da Silva Costa > PhD in Computer Engineering (Computer Graphics) > Instituto Superior Técnico/University of Lisbon, Portugal > -- Vasco Alexandre da Silva Costa PhD in Computer Engineering (Computer Graphics) Instituto Superior Técnico/University of Lisbon, Portugal
------------------------------------------------------------------------------
_______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel