内容简介:Futhark 0.5.1 已发布。 Futhark 是一个小型全新的函数式编程语言,可编译为高性能的 GPU 代码。使用静态类型、并行数据以及纯函数数组语言。该语言对编译器提前进行重度的优化,通过 OpenCL 生成 GPU 代码。F...
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 is
now supported in documentation comments./futlib/functionalnow has operators>->and<-<for
function 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 define
functions instead of modules.
Fixed
Better type inference for
rearrangeandrotate.importpath resolution is now much more robust.
点此查看完整更新日志 https://github.com/diku-dk/futhark/releases/tag/v0.5.1
下载
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- 编程语言特性:函数
- Go 语言函数式编程系列教程(十八) —— 函数篇:函数的基本定义和调用
- Go 语言函数式编程系列教程(十九) —— 函数篇:函数的传参和返回值
- Elixir 1.8 发布,函数式编程语言
- OCaml 4.08.0 发布,函数式编程语言
- OCaml 4.09.0 发布,函数式编程语言
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。