caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* daml - a CUDA binding
@ 2008-12-11 10:04 Sashan Govender
  0 siblings, 0 replies; only message in thread
From: Sashan Govender @ 2008-12-11 10:04 UTC (permalink / raw)
  To: caml-list

Hi

I've uploaded some work on a CUDA binding to OCaml  that I've been
doing in my spare time over here
https://forge.ocamlcore.org/projects/daml/. Here's a brief summary of
what you can do with it at the moment:

- allocate memory on a gpu
- deallocate that resource
- copy and integer array from OCaml onto the gpu
- execute a kernel function to process the data on the gpu
- copy the result back into the OCaml array.

There are a few example programs in the repository as well.

Pretty basic but gotta start somewhere and my time for free software is limited.

Things to todo:
- Devise a strategy for minimizing copies from the host data structure
to the gpu.
- Expose more of the CUDA runtime API (this can for the most part be
done with camlidl)
- Expose the CUDA driver API.
- Write some more example progams.
- Tidy up the OMakefiles.

Any feedback appreciated.

There's a mailing list here daml-users@lists.forge.ocamlcore.org for questions.

-- 
sashan
http://sashang.orcon.net.nz/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-11 10:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-11 10:04 daml - a CUDA binding Sashan Govender

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).