|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] first shot at parallel APL |
Date: | Fri, 26 Sep 2014 14:04:15 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Hi Elias, if you used a recent SVN then you need to set the thresholds (vector size) above which parallel execution is performed: (⍳4) ∘.time 10⋆⍳7 0 0 1 3 29 254 2593 0 0 1 2 25 252 2618 0 0 1 2 26 258 2682 0 0 1 2 26 263 2866 )COPY 5 FILE_IO loading )DUMP file /usr/local/lib/apl/wslib5/FILE_IO.apl... 1 FIO∆set_dyadic_threshold '⋆' ⍝ returns the previous threshold for dyadic ⋆ 8070450532247928832 (⍳4) ∘.time 10⋆⍳7 0 0 0 2 30 250 2590 0 0 0 1 15 149 1580 0 0 0 1 11 113 1225 0 3 0 0 12 103 1120 I am currently working on a benchmark workspace that determines the optimal thresholds for the different scalar functions (and those thresholds will beome the future defaults). Right now the default thresholds are so high that you will always have sequential execution. /// Jürgen On 09/26/2014 07:22 AM, Elias Mårtenson
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |