On 17 October 2011 11:56, Luis Cabellos <cabel...@ifca.unican.es> wrote:
> On Thu, Oct 13, 2011 at 9:13 PM, Martin Dybdal <dyb...@dybber.dk> wrote:
>> My own library is available at https://github.com/HIPERFIT/hopencl and
>> will be released on hackage very soon (next week probably). Please
>> take a look at it. It is currently tested on x86_64 Linux with both
>> the AMD x86/x86_64 bindings and NVIDIAs CUDA bindings. They will
>> probably not work on Windows in their present state, and I don't have
>> access to a Windows machine to test it on.
>
> As Jason Dagit say, I put the stdcall call convention option in OpenCL
> for windows:
> https://github.com/zhensydow/opencl/blob/master/OpenCL.cabal
>
> Other issues to solve,
> How to compile in hackage server to generate documentation online?
> opencl.h isn't in the server so I getting errors.

For now I have bundled the OpenCL header files with my package. That
is not the right way either, as the header files can contain some
platform specific information, for instance information about the
calling conventions, which would be a way to handle the problem above
(and the only way possible with c2hs, as far as I know).

-- 
Martin Dybdal

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to