开发者

What's the best hierarchical module path for an OpenCL-Haskell library?

开发者 https://www.devze.com 2023-03-19 12:44 出处:网络
I\'m creating a OpenCL high-level haskell library. Where\'s the best path in haskell tree for put it? I think it should be outside of Graphics subtree but I dont know where to put it.

I'm creating a OpenCL high-level haskell library. Where's the best path in haskell tree for put it? I think it should be outside of Graphics subtree but I dont know where to put it.

It's based on Jeff Heard OpenCLR开发者_运维百科aw (He put that one on System.OpenCL.Raw.V10).

Update: I just started a repository, http://github.com/zhensydow/opencl

Update: Options that I propose (and fomr answers)

  • System.GPU.OpenCL
  • Control.Parallel.OpenCL
  • Foreign.OpenCL


How about putting it in Control.Parallel? The haskell-mpi package uses Control.Parallel.MPI, and there's also the commonly used Control.Parallel.Strategies so it seems like an appropriate prefix.

Shameless plug: I wrote a small script for fun to extract the hierarchical module tree from all packages on Hackage. It might be useful for seeing what hierarchical modules other packages use. I'll clean up the code and release it some time in the future. For now, here's the Hackage tree as of May 2011.

0

精彩评论

暂无评论...
验证码 换一张
取 消