|Re: [eigen] (co-)mentoring for Google Summer of Code|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
- To: "eigen@xxxxxxxxxxxxxxxxxxx" <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [eigen] (co-)mentoring for Google Summer of Code
- From: "Schleimer, Ben" <bensch128@xxxxxxxxx>
- Date: Wed, 11 Feb 2015 11:02:17 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1423652538; bh=ntGDI+yhjmyR4x+JyL7m1qpS+gi81OlG+eOJ48Nlxsg=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject; b=LLkwmcfvOqY8QeFY1poxndrpuM3i2NbAhd0VI0MMEMG8fNvW2SnjgAxwIlGvW36sJnsFFtKvqCIDShThBq9kYjHyae4s+Szz2gZwR5Y8kIYNgnrWFknA6n76WyRrhMKcjH46vSBqtSVFGV56SiUaQvN065RWoC5itGSrPqaS0+vbuHyUPRry5xuGh2LsaDtSR9+Zz5VlzdlZnXrBXLPIpNSo/B9QWG5eak747XoDwDR/Uk2pzpaatEVXwqGHB7mCjOANhsxu3uLWuU9pohBsGs8ftZTERJCV8ovR2IuE1nsM3hVpGIIxep52wJXfk3Urrp3f/60tKvoO2nr/0KWudA==
I believe that once a OpenCL kernel is built, it can be reused as many times as you want. I was under the impression that the device keeps the kernel on the device memory but I could be wrong.
Also, the C++ wrapper for the OpenCL buffer object is fairly straight forward... read data to device, run the kernel, write data from device...
Sigh, I would volunteer to do this but I'm too busy right now...
so I'm going to shut up now.
On Wednesday, February 11, 2015 12:05 AM, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:
unfortunately handling OpenCL is much more complicated as you have to generate and compile the code at runtime, and if the _expression_ is within a loop you would also like to cache the compiled code somehow. You would also have to deal with memory transfers while CUDA can do it for us.