I'm forwarding this message to the list in case someone has similar issues,

---------- Forwarded message ----------
From: Vasco Alexandre da Silva Costa <vasco.co...@gmail.com>
Date: Sun, Mar 26, 2017 at 3:14 PM
Subject: Re: OpenCL code base
To: Shailesh Tripathi <shailesh.tripathi.ec...@itbhu.ac.in>


On Sun, Mar 26, 2017 at 11:23 AM, Shailesh Tripathi <
shailesh.tripathi.ec...@itbhu.ac.in> wrote:

> - 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.
>>
> I tried to understand the code and finally manage to understand all the
> links. Sorry for asking you unnecessarily!
>
> But the OpenGL issue is still not rectified.
>

As I said before I don't know if you need to install OpenGL to run OpenCL
on your system or not. At one point I know you could run OpenCL on an
NVIDIA GPU without an X Server (headless), while on an AMD GPU you needed
to run the X Server to get working OpenCL as it was a dependency. I could
look into this, but I don't know if it's worthwhile to spent time on this
feature or not as most people will have both working and in the future we
could make OpenGL a dependency in order to have working texture mapping or
to use some other feature.

Just get OpenGL and OpenCL working. If you are a CentOS user a good place
to ask is probably on the #centos channel at irc.freenode.net:
https://wiki.centos.org/irc#head-763757e254015edb6a796dd09e7bf88c5261840e

Regards,

-- 
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
------------------------------------------------------------------------------
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