<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial, Helvetica, sans-serif;font-size:10.5pt" ><div dir="ltr" >Patrick,</div>
<div dir="ltr" > </div>
<div dir="ltr" >I believe that for experimentation purpose, you can add a value in the omp_sched_t. Using a combination of omp_set_schedule to set the default runtime schedule to yours, and a schedule(runtime) on the loop you want to schedule using your new schedule, you should be all set.</div>
<div dir="ltr" > </div>
<div dir="ltr" >It will then require only changes to a local copy of your omp.h and runtime.</div>
<div dir="ltr" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" ><br>Alexandre<br><br>-----------------------------------------------------------------------------------------------------<br><span style="color:#0000CD;" >Alexandre Eichenberger, Master Inventor, Advanced Compiler Technologies</span><br><span style="color:#0000CD;" >- research</span>: compiler optimization (OpenMP, multithreading, SIMD)<br><span style="color:#0000CD;" >- info:</span> alexe@us.ibm.com http://www.research.ibm.com/people/a/alexe<br><span style="color:#0000CD;" >- phone</span>: 914-945-1812 (work) 914-312-3618 (cell)</div></div></div></div></div></div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: "Cownie, James H via Openmp-dev" <openmp-dev@lists.llvm.org><br>Sent by: "Openmp-dev" <openmp-dev-bounces@lists.llvm.org><br>To: "openmp-dev@lists.llvm.org" <openmp-dev@lists.llvm.org><br>Cc:<br>Subject: [Openmp-dev] FW: Extending the openmp schedule clause<br>Date: Mon, May 22, 2017 4:47 AM<br> 
<div><font face="Default Monospace,Courier New,Courier,monospace" size="2" >Didn't go to the list for some reason, so here it is :-)<br><br>-- Jim<br><br>Jim Cownie <james.h.cownie@intel.com><br>SSG/DPD/TCAR (Technical Computing, Analyzers, and Runtimes)<br>Tel: +44 117 9071438<br><br><br>-----Original Message-----<br>From: Cownie, James H<br>Sent: Monday, May 22, 2017 9:47 AM<br>To: 'Patrick Buder' <p.buder@unibas.ch><br>Subject: RE: Extending the openmp schedule clause<br><br>Patrick,<br><br>Neither runtime is likely to accept your patches until the feature you propose has been standardized, which would require that it is proposed and accepted by the OpenMP language committee and ARB. One way to help to achieve that is to implement it and then write a paper for a technical conference such as IWOMP to demonstrate its advantages.<br><br>As to implementing, there are two aspects to this<br>1) having the compiler understand the new schedule type (and associated syntax in the schedule() clause).<br>   This would require changing the compiler itself, not just the runtime.<br>2) having the runtime implement the new schedule when the compiler requests it.<br><br>For prototyping and writing a paper you may be able to bypass the first by using "schedule(runtime)", and then enhancing the runtime to understand your new schedule when it is expressed in the OMP_SCHEDULE envirable. By doing this you avoid the need to make any compiler changes.<br><br>HTH<br><br>-- Jim<br><br>Jim Cownie <james.h.cownie@intel.com><br>SSG/DPD/TCAR (Technical Computing, Analyzers, and Runtimes)<br>Tel: +44 117 9071438<br><br><br>-----Original Message-----<br>From: Openmp-dev [<a href="mailto:openmp-dev-bounces@lists.llvm.org" target="_blank" >mailto:openmp-dev-bounces@lists.llvm.org</a>] On Behalf Of Patrick Buder via Openmp-dev<br>Sent: Monday, May 22, 2017 8:19 AM<br>To: openmp-dev@lists.llvm.org<br>Subject: [Openmp-dev] Extending the openmp schedule clause<br><br>Hello<br><br>Sorry for the blank email earlier. I am trying to extend the openmp scheduling clause with a few more dynamic loop scheduling algorithms.<br>I wanted to ask if this is possible directly in the runtime or if I should try to change the openmp specification? I am quite new to open source contributing, so please help me out.<br>I was also looking at the gcc openmp implementation and wondering if I should try to contribute this there?<br><br>Best regards,<br>Patrick Buder<br>_______________________________________________<br>Openmp-dev mailing list<br>Openmp-dev@lists.llvm.org<br><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" target="_blank" >http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a><br>---------------------------------------------------------------------<br>Intel Corporation (UK) Limited<br>Registered No. 1134945 (England)<br>Registered Office: Pipers Way, Swindon SN3 1RJ<br>VAT No: 860 2173 47<br><br>This e-mail and any attachments may contain confidential material for<br>the sole use of the intended recipient(s). Any review or distribution<br>by others is strictly prohibited. If you are not the intended<br>recipient, please contact the sender and delete all copies.<br>_______________________________________________<br>Openmp-dev mailing list<br>Openmp-dev@lists.llvm.org<br><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" target="_blank" >http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a></font></div></blockquote>
<div dir="ltr" > </div></div><BR>