文章摘要: 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-docnow produces much nicer documentation. Markdown isnow supported in documentation comments.
-
/futlib/functionalnow has operators>->and<-<forfunction composition.
<<|are|>>are deprecated. -
/futlib/segmentednow has asegmented_reduce. -
Scans and reductions can now be horizontally fused.
-
futhark-benchnow supports multiple entry points, just likefuthark-test. -
".." is now supported in
includepaths.
Removed
-
The
reshapeconstruct has been removed. Use theflatten/unflattenfunctions instead. -
concatandrotateno longer support the@notation. Usemapnests instead. -
Removed
-I/--library. These never worked withfuthark-test/futhark-benchanyway.
Changed
-
When defining a module type, a module of the same name is no
longer defined ( #538 ).
-
The
defaultkeyword is no longer supported. -
/futlib/merge_sortand/futlib/radix_sortnow definefunctions instead of modules.
Fixed
點此檢視完整更新日誌 https://github.com/diku-dk/futhark/releases/tag/v0.5.1
頭條楓林網