[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] OpenCL hello example (OS X 10.6 / OpenCL 1.0)
From: |
Peter Bex |
Subject: |
Re: [Chicken-users] OpenCL hello example (OS X 10.6 / OpenCL 1.0) |
Date: |
Tue, 7 Dec 2010 10:22:40 +0100 |
User-agent: |
Mutt/1.4.2.3i |
On Mon, Dec 06, 2010 at 09:45:50PM -0500, David Dreisigmeyer wrote:
> In case anyones interested here's a working example of some OpenCL
> code. I'm hoping to pursue this line a bit more, but wanted to verify
> it could work easily.
I see a C program which happens to be invoked from Chicken.
That's cheating! ;)
More seriously, it would be interesting to actually convert the program
you wrote in C to Chicken. You'd have to make FFI bindings to the
functions you're invoking though.
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth