Re: [eigen] Merging NVCC support branch |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: eigen <eigen@xxxxxxxxxxxxxxxxxxx>*Subject*: Re: [eigen] Merging NVCC support branch*From*: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>*Date*: Tue, 5 Nov 2013 18:15:35 +0100*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=s9BxJEHNFQia45A0c7LK0anBKEbb/K2+bpy6SlDd3iE=; b=YECLfupZ3ed4SMen7lc449sC+C6mnMsDIZGWUswLMK0Y8R6wtHrOEI/nMy1TA0edZP JDy8UXNNsGrmofKoRB8EHWfMCLji29QVNNdV4/IC3ok2Cp0uiQib9L5UzaAvpkokfYGx XvckqXjZVBHeMYhns64wc/3ljLFTJj7PIeZ6zsSzqPWtv3RF7WFBDBmF26KLxncswiiT L6/iPo2oF/1catQrzZCcH2mpnBEQkWcDh2H346Lv8Ow6iDwJ9GixPI6C2F3cOU0ii4HT qMEslAm3yz1c8bTCpSRutQwf90jq3ElZQF2J5cEjxklbcPXnEfje6A3JYMpbbBjqT8xi 5WfQ==

On Tue, Nov 5, 2013 at 4:51 PM, Marek Otahal <markotahal@xxxxxxxxx> wrote:

Hi,On Tue, Nov 5, 2013 at 4:37 PM, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:

OpenCL is C only, so no chance to call Eigen from it.Not sure I understand it, but you'd be calling openCL from Eigen, right? There's support for C++11 in oCL : http://simpleopencl.blogspot.cz/2013/06/tutorial-simple-start-with-opencl-and-c.html

The current port works the other-way round: it allows to call Eigen *from* cuda. This is very useful for all applications working with many tiny matrices.

Deporting linear algebra operations for very large dense matrices on the GPU is already possible through Magma: https://github.com/bravegag/eigen-magma

Then, the missing bit is to deport coefficient-wise operations for which we have to generate kernels on the fly. Once the nvcc port is complete, this is just a matter of replacing for loops of our evaluator by a CUDA kernel launch with templated kernel taking as argument the _expression_. Of course, the data has to be stored/moved to the device memory.

gael

**References**:**[eigen] Merging NVCC support branch***From:*Gael Guennebaud

**Re: [eigen] Merging NVCC support branch***From:*Benjamin Schindler

**Re: [eigen] Merging NVCC support branch***From:*Marek Otahal

**Re: [eigen] Merging NVCC support branch***From:*Billy Araujo

**Re: [eigen] Merging NVCC support branch***From:*Gael Guennebaud

**Re: [eigen] Merging NVCC support branch***From:*Marek Otahal

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] Merging NVCC support branch** - Next by Date:
**Re: [eigen] Merging NVCC support branch** - Previous by thread:
**Re: [eigen] Merging NVCC support branch** - Next by thread:
**Re: [eigen] Merging NVCC support branch**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |