From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: *** X-Spam-Status: No, score=3.5 required=5.0 tests=DNS_FROM_RFC_POST,HTML_00_10, HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 9EAA8BBAF for ; Wed, 9 Sep 2009 12:42:37 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjABABsjp0pKfU4YkGdsb2JhbACCIzOPMYh7PwEBAQEJCQwHEwOvOIEnkEkBAwIEhBQF X-IronPort-AV: E=Sophos;i="4.44,358,1249250400"; d="scan'208";a="32450505" Received: from ey-out-2122.google.com ([74.125.78.24]) by mail2-smtp-roc.national.inria.fr with ESMTP; 09 Sep 2009 12:42:37 +0200 Received: by ey-out-2122.google.com with SMTP id 22so1227205eye.31 for ; Wed, 09 Sep 2009 03:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=j0LCr5MgUagcXaT/bWXe1syz0KdO+nKra5TdF44jb0E=; b=uZq6C3IIS0+vlsH5TMEfVPxbcVIi5XxIvpL9g/Bjbh223Dky4ctvyE+NMjXB0qeQQL 99X7jQqMog745XDddAGVAQrmZQOM3fhONwTIGDyyM8C9+3r3zXwcnAZuFhojh7EjJ/dK X/MT5L5VD5qOWvHbYGEHiNJxiFBFgUy8PGLPg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oaWNalFaO5Iwd8YsZNlyeOCcghuOmpfXp+ysMmQzEtApr5Yn4KR204evoInO6Zs3Io szYuGADwiPxkZn72PqJAYUnuqioeHunGGxXrAXwO5ZwpACsT2dzRhwzxDbogSpR0laVR ChiJCmfkE7+tvApaQpbFuV5g4099P5hJlT7xs= MIME-Version: 1.0 Received: by 10.216.4.82 with SMTP id 60mr2096660wei.117.1252492956515; Wed, 09 Sep 2009 03:42:36 -0700 (PDT) Date: Wed, 9 Sep 2009 12:42:35 +0200 Message-ID: Subject: OCaml and GPUs From: Guillaume Hennequin To: caml-list@yquem.inria.fr Content-Type: multipart/alternative; boundary=0016364c757ec1be68047322bd06 X-Spam: no; 0.00; ocaml:01 guillaume:01 interfacing:01 ocaml:01 bindings:01 bindings:01 runtime:01 wrappers:01 pointers:01 guillaume:01 interfacing:01 runtime:01 wrappers:01 pointers:01 wrote:01 --0016364c757ec1be68047322bd06 Content-Type: text/plain; charset=ISO-8859-1 Hello, I was wondering if there has been any effort so far in interfacing OCaml with GPU programming solutions like AMD Stream, or OpenCL. I'm only aware of Daml (CUDA bindings). I wrote some pieces of AMD Brook bindings a while ago to do very basic read/write operations on GPU, plus some kernel calls. I don't have much time to invest in this unfortunately. With OpenCL's ability to compile kernels at runtime, bindings for Ocaml could even offer the nice possibility to write the kernels in .ml files as strings, which would save a lot of wrappers around kernel-only C files. any ideas, comments, pointers ? Guillaume. --0016364c757ec1be68047322bd06 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I was wondering if there has been any effort so far in interf= acing OCaml with GPU programming solutions like AMD Stream, or OpenCL.
I= 'm only aware of Daml (CUDA bindings).

I wrote some pieces of AM= D Brook bindings a while ago to do very basic read/write operations on GPU,= plus some kernel calls.
I don't have much time to invest in this unfortunately.
With OpenCL&= #39;s ability to compile kernels at runtime, bindings for Ocaml could even = offer the nice possibility to write the kernels in .ml files as strings, wh= ich would save a lot of wrappers around kernel-only C files.

any ideas, comments, pointers ?

Guillaume.=A0
--0016364c757ec1be68047322bd06--