Re: [eigen] slides of my talk |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] slides of my talk
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Mon, 26 Jan 2009 15:44:40 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=jm6yO/jS+tgUckLAfzbYDykm0CWsqiVHur4RpGlP71g=; b=uIe1D9ogdr5LcIAp0dChHQGuZgTyVKxbf6/6Zyq7CeaR73kDMWIzKC7abjkPdS+q2i s8VUCTG8tFKqs7zOtKliNBeXGfxTB/5rnsNZVeFG788rGFXPJ0P/aqfi3BL6D4+JLUFZ XpGxgiFRLjAB35370ENGtStJB+IicUGOaZF5w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=sr1FNmGmiwh87wfKvKCdJ/X39sQoP3AvrcV3DEq2Q2rzUn37/HcOy1V1BqHXm3HgR5 506fj6CeayX4bbwi+r9XUixbLvGrz1Shvs/B/Gj95OKh4GICkbwTaLMqAYw5IqcVFZD9 aMUOJWIplpj68H9iEIoYZVdiAWibdGiskgawk=
indeed, if you use matlab on relatively large dataset and you only use
high level operators/routines then matlab is very fast because it
relies on other state of the art library. There even exists plugins to
perform some computations on the GPU...
Said that, matlab is extremely slow as soon as you are doing some more
low level stuff involving complex expressions or a lot of small
computations... Matlab can be a couple of order of magnitude slower
than a C/C++ equivalent code. It seems MatLab is missing a JIT
compiler.
btw, benoit thanks for the slides !
Gael.
On Mon, Jan 26, 2009 at 3:35 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> I have no clue how matlab does in general, but on the forum we've had
> a user benchmarking matrix product against matlab, and matlab was
> doing like MKL and Goto, which suggests that it's using one of these
> libraries.
>
> If you're on *nix, you could try ldd or nm to get a clue about what
> library they're using.
>
> Cheers,
> Benoit
>
> 2009/1/26 Andre Krause <post@xxxxxxxxxxxxxxxx>:
>> Benoit Jacob schrieb:
>>> Hi,
>>>
>>> Today morning I gave a talk on Eigen at the CS department. Here are my
>>> slides, in case they might be helpful.
>>> When you see (SHOW BENCHMARKS) that's where I showed the benchmark
>>> graphs that are displayed on the Benchmark page of the wiki.
>>> I didn't have time to cover the last part on Eigen internals, I just
>>> finished with the benchmarks. However people were interested and asked
>>> questions about internals so in effect I got to explain as much of the
>>> internals as I had planned to.
>>>
>>> Thanks a LOT to Keir: he translated the C++ snippets into Matlab for
>>> me, and gave me a good briefing as to how to organize a talk for an
>>> audience of CS people.
>>>
>>> I am just afraid that using \documentclass{slides} for a public of CS
>>> people makes me look like a dinosaur mathematician.
>>>
>>> Cheers,
>>> Benoit
>>
>> dear benoit, you show matlab code corresponding to eigen2 code. but in the
>> benchmark section on the wiki, there is no matlab benchmark. i would be very
>> curious how slow (or fast?) matlab is, compared to eigen. i teached myself
>> matlab over christmas, and now i am curious how matlab compares to c++ (with
>> eigen2).
>>
>>
>>
>
>
>