caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Sashan Govender" <sashang@gmail.com>
To: caml-list@yquem.inria.fr
Subject: daml - a CUDA binding
Date: Thu, 11 Dec 2008 21:04:52 +1100	[thread overview]
Message-ID: <23738f080812110204l4dd6ddces99a5f5b35f3bab1e@mail.gmail.com> (raw)

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/


                 reply	other threads:[~2008-12-11 10:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23738f080812110204l4dd6ddces99a5f5b35f3bab1e@mail.gmail.com \
    --to=sashang@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).