From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludovic.courtes@inria.fr (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: fftw runtime cpu detection Date: Fri, 06 Apr 2018 10:05:43 +0200 Message-ID: <87sh883gko.fsf@gnu.org> References: <20180405221329.GT105827@pe06.us.cray.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f4MNc-00017d-Fr for guix-devel@gnu.org; Fri, 06 Apr 2018 04:05:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f4MNX-0006ii-F9 for guix-devel@gnu.org; Fri, 06 Apr 2018 04:05:52 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:34414) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f4MNX-0006ew-5G for guix-devel@gnu.org; Fri, 06 Apr 2018 04:05:47 -0400 In-Reply-To: <20180405221329.GT105827@pe06.us.cray.com> (Eric Bavier's message of "Thu, 5 Apr 2018 17:13:29 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Eric Bavier Cc: guix-devel@gnu.org Hello Eric, Eric Bavier skribis: > I recently discovered that the FFTW library can do runtime cpu > detection. In order to do this, the package needs to be configured to > build SIMD "codelets", like how our 'fftw-avx' currently does. Then, > based on the instruction support detected at runtime, make those > kernels available to the fftw "planner" for execution. That=E2=80=99s really good news! Thanks for testing it. The patch LGTM. Can you confirm that the planner won=E2=80=99t ever try to= use the AVX2 codelets, for instance when running the test suite on an x86_64 box that lacks AVX2? If that=E2=80=99s the case, I=E2=80=99d be in favor of pushing this patch t= o core-updates. Thanks, Ludo=E2=80=99.