Yes, it's got multiple work groups. I'm running in parallel the same code on 
Nvidia and Intel opencl. I can't find any cpuinfo.c file or definition of 
DEBUG_POCL_CPUINFO in your 0.6 distribution, maybe I need to pull a release 
from the server?


-----Original Message-----
From: Pekka Jääskeläinen [mailto:[email protected]] 
Sent: Monday, December 31, 2012 11:15 AM
To: [email protected]
Subject: Re: [pocl-devel] Not getting multi-threaded execution

On 12/31/2012 10:44 AM, David Minor wrote:
> The tests pass but I'm not getting multi-threaded execution. I've set 
> POCL_DEVICES to pthread.

pthread device driver should use multiple threads if you have multiple hardware 
threads (e.g. SMT and/or multicore) in your CPU, and your work space has 
multiple work groups. Multiple work groups are executed in multiple threads. 
Single WGs in single thread.

Maybe the HW thread count detection is not working for you. You can try 
enabling the debug output in lib/CL/devices/cpuinfo.c (#define 
DEBUG_POCL_CPUINFO).

--
--Pekka

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, 
Windows 8 Apps, JavaScript and much more. Keep your skills current with 
LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. 
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to