From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by sourceware.org (Postfix) with ESMTPS id 76317385800A for ; Wed, 14 Apr 2021 21:57:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 76317385800A Received: by mail-ed1-f54.google.com with SMTP id h10so25488146edt.13 for ; Wed, 14 Apr 2021 14:57:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hJDYdY4y4ttJ0VfwvoAkuVaHu7q9owyfa4h9zmvYo7o=; b=BjY/zvvbijbRVXX+ONf/PCTptrPbKgBPwZiZvssZxAKmGHw+jDsYLg7ZVZFlvhZqGY q61AN2w29pf0QF71DTGPJR8tAoKWp2f3gpVY23RtNPzHJsGSALrSOlIUhQsu58Za85bT Tct7AqlT9H+eBbFWL9JSIqzcNdNuAeFjDW8TfLEVH7rILb+e7TYcuC7Qtgx0HPuENcR8 D1NQ+k44PxZx30GDfMo7O1uQSRThd1FgIWYvxYLXIMDIBf/KAgb/j1qXkqDcCGTq9rYG Ct985mj7CXLgr3YwmQU5/SMT9I3khuGTd+qZSbj6vNyTPuw6jru+C7HjCM6yUgLVeMKP TEdw== X-Gm-Message-State: AOAM532+DNfz44h4i4MO/MFDBKKRGdrOhmwzXK6ngVSNI+chzdxXv8Tw 2BmbcMANkn7kvCDpCvbifl10IbA60DKnoPl1xcg= X-Google-Smtp-Source: ABdhPJyRHJNyKlkQDom9OOnmZTGMNVEwavqkKgxZuNdqoWF+Vp+ZkGIssTUZCIgt1sAvVglIqXIcleuM7N5f/qMk1K4= X-Received: by 2002:a05:6402:2208:: with SMTP id cq8mr394377edb.122.1618437453589; Wed, 14 Apr 2021 14:57:33 -0700 (PDT) MIME-Version: 1.0 References: <87lf9nk2ku.fsf@oldenburg.str.redhat.com> <20210413034346.GA22861@1wt.eu> <20210414095804.GB10709@zn.tnic> In-Reply-To: <20210414095804.GB10709@zn.tnic> From: Len Brown Date: Wed, 14 Apr 2021 17:57:22 -0400 Message-ID: Subject: Re: Candidate Linux ABI for Intel AMX and hypothetical new related features To: Borislav Petkov Cc: Willy Tarreau , Andy Lutomirski , Florian Weimer , "Bae, Chang Seok" , Dave Hansen , X86 ML , LKML , linux-abi@vger.kernel.org, "libc-alpha@sourceware.org" , Rich Felker , Kyle Huey , Keno Fischer Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2021 21:57:35 -0000 On Wed, Apr 14, 2021 at 5:58 AM Borislav Petkov wrote: > > On Tue, Apr 13, 2021 at 03:51:50PM -0400, Len Brown wrote: > > AMX does the type of matrix multiplication that AI algorithms use. In > > the unlikely event that you or one of the libraries you call are doing > > the same, then you will be very happy with AMX. Otherwise, you'll > > probably not use it. > > Which sounds to me like AMX is something which should not be enabled > automatically but explicitly requested. I don't see the majority of the > processes on the majority of the Linux machines out there doing AI with > AMX - at least not anytime soon. If it becomes ubiquitous later, we can > make it automatic then. I'm pretty sure that the "it isn't my use case of interest, so it doesn't matter" line of reasoning has long been established as -EINVAL ;-)