문제

I recently read the paper on upcoming generalized stream fusion in vector and DPH libraries. It seems to be very interesting development. I am now starting to experiment with DPH (starting with GHC 7.6, and plan to upgrade to 7.8 SIMD version when it comes out). I also see from Repa library documentation that it can do the parallel array work. Repa seems to be the mature version compared to DPH which wasn't deemed ready as of GHC 7.4. Now that DPH seems to be maturing, I am wondering what are the main pros and cons between Repa and DPH packages, as of GHC 7.6. I searched StackOverflow and google, but couldn't find comparisons between Repa and DPH. Hence, this question.

도움이 되었습니까?

해결책

From the page about DPH on HaskellWiki:

DPH focuses on irregular data parallelism. For regular data parallel code in Haskell, please consider using the companion library Repa, which builds on the parallel array infrastructure of DPH.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top