<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xml:base="https://www.programmez.com/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>SIMD</title>
    <link>https://www.programmez.com/</link>
    <description></description>
    <language>fr</language>
    
    <item>
  <title>L&#039;extension SIMD à C++ OpenMP dans Visual Studio</title>
  <link>https://www.programmez.com/actualites/lextension-simd-c-openmp-dans-visual-studio-28783</link>
  <description>&lt;span class=&quot;field field--name-title field--type-string field--label-hidden&quot;&gt;L&amp;#039;extension SIMD à C++ OpenMP dans Visual Studio&lt;/span&gt;
&lt;span class=&quot;field field--name-uid field--type-entity-reference field--label-hidden&quot;&gt;&lt;span&gt;fredericmazue&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;field field--name-created field--type-created field--label-hidden&quot;&gt;&lt;time datetime=&quot;2019-04-03T10:15:00+02:00&quot; title=&quot;Mercredi, 3 avril 2019 - 10:15&quot; class=&quot;datetime&quot;&gt;mer, 3 Avr 2019 - 10:15&lt;/time&gt;
&lt;/span&gt;


  &lt;div class=&quot;inline__links&quot;&gt;&lt;nav class=&quot;links inline nav links-inline&quot;&gt;&lt;span class=&quot;comment-forbidden nav-link&quot;&gt;&lt;a href=&quot;/user/login?destination=/actualites/lextension-simd-c-openmp-dans-visual-studio-28783%23comment-form&quot;&gt;Se connecter&lt;/a&gt; ou &lt;a href=&quot;/user/register?destination=/actualites/lextension-simd-c-openmp-dans-visual-studio-28783%23comment-form&quot;&gt;s&#039;inscrire&lt;/a&gt; pour publier un commentaire&lt;/span&gt;&lt;/nav&gt;
  &lt;/div&gt;

&lt;div class=&quot;btn btn-light&quot;&gt;
      &lt;a href=&quot;/actualites/technologies&quot; hreflang=&quot;fr&quot;&gt;Technologies&lt;/a&gt;
  &lt;/div&gt;

&lt;div class=&quot;mots-cles-actualite d-flex flex-wrap gap-2&quot;&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/calcul-parallele&quot; hreflang=&quot;fr&quot;&gt;calcul parallèle&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/openmp&quot; hreflang=&quot;fr&quot;&gt;OpenMP&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/simd&quot; hreflang=&quot;fr&quot;&gt;SIMD&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/visual-studio-2019&quot; hreflang=&quot;fr&quot;&gt;Visual Studio 2019&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;

            &lt;div class=&quot;clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item&quot;&gt;&lt;p&gt;Pour les développeurs qui recherchent la performance maximale dans leur calculs parallèle en C++ avec OpenMP, ce &lt;a href=&quot;https://devblogs.microsoft.com/cppblog/simd-extension-to-c-openmp-in-visual-studio/&quot;&gt;très intéressant billet&lt;/a&gt;&amp;nbsp;sur le blog développeur de Microsoft détaille l&#039;état de l&#039;art de la prise en charge de l&#039;instruction SIMD dans l&#039;implémentation C++ OpenMP de Visual Studio.&lt;/p&gt;
&lt;p&gt;Single Instruction on Multiple Data&amp;nbsp;(instruction unique, données multiples), ou&amp;nbsp;SIMD, désigne un mode de fonctionnement des&amp;nbsp;ordinateurs&amp;nbsp;dotés de capacités de&amp;nbsp;parallélisme. Dans ce mode, la même instruction est appliquée simultanément à plusieurs données pour produire plusieurs résultats. (&lt;a href=&quot;https://fr.wikipedia.org/wiki/Single_instruction_multiple_data&quot;&gt;Wikipedia&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;OpenMP SIMP a été introduit dans le standard OpenMP 4.0 et Visual Studio 2019 en propose une implémentation, dans le but de répondre aux exigences toujours plus grandes du machine learning en termes de calculs intensifs.&lt;/p&gt;
&lt;p&gt;Ainsi Visual Studio 2019 permet d&#039;annoter une boucle avec une directive OpenMP SIMD, de façons à ce que le compilateur vectorise la boucle autant que possible. Le compilateur respectant l&#039;intention d&#039;un développeur d&#039;avoir plusieurs itérations de la boucle exécutées simultanément.&lt;/p&gt;
&lt;p&gt;#pragma omp simd&lt;br&gt;&lt;br&gt;for (i = 0; i &amp;lt; count; i++)&lt;br&gt;{&lt;br&gt;&amp;nbsp; &amp;nbsp; a[i] = b[i] + 1;&lt;br&gt;}&lt;/p&gt;
&lt;p&gt;La directive OpenMP SIMD peut recevoir plusieurs clauses afin d&#039;améliorer encore la vectorisation :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;simdlen(&lt;em&gt;length&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;safelen(&lt;em&gt;length&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;linear(&lt;em&gt;list[&amp;nbsp;&lt;/em&gt;:&amp;nbsp;&lt;em&gt;linear-step]&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;aligned(&lt;em&gt;list[&amp;nbsp;&lt;/em&gt;:&amp;nbsp;&lt;em&gt;alignment]&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;private(&lt;em&gt;list&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;lastprivate(&lt;em&gt;list&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;reduction(&lt;em&gt;reduction-identifier&amp;nbsp;&lt;/em&gt;:&amp;nbsp;&lt;em&gt;list&lt;/em&gt;)&lt;/li&gt;
&lt;li&gt;collapse(&lt;em&gt;n&lt;/em&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;La directive OpenMP SIMD procure au développeur un moyen d&#039;imposer au compilateur la vectorisation d&#039;une boucle. Le compilateur est autorisé à ignorer la légalité apparente de cette vectorisation en acceptant la promesse d’exactitude du programmeur, précise de billet à découvrir absolument par tout développeur travaillant avec OpenMP sous Visual Studio.&lt;/p&gt;
&lt;/div&gt;
      &lt;section class=&quot;field field--name-field-commentaire-actu field--type-comment field--label-above comment-wrapper&quot;&gt;
  
  

  
&lt;/section&gt;
</description>
  <pubDate>Wed, 03 Apr 2019 08:15:00 +0000</pubDate>
    <dc:creator>fredericmazue</dc:creator>
    <guid isPermaLink="false">72081 at https://www.programmez.com</guid>
    </item>
<item>
  <title>Microsoft et Intel collaborent pour booster le moteur JavaScript de Edge au moyen de la technologie SIMD</title>
  <link>https://www.programmez.com/actualites/microsoft-et-intel-collaborent-pour-booster-le-moteur-javascript-de-edge-au-moyen-de-la-technologie-22755</link>
  <description>&lt;span class=&quot;field field--name-title field--type-string field--label-hidden&quot;&gt;Microsoft et Intel collaborent pour booster le moteur JavaScript de Edge au moyen de la technologie SIMD&lt;/span&gt;
&lt;span class=&quot;field field--name-uid field--type-entity-reference field--label-hidden&quot;&gt;&lt;span&gt;fredericmazue&lt;/span&gt;&lt;/span&gt;
&lt;span class=&quot;field field--name-created field--type-created field--label-hidden&quot;&gt;&lt;time datetime=&quot;2015-05-28T15:51:12+02:00&quot; title=&quot;Jeudi, 28 mai 2015 - 15:51&quot; class=&quot;datetime&quot;&gt;jeu, 28 Mai 2015 - 15:51&lt;/time&gt;
&lt;/span&gt;


  &lt;div class=&quot;inline__links&quot;&gt;&lt;nav class=&quot;links inline nav links-inline&quot;&gt;&lt;span class=&quot;comment-forbidden nav-link&quot;&gt;&lt;a href=&quot;/user/login?destination=/actualites/microsoft-et-intel-collaborent-pour-booster-le-moteur-javascript-de-edge-au-moyen-de-la-technologie-22755%23comment-form&quot;&gt;Se connecter&lt;/a&gt; ou &lt;a href=&quot;/user/register?destination=/actualites/microsoft-et-intel-collaborent-pour-booster-le-moteur-javascript-de-edge-au-moyen-de-la-technologie-22755%23comment-form&quot;&gt;s&#039;inscrire&lt;/a&gt; pour publier un commentaire&lt;/span&gt;&lt;/nav&gt;
  &lt;/div&gt;

&lt;div class=&quot;btn btn-light&quot;&gt;
      &lt;a href=&quot;/actualites/technologies&quot; hreflang=&quot;fr&quot;&gt;Technologies&lt;/a&gt;
  &lt;/div&gt;

&lt;div class=&quot;mots-cles-actualite d-flex flex-wrap gap-2&quot;&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/asmjs-0&quot; hreflang=&quot;fr&quot;&gt;asmjs&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/edge&quot; hreflang=&quot;fr&quot;&gt;Edge&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/chakra&quot; hreflang=&quot;fr&quot;&gt;Chakra&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/spartan&quot; hreflang=&quot;fr&quot;&gt;Spartan&lt;/a&gt;&lt;/div&gt;
      &lt;div class=&quot;btn&quot;&gt;&lt;a href=&quot;/actualites/simd&quot; hreflang=&quot;fr&quot;&gt;SIMD&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;

      &lt;div class=&quot;field field--name-field-image-actualite field--type-entity-reference field--label-hidden field__items&quot;&gt;
              &lt;div class=&quot;field__item&quot;&gt;&lt;div&gt;
  
  
  &lt;div class=&quot;field field--name-field-media-image field--type-image field--label-visually_hidden&quot;&gt;
    &lt;div class=&quot;field__label visually-hidden&quot;&gt;Image&lt;/div&gt;
              &lt;div class=&quot;field__item&quot;&gt;  &lt;img loading=&quot;lazy&quot; src=&quot;/sites/default/files/styles/large/public/images_actus/simd-chakra.jpg.webp?itok=ndY3axKM&quot; width=&quot;480&quot; height=&quot;239&quot; class=&quot;image-style-large&quot; /&gt;


&lt;/div&gt;
          &lt;/div&gt;

&lt;/div&gt;
&lt;/div&gt;
              &lt;div class=&quot;field__item&quot;&gt;&lt;div&gt;
  
  
  &lt;div class=&quot;field field--name-field-media-image field--type-image field--label-visually_hidden&quot;&gt;
    &lt;div class=&quot;field__label visually-hidden&quot;&gt;Image&lt;/div&gt;
              &lt;div class=&quot;field__item&quot;&gt;  &lt;img loading=&quot;lazy&quot; src=&quot;/sites/default/files/styles/large/public/images_actus/demo-smid-chakra.gif.webp?itok=C8sdY1Pg&quot; width=&quot;480&quot; height=&quot;445&quot; class=&quot;image-style-large&quot; /&gt;


&lt;/div&gt;
          &lt;/div&gt;

&lt;/div&gt;
&lt;/div&gt;
              &lt;div class=&quot;field__item&quot;&gt;&lt;div&gt;
  
  
  &lt;div class=&quot;field field--name-field-media-image field--type-image field--label-visually_hidden&quot;&gt;
    &lt;div class=&quot;field__label visually-hidden&quot;&gt;Image&lt;/div&gt;
              &lt;div class=&quot;field__item&quot;&gt;  &lt;img loading=&quot;lazy&quot; src=&quot;/sites/default/files/styles/large/public/images_actus/simd2.gif.webp?itok=CUuvSpbk&quot; width=&quot;480&quot; height=&quot;445&quot; class=&quot;image-style-large&quot; /&gt;


&lt;/div&gt;
          &lt;/div&gt;

&lt;/div&gt;
&lt;/div&gt;
          &lt;/div&gt;
  
            &lt;div class=&quot;clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item&quot;&gt;&lt;p&gt;Avec Windows 10 et son nouveau navigateur Edge (anciennement Spartan), Microsoft veut (doit) réussir son coup et séduire la clientèle. Pour y parvenir, la firme de Redmond apporte un soin tout particulier à Edge, et veut la performance au sein de celui-ci.&lt;/p&gt;
&lt;p&gt;Le moteur JavaScript est un point crucial en ce qui concerne la vitesse d&#039;exécution de certaines applications Web modernes, dont les jeux, particulièrement gourmands. C&#039;est dans ce contexte que Microsoft et Intel travaillent à &lt;a href=&quot;https://github.com/johnmccutchan/ecmascript_simd&quot;&gt;l&#039;implémentation&lt;/a&gt; de SIMD dans Chakra, le moteur JavaScript de Edge, ainsi que l&#039;explique Redmond dans un &lt;a href=&quot;http://blogs.windows.com/msedgedev/2015/05/21/intel-and-microsoft-partnering-for-an-improved-web-experience/&quot;&gt;billet&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;SIMD est une technologie de parallélisme que l&#039;on trouve sur toutes les puces modernes, indépendamment des architectures. SIMD, pour Single Instruction on Multiple Data et en opposition à SISD&amp;nbsp;(Single Instruction on Single Data) &amp;nbsp;permet d&#039;effectuer en parallèle les multiples instructions d&#039;une seule opération. Un des cas les plus évidents, donné en exemple dans le billet, est l&#039;addition des coordonnées de deux vecteurs (et plus généralement du calcul matriciel). Une opération, en quatre instructions avec SISD, mais une opération en une instruction (puisque les quatre s&#039;effectuent en parallèle) avec SIMD.&lt;/p&gt;

&lt;p&gt;Pour Microsoft, SIMD dans Chakra sera particulièrement efficace pour la vidéo, le multimédia et les jeux. Microsoft va jusqu&#039;à évoquer des performances proches du natif.&lt;/p&gt;
&lt;p&gt;SIMD devrait être intégré dans la prochaine spécification ECMAScript. Pour ceux qui ont un Windows 10 en preview avec Edge, il est possible de tester SIMD dans Chakra à cette page :&amp;nbsp;&lt;a href=&quot;http://peterjensen.github.io/simd-asm-2/mandelbrot-asm-2.html&quot;&gt;http://peterjensen.github.io/simd-asm-2/mandelbrot-asm-2.html&lt;/a&gt;&amp;nbsp;pour admirer les performances de Edge avec SIMD dans le tracé de fractales de Mandelbrot. Page&amp;nbsp;qu&#039;ils visiteront après avoir activé asm.js dans leur navigateur Edge au moyen de l&#039;instruction &lt;em&gt;about:flags.&lt;/em&gt;&lt;/p&gt;

&lt;/div&gt;
      &lt;section class=&quot;field field--name-field-commentaire-actu field--type-comment field--label-above comment-wrapper&quot;&gt;
  
  

  
&lt;/section&gt;
</description>
  <pubDate>Thu, 28 May 2015 13:51:12 +0000</pubDate>
    <dc:creator>fredericmazue</dc:creator>
    <guid isPermaLink="false">68182 at https://www.programmez.com</guid>
    </item>

  </channel>
</rss>
