Re: [eigen] FLENS C++ expression template Library has excellent documentation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] FLENS C++ expression template Library has excellent documentation
- From: Rohit Garg <rpg.314@xxxxxxxxx>
- Date: Sat, 18 Apr 2009 21:53:25 +0530
- 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=I0OI5+GgoGhnPu46Ogt0o33kiyB+gSVFDVnGtjb6MUM=; b=eGlJOY8q9e2/VC3IOIIxfn8YWCOwdTqaZq9/mVq5omPcgQ76xKn3Qpo7AvXGvqreP3 7P7A2k5WiZ4DIigMx1Fb+9UFflR3b11D07FhNja0AHSBBjsv+jHJ1+w75NCxdF9dvWfa RH7dPDXBXfBVcjECA353pGNKKcOYmBJxcbirE=
- 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=pb+aUAo1epYYAMBPGApR0CKJlD4oMXCLn/FSqFkqLhv6ifGUIJ9hR3/iaN/G4ZRSz+ 1JaJbmPCQNGBO8ZHgwNamgTAPf9Wf46/s+PyM5dK1XZSrna8Oggux+k1Bb4/V+qguUYu LDVd1vObNPWi1FL5uhdlMqnl2P9M3aQXLL7qk=
> There are different use cases.
> - many products of many small matrices
> - one product of two large matrices
This kind of question needs thought. You see, I was pretty
disappointed at the rather poor performance of eigen in the Pentium D
benchmarks. I am thinking that that is due to there being machine
dependent constants in the eigen which need to be tuned for each
machine.
Perhaps, we need an auto tuner which will run a wide variety of
benchmarks and set those constants in a header file that other
programs include. That header file comes with some sane constants when
you download it so you can run the auto tuners to optimize.
Parallelism is beneficial only if your problem size is greater than a
particular number. That number also should be decided on a per
algorithm basis by that auto-tuner. Now that we are thinking of
parallelism, we should consider this as well.
--
Rohit Garg
http://rpg-314.blogspot.com/
Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay