Re: [eigen] How do you link multiple versions (e.g. AVX vs SSE) of the same Eigen code? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [eigen] How do you link multiple versions (e.g. AVX vs SSE) of the same Eigen code?
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Tue, 27 Jan 2015 18:22:59 -0500
- 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=CGDMAliBYt1Z8dp0SwHCWCbWSb0JpufMmx4Sj1RUfZk=; b=WMlFbUz7v5FhALN9K/LIZgCqQQ4TdH2LEPfO/xeL/urHuxJKFw0SfFT/O/9rNfj+Wi BLny2tg0D49xZhNSzUBJdofjeGRnnhF3QvRb++Nw23dqSp7/H/ueutXF8QcDbU1oIqAZ yiErVY2ivc66t4JozcuWB/OcpOMkfxYnCv+BwrXBnmqA68c4nuMeRmISYGL4NrI0mVKV 8CPpMdyWbcUR6c5uqFK/lAdj1TrUqgVgr0S3cu0VpAzzOrhnxhorOyJ9ANUYzlE6IVxJ klAAreYqQB99GCqcuLs2SBpZIRLPSqCR+NEntlHaYYKY4QXI+kkpEyv9eLdnuym1an8u nYXA==
Ouch... you're right. From Macros.h:
#if defined(__AVX__)
#undef EIGEN_ALIGN_BYTES
#define EIGEN_ALIGN_BYTES 32
#endif