<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Geoff,<div class=""><br class=""></div><div class="">Thanks for the update. I found this <a href="https://ghc.haskell.org/trac/ghc/blog/weekly20141020" class="">https://ghc.haskell.org/trac/ghc/blog/weekly20141020</a></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><ul style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px;" class=""><li class="">Geoff Mainland stepped up and fixed Data Parallel Haskell to work with a new version of <tt style="color: rgb(102, 0, 0); border: 1px solid rgb(238, 221, 204); border-top-left-radius: 0.25em; border-top-right-radius: 0.25em; border-bottom-right-radius: 0.25em; border-bottom-left-radius: 0.25em; padding: 0px 0.3em; background-color: rgb(250, 250, 250); background-position: initial initial; background-repeat: initial initial;" class="">vector</tt> and GHC. Austin had disabled DPH a few weeks prior due to its difficulty to upgrade, and divergent source trees. With 7.10, GHC will hopefully ship a more modern <tt style="color: rgb(102, 0, 0); border: 1px solid rgb(238, 221, 204); border-top-left-radius: 0.25em; border-top-right-radius: 0.25em; border-bottom-right-radius: 0.25em; border-bottom-left-radius: 0.25em; padding: 0px 0.3em; background-color: rgb(250, 250, 250); background-position: initial initial; background-repeat: initial initial;" class="">vector</tt> and <tt style="color: rgb(102, 0, 0); border: 1px solid rgb(238, 221, 204); border-top-left-radius: 0.25em; border-top-right-radius: 0.25em; border-bottom-right-radius: 0.25em; border-bottom-left-radius: 0.25em; padding: 0px 0.3em; background-color: rgb(250, 250, 250); background-position: initial initial; background-repeat: initial initial;" class="">dph</tt> to boot.</li></ul></blockquote><div class=""><br class=""></div><div class="">From what you say this has been superseded?</div><div class=""><br class=""></div><div class="">Also seems that this page <a href="https://ghc.haskell.org/trac/ghc/wiki/SIMD" class="">https://ghc.haskell.org/trac/ghc/wiki/SIMD</a> should be updated and if I knew what it should say I would volunteer to update it.</div><div class=""><br class=""></div><div class="">A bit of background on why I am asking these questions: I am working on a Monte Carlo simulation and performance is a key issue. We are using parallelisation to good effect (after some interesting issues with thread affinity <a href="https://ghc.haskell.org/trac/ghc/ticket/10229" class="">https://ghc.haskell.org/trac/ghc/ticket/10229</a>) but I am trying to understand what other options might be available to speed things up.</div><div class=""><br class=""></div><div apple-content-edited="true" class="">
<div class="">Dominic Steinitz</div><div class=""><a href="mailto:dominic@steinitz.org" class="">dominic@steinitz.org</a></div><div class=""><a href="http://idontgetoutmuch.wordpress.com" class="">http://idontgetoutmuch.wordpress.com</a></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 13 Apr 2015, at 13:37, Geoffrey Mainland <<a href="mailto:mainland@cs.drexel.edu" class="">mainland@cs.drexel.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">SIMD support was merged to HEAD before the 7.8 release, so any version</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">of GHC after 7.8 has SIMD support built-in.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">If you want a branch that compiles with DPH, I'm afraid you are out of</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">luck. DPH no longer builds at all, and I believe Austin actually deleted</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">the simd branch mentioned on the Wiki.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Geoff</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On 04/13/2015 02:54 AM, Simon Peyton Jones wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="">Geoff Mainland is the originator of the SIMD instruction set work.<span class="Apple-converted-space"> </span><br class="">Let’s see what he says.<br class=""><br class=""><br class=""><br class="">Simon<br class=""><br class=""><br class=""><br class="">*From:*Glasgow-haskell-users<br class="">[<a href="mailto:glasgow-haskell-users-bounces@haskell.org" class="">mailto:glasgow-haskell-users-bounces@haskell.org</a>] *On Behalf Of<br class="">*Dominic Steinitz<br class="">*Sent:* 11 April 2015 17:45<br class="">*To:* GHC users<br class="">*Subject:* SIMD<br class=""><br class=""><br class=""><br class="">What’s the story with this? I tried to follow the instructions<br class="">here: <a href="https://ghc.haskell.org/trac/ghc/wiki/SIMD" class="">https://ghc.haskell.org/trac/ghc/wiki/SIMD</a> but I get<br class=""><br class=""><br class=""><br class=""> ~ $ git clone -b simd <a href="http://git.haskell.org/ghc.git" class="">http://git.haskell.org/ghc.git</a><br class=""> <<a href="http://git.haskell.org/ghc.git" class="">http://git.haskell.org/ghc.git</a>><br class=""><br class=""> Cloning into 'ghc'...<br class=""><br class=""> fatal: Remote branch simd not found in upstream origin<br class=""><br class=""><br class=""><br class="">Dominic Steinitz<br class=""><br class=""><a href="mailto:dominic@steinitz.org" class="">dominic@steinitz.org</a><span class="Apple-converted-space"> </span><<a href="mailto:dominic@steinitz.org" class="">mailto:dominic@steinitz.org</a>><br class=""><br class=""><a href="http://idontgetoutmuch.wordpress.com/" class="">http://idontgetoutmuch.wordpress.com</a></blockquote></div></blockquote></div><br class=""></div></body></html>