AccelerateHS/accelerate

Support GHCJS compilation

开放

#507 创建于 2021年9月8日

 (7 条评论) (0 个反应) (0 位负责人)Haskell (112 个派生)batch import
help wanted

仓库指标

星标
 (830 个星标)
PR 合并指标
 (平均合并 40天) (30 天内合并 1 个 PR)

描述

Is your feature request related to a problem? Please describe. GHCJS cannot compile accelerate.

Describe the solution you'd like GHCJS to successfully compile accelerate.

Describe alternatives you've considered Don't use accelerate.

Additional context accelerate currently uses foreign C calls that fail under GHCJS. Additionally, the terminal-size dependency does not compile with GHCJS.

I'm not sure how practical it would be to support compilation under GHCJS, but it would make accelerate an even more backend agnostic framework for computation. With GHCJS, accelerate could run on the web, in addition to CPUs and GPUs.

贡献者指南