Re: [eigen] Matrix support in Clang |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Matrix support in Clang
- From: Christoph Hertzberg <chtz@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Feb 2020 14:28:24 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=uni-bremen.de; s=2019; t=1581514104; i=@uni-bremen.de; bh=Lk0EuIIFaZSxqUhYDVi8Q0Y8bvmw2cFHkLZBgWP1DmU=; h=To:References:From:Date:In-Reply-To; b=oNnOKZZR/uddcQymL1HvNdpDEK5+FVG+MI3cfB7wAI1VDv4m8Jz0vbAN6Zf9jUD24 153URXKDpaqdXWFITmhuG22H3MX+zb40mBOERIvSSiTk7amo97XelxGErxTT4qdSch bX5N5saKRRRPILl3a7WD3hDbYku4oWotCAJ4NIvFyjXTE47HoMQ0y4+e8f8NayVT9g ZvoIvzbZrdcXbep+eQlmA5j53RA1tAYC1nUkquVfDRYlt4yNagb9bBoGdJVd6wVcLv 86F50altha40RXkrwqQ/KjgYg/4w+T0cdvQ/4iT3RyF5KH0Bwcl0w8EsnH2xGok9d4 NRpgBg3n4/58A==
Hi, sorry for the late reply.
This certainly looks interesting (I just glanced over it so far), but I
guess for Eigen this could only serve as "inspiration" for better code,
since we need to stay compiler-independent.
At the moment, I don't think making different code-paths just to support
this, is a good idea. Although, eventually this could be handled like a
different "architecture".
Cheers,
Christoph
On 31/01/2020 00.40, Florian Hahn wrote:
Hello,
As already mentioned earlier on the list, we recently shared a proposal to add support for some matrix math operations to Clang.
The extension initially helps to improve & simplify code generation for small matrixes (sizes < 15x15). We are currently trying to make sure the extension is useful for a wider range of users. It would be great if you could take a look and share any feedback or comments on cfe-dev.
The original proposal can be found on the cfe-dev mailing list: http://lists.llvm.org/pipermail/cfe-dev/2019-December/064141.html <http://lists.llvm.org/pipermail/cfe-dev/2019-December/064141.html> and the thread continues in January: http://lists.llvm.org/pipermail/cfe-dev/2020-January/064206.html <http://lists.llvm.org/pipermail/cfe-dev/2020-January/064206.html>
The original proposal uses builtins for matrix operations, but as part of the initial feedback we are planning on replacing those with proper operators for the type.
Thanks,
Florian
--
Dr.-Ing. Christoph Hertzberg
Besuchsadresse der Nebengeschäftsstelle:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Postadresse der Hauptgeschäftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 1
28359 Bremen, Germany
Tel.: +49 421 178 45-4021
Zentrale: +49 421 178 45-0
E-Mail: christoph.hertzberg@xxxxxxx
Weitere Informationen: http://www.dfki.de/robotik
-------------------------------------------------------------
Deutsches Forschungszentrum für Künstliche Intelligenz GmbH
Trippstadter Straße 122, D-67663 Kaiserslautern, Germany
Geschäftsführung:
Prof. Dr. Antonio Krüger (Vorsitzender)
Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats:
Dr. Gabriël Clemens
Amtsgericht Kaiserslautern, HRB 2313
-------------------------------------------------------------