Hi,
I've managed to accelerate "librt/primitives/epa". I now need to create an
ID for it in "primitives/rt.cl". It's okay if I define it with ID 40
right(on line 94)?
I've also made changes to "primitives/common.cl", "librt/CMakeLists.txt",
"primitives/primitive_util.c" and "primitives/epa/epa.c". Are there any
other changes required?
And grep really helped. Thank you :)
On Sun, Mar 6, 2016 at 5:20 AM Vasco Alexandre da Silva Costa <
vasco.co...@gmail.com> wrote:
> 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
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel