OpenCL quasicycling

I am looking for a way to make good use of OpenCL in Haskell and have found these slides ( alternative source ) of Benedict Gaster. They mention the impressive HOpenCL contextual API, but I can't find anything tangible.

The only thing that looks like the given C-quasi-notation seems to be language-c-quote , and its support for OpenCL-C ends with types, it does not support additional keywords.

And accelerate is something completely different, and mostly for CUDA, with the OpenCL core component in early alpha.

Then there is HIPERFIT , where no code has been published for a year (but the project still works), which seems to combine C quasiquotation and OpenCL, their bindings are even called HOpenCL, but they are just a shell, nothing is visible about monadic transformations and etc.

None of this seems closed and ready to build ...

Any news or other projects that I missed?

+4
source share
2 answers

I was looking for exactly the same thing and I came across this: https://github.com/bgaster/hopencl

This should be what Benedict Gaster, who no longer works for AMD, talked about. There is no huge activity in git, but it was updated about 2 months ago, which is even better than a year.

EDIT: Actually, J. Garrett Morris (another author of HOpenCL) created the fork: https://github.com/jgbm/hopencl

+2
source

First we see that you are here now. I am the author of the HIPERFIT-hopencl package, and I am also a little responsible for supporting the OpenCL C language C-quote. I apologize for the name confusion and now we have two hopencl packages. I sent Benedict Gaster and J. Garrett Morris about how we resolve this.

What do you miss in c-quote? Could you give an example of OpenCL C code that it does not process?

(PS. I am new here and could not find a way to comment on your post, so I had to post this as an answer - maybe I have not reached the right level of cleanup yet)

+2
source

Source: https://habr.com/ru/post/1446487/


All Articles