Hello,
I forgot to define ID_HRT. So i added:
#define ID_HRT 32
in rt.cl file.
Do I need to make any more changes to invoke hrt_shot() as I am getting a
blank screen on the frame buffer.( though the previous error bu_pool_delete
is gone now) the rest of the log looks fine.

Regards
Shailesh
On Apr 4, 2017 4:46 AM, "Vasco Alexandre da Silva Costa" <
vasco.co...@gmail.com> wrote:

> On Tue, Apr 4, 2017 at 12:14 AM, Vasco Alexandre da Silva Costa <
> vasco.co...@gmail.com> wrote:
>
>>
>> On Mon, Apr 3, 2017 at 1:54 PM, Shailesh Tripathi <
>> shailesh.tripathi.ec...@itbhu.ac.in> wrote:
>>
>>> Hello,
>>> I ported the HRT primitive to OpenCL, but I was getting a blank screen
>>> while running the raytracer. To cross validate the error, I ported HYP
>>> primitive too. But I am getting the same issue ,viz., (just before  "
>>> *OCLPREP:" ) *
>>>
>>>> *   (nil) free ERRORbu_pool_delete*
>>>>
>>>
>>> Please check what can be the possible issues.
>>> https://sourceforge.net/p/brlcad/patches/459/
>>>
>>
>> hrt_shot() isn't being called from anywhere. You missed some of the glue
>> code.  e.g. see rl.cl.
>>
>
> PS: Of course I meant 'src/librt/primitives/rt.cl'. Duh. :-)
>
> Regards,
>
> --
> 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
>
>
------------------------------------------------------------------------------
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

Reply via email to