[Cs-dev] Cilk Plus
Date | 2014-04-22 16:13 |
From | Steven Yi |
Subject | [Cs-dev] Cilk Plus |
Hi All, Just FYI, I was reading the release notes for GCC 4.9 and saw that support for Cilk Plus[1] was introduced. I haven't really followed this before but found it interesting and thought it worth sharing. Thanks! steven [1] - https://www.cilkplus.org/ ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2014-04-22 16:20 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Cilk Plus |
I wonder if clang will follow. ======================== Dr Victor Lazzarini Senior Lecturer NUI Maynooth, Ireland victor dot lazzarini at nuim dot ie On 22 Apr 2014, at 16:13, Steven Yi |
Date | 2014-04-22 16:21 |
From | Steven Yi |
Subject | Re: [Cs-dev] Cilk Plus |
The site mentioned a branch for clang that has support. I didn't see if it was available outside of the branch though. On Tue, Apr 22, 2014 at 11:20 AM, Victor Lazzarini |
Date | 2014-04-22 17:57 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Cilk Plus |
Attachments | None None |
Two questions. (1) Why does this have to offer over OpenMP, which as far as I can tell works fine and has a great balance between ease of use and runtime efficiency? (2) As with OpenMP, when does this show up in the Apple toolchain? I don't mind if its not an "official" standard as long as it's widely available and widely adopted. I don't want Csound dragged over any bleeding edges. OS X support (not) for OpenMP was one I don't wish to repeat.
Thanks for the info, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Tue, Apr 22, 2014 at 11:21 AM, Steven Yi <stevenyi@gmail.com> wrote: The site mentioned a branch for clang that has support. I didn't see |
Date | 2014-04-22 18:31 |
From | Steven Yi |
Subject | Re: [Cs-dev] Cilk Plus |
Oh, I'm not suggesting we use this, but just be aware of it. I'm wouldn't be interested to actually use it for Csound unless it was commonly available. >From the FAQ[1]: "By providing an abstraction for parallelism, Cilk Plus allows developers to express their parallel algorithms in a way that is more natural than many existing parallel libraries. Existing libraries for writing parallel programs such as TBB and OpenMP require the developer to restructure their application to break it into tasks that can be run in parallel. This restructuring can obscure the original algorithm, making it harder for the programmer to reason about and maintain the application. Because the Intel Cilk Plus keywords have serial semantics, developers can often express the parallelism inherent in their algorithm by adding only a few keywords to the original serial code. Finally, Intel Cilk Plus allows you to write composable code. That is, you can write a library using Intel Cilk Plus and incorporate that into other applications using Intel Cilk Plus without having to worry about an explosion of threads. Intel Cilk Plus uses a randomized work-stealing scheduler to perform dynamic load-balancing which allows the scheduler to efficiently handle nested parallelism in both application and library without oversubscribing the machine with OS threads." [1] - https://www.cilkplus.org/faq On Tue, Apr 22, 2014 at 12:57 PM, Michael Gogins |