歡迎光臨
我們一直在努力

Futhark 0.5.1 釋出,小型全新的函數語言程式設計語言

文章摘要: a module of the same name is no longer defined ( #538 ). The default keyword is no longer supported. /futlib/merge_sort and  /futlib/radix_sort now de

Futhark 0.5.1 已釋出 。

Futhark 是一個小型全新的函數語言程式設計語言,可編譯為高效能的 GPU 程式碼。使用靜態型別、並行資料以及純函式陣列語言。該語言對編譯器提前進行重度的優化,通過OpenCL生成 GPU 程式碼。Futhark 並非為圖形程式設計而設計,通過使用 GPU 來加速並行的陣列計算,支援常規巢狀的資料並行化處理。

Futhark 使用Haskell語言開發。

該版本的主要變化是切換到新的版本方案,以後釋出的版本號永遠不會以 .0 結束。這個版本是一個穩定和整合的版本。

具體更新如下:

Added

  • Entry points need no longer be syntactically first-order.

  • Added overloaded numeric literals ( #532 ). This means type

    suffixes are rarely required.

  • Binary and unary operators may now be bound in patterns by

    enclosing them in parenthesis.

  • futhark-doc now produces much nicer documentation. Markdown is

    now supported in documentation comments.

  • /futlib/functional now has operators  >-> and  <-< for

    function composition.  <<| are  |>> are deprecated.

  • /futlib/segmented now has a  segmented_reduce .

  • Scans and reductions can now be horizontally fused.

  • futhark-bench now supports multiple entry points, just like

    futhark-test .

  • ".." is now supported in include paths.

Removed

  • The reshape construct has been removed. Use the

    flatten / unflatten functions instead.

  • concat and  rotate no longer support the  @ notation. Use

    map nests instead.

  • Removed -I / --library . These never worked with

    futhark-test / futhark-bench anyway.

Changed

  • When defining a module type, a module of the same name is no

    longer defined ( #538 ).

  • The default keyword is no longer supported.

  • /futlib/merge_sort and  /futlib/radix_sort now define

    functions instead of modules.

Fixed

點此檢視完整更新日誌 https://github.com/diku-dk/futhark/releases/tag/v0.5.1

下載

未經允許不得轉載:頭條楓林網 » Futhark 0.5.1 釋出,小型全新的函數語言程式設計語言