[PATCH] _Cilk_for for C and C++
Iyer, Balaji V
balaji.v.iyer@intel.com
Wed Jan 8 19:46:00 GMT 2014
> -----Original Message-----
> From: Jakub Jelinek [mailto:jakub@redhat.com]
> Sent: Wednesday, January 8, 2014 12:31 PM
> To: Iyer, Balaji V
> Cc: Jason Merrill; 'Jeff Law'; 'Aldy Hernandez'; 'gcc-patches@gcc.gnu.org';
> 'rth@redhat.com'
> Subject: Re: [PATCH] _Cilk_for for C and C++
>
> On Tue, Jan 07, 2014 at 10:11:59PM +0000, Iyer, Balaji V wrote:
> > I used a similar existing one (safelen). Attached, please find 2
> > fixed patches for C and C++ along with their changelogs.
>
> But safelen is something completely different, while if I skim the _Cilk_for
> docs, the grain is really a chunk size, where the runtime library performs the
> scheduling of grain sized chunks, so using OMP_CLAUSE_SCHEDULE clause
> with OMP_CLAUSE_SCHEDULE_KIND (c) =
> OMP_CLAUSE_SCHEDULE_RUNTIME;
> OMP_CLAUSE_SCHEDULE_CHUNK_EXPR (c) = grain_expr; sounds like what
> should be used. OMP_CLAUSE_SAFELEN says what is the minimal
> vectorization factor the compiler can assume is safe for a simd loop.
>
Ok. Fixed as you requested. Attached, are the fixed patches and their respective changelogs.
Is this Ok for trunk?
-Balaji V. Iyer.
> Jakub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c-ChangeLog
Type: application/octet-stream
Size: 4350 bytes
Desc: c-ChangeLog
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140108/233d6fc8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp-ChangeLog
Type: application/octet-stream
Size: 1532 bytes
Desc: cp-ChangeLog
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140108/233d6fc8/attachment-0001.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff_c.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140108/233d6fc8/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff_c++.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140108/233d6fc8/attachment-0001.txt>
More information about the Gcc-patches
mailing list