Hello Sir,
Thank you for the description. I got a rough idea at first, but this makes
it a lot clear :)

Regarding the OpenGL issue:
I am using CentOS 6 with NVIDIA GPU. I have installed CUDA. The and the
'devicequery' code works fine, which makes me think that CUDA, and hence
OpenCL, is installed correctly. The only issue is, for the X server, the
"GLX missing" pops up because missing "xorg.conf" file. Generating the file
using "nvidia-config" does the work, but after restart, the Xserver fails
to launch. This had been the issue with many, and I am not able to find any
working solution. If there is a way from which I can run the OpenCL code
without the involvement of OpenGL, it would be the fastest solution.

Regards
Shailesh

Shailesh Tripathi
B.Tech. Part-IV
Electronics Engineering
IIT-BHU (Varanasi)

On Sun, Mar 26, 2017 at 7:35 PM, Vasco Alexandre da Silva Costa <
vasco.co...@gmail.com> wrote:

> On Sat, Mar 25, 2017 at 10:00 PM, Shailesh Tripathi <
> shailesh.tripathi.ec...@itbhu.ac.in> wrote:
>
>> I have a doubt:
>> - I can see four kernles namely "do_pixel", "count_hits", "store_segs"
>> and "shade_segs" being launched. Which of these uses the xxx_shot()
>> functions and how? I can see the programs being compiled using
>> clcompileprogram and then all of them linked together, but I am not able to
>> understand how the xxx_shot() functions are used.
>>
>
> This is explained in the GSoC pages of previous years:
> http://brlcad.org/wiki/User:Vasco.costa/GSoC15/logs
>
> Basically the function call diagram is like this:
> do_pixel():
>   count_hits():
>     xxx_shot()
>   store_segs():
>     xxx_shot()
>   shade_segs()
>
> Also, I have written the code for 'hrt' primitive but I am not able to
>> test it due to the OpenGL issue :(
>> Please tell me is there a way I I can compile the code without the use of
>> OpenGL.
>>
>
> Do you have OpenCL installed properly? You should be aware that if you
> can't install OpenGL, installing OpenCL is a lot harder.
>
> 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