[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Parallel for OS/X

From: Juergen Sauermann
Subject: Re: [Bug-apl] Parallel for OS/X
Date: Thu, 23 Oct 2014 16:02:18 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0

Hi Elias,

I have added the Solaris functions, SVN 499.

/// Jürgen

On 10/23/2014 03:18 PM, Elias Mårtenson wrote:

This stackoverflow article seems to discuss this very subject: http://stackoverflow.com/questions/10177217/pthread-mutex-vs-atomic-ops-in-solaris

I think that's the atomic operation you need.


On 23 Oct 2014 21:09, "Juergen Sauermann" <address@hidden> wrote:

I did some rework of the parallel stuff so that it might compile now under OS/X and possibly other platforms. SVN 498.

On non-linux machines core affinities are not set explicitly. However all GNU APL threads are 100% busy
unless GNU APL is blocked on input. The scheduler of the OS should normally detect this and place
the threads on different cores even if their core affinities are not set explicitly.

Please try the ScalarBenchmark,apl workspace.

The bare minimum that is needed for parallel APL on other platforms than linux or OS/X  (Solaris ?) is some
atomic fetch_and_add() function.

/// Jürgen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]