Re: [Mesa-dev] threading in OSMesa and gallium swr driver

2018-05-20 Thread Alexandre
> > Yes, getting different threading libraries to agree can be tricky. Does your > application overlap heavy compute with graphics rendering? If not, the > oversubscription point might be moot. One bit of advice we give to TBB > library users is to initialize the TBB library before creating

Re: [Mesa-dev] threading in OSMesa and gallium swr driver

2018-05-18 Thread Rowley, Timothy O
On May 16, 2018, at 9:25 AM, Alexandre mailto:alexandre.gauthier-foic...@inria.fr>> wrote: Thank you for your answer. I understand I can control the number of threads and prevent them to be assigned to actual hardware threads. Preventing oversubscription of the hardware threads is challenging

Re: [Mesa-dev] threading in OSMesa and gallium swr driver

2018-05-17 Thread Alexandre
Thank you for your answer. I understand I can control the number of threads and prevent them to be assigned to actual hardware threads. Preventing oversubscription of the hardware threads is challenging when using OpenMP/TBB/OpenSWR in hybrid environments. I am wondering if having N SWR context

Re: [Mesa-dev] threading in OSMesa and gallium swr driver

2018-05-16 Thread Cherniak, Bruce
On May 14, 2018, at 8:59 AM, Alexandre mailto:alexandre.gauthier-foic...@inria.fr>> wrote: Hello, Sorry for the inconvenience if this message is not appropriate for this mailing list. The following is a question for developers of the swr driver of gallium. I am the main developer of a motio

[Mesa-dev] threading in OSMesa and gallium swr driver

2018-05-14 Thread Alexandre
Hello, Sorry for the inconvenience if this message is not appropriate for this mailing list. The following is a question for developers of the swr driver of gallium. I am the main developer of a motion graphics application. Our application internally has a dependency graph where each node may