|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] errors in latest SVN |
Date: | Thu, 18 Sep 2014 13:05:34 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Hi Peter, I see. Looking on the web it appears as if OSX does not support the POSIX API for thread affinities but use their own. GNU may work without setting the affinities explicitly (because all threads will have 100% load, so the scheduler should be able to distribute the threads evenly). However I have seen cases in the past where that was not the case (not OSX, though). I believe I should first try to get parallel APL working on linux in a way that it still compiles under OSX and then we could see how to port it to OSX. For you (or OSX) that would mean to not ./configure the CORE_COUNT_WANTED and to please complain if some relict of the POSIX API slips in. Regarding parallelism in APL, I have proven in my 1990 Ph. D. thesis that effectively all APL operators can be implemented in parallel (with the exception of same obvious counter-examples in the architecture that we had at that time). My current plan is to take the algorithms of that thesis and to implement them in GNU APL (this was BTW one of the reasons for creating GNU APL). I have got dyadic scalar functions sort of working in parallel yesterday. On a 10000000 element vector I could see quite some speedup on my 4-core machine, but I also saw that some other parts - in particular the release of big vectors - needs to be parallelized as well before this becomes usable. /// Jürgen On 09/17/2014 09:09 PM, Peter Teeson
wrote:
Hi Jürgen: |
[Prev in Thread] | Current Thread | [Next in Thread] |