|Re: [eigen] Architecture specific performance optimizations|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Architecture specific performance optimizations
- From: Manuel Yguel <manuel.yguel@xxxxxxxxx>
- Date: Mon, 10 Mar 2014 12:04:30 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Jy30U0JNWv9ABtlUontBur9POratZbmGqbI3hvnJvG4=; b=HutMrPtXiswAthOS4FHcPkADwuA/UOh++SKllZf/OhrK8BL3zTZw4qd4+W/EQ5NhM/ rPDiqVVqa+8mAkuqKfNWUF3Dr3RVIVA6mb9lEKsoXVhevrrH3jx/0fuFfgZq/zhqQkFQ s0dtMol268FEVHyS9g6QOTsv+mI7oFL1vL5tNJQR0qgSUwotBeRcLysoUHQN1K6jn+14 14xCgAS19UIKpvGsxNetma8L96Uq9H3XamPeIXPmTy8YWfm6XNGaaZJ7+FKYznADAcRB kyRAwHD3/QHKAXqKBLQTBIslxOCJhGIfC7VNfJjzMyS6TGvouP/jlo4HPmDIL49oe8IR YOrw==
I do not know if it is the good approach to the problem. But maybe it
would be possible to provide a program that run a few tests to
estimate the abilities of an architecture.
Then the program could generate a header with appropriate variables
set to optimize eigen calculations for that architecture.
I know that some libraries and programs (I was told that mplayer does
that, but I never investigate the matter myself) run tests at runtime
when they are launched and then use appropriate configuration options
to optimize how they operate.
I think it is very clever because having such an approach let the
developers choose what kind of optimization they want to support. The
downside is to build the tests to detect what an architecture is
Dr. Ing. Manuel Yguel
StraTagGem project manager