From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A47BA41DCC for ; Mon, 13 Mar 2023 13:04:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9FA0940151; Mon, 13 Mar 2023 13:04:19 +0100 (CET) Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by mails.dpdk.org (Postfix) with ESMTP id 5EA1D40151 for ; Mon, 13 Mar 2023 13:04:17 +0100 (CET) Received: from loongson.cn (unknown [10.40.46.153]) by gateway (Coremail) with SMTP id _____8Dx_5c7EQ9kNeMLAA--.16750S3; Mon, 13 Mar 2023 20:04:12 +0800 (CST) Received: from localhost.localdomain (unknown [10.40.46.153]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Cxg+U6EQ9ksTlWAA--.49253S3; Mon, 13 Mar 2023 20:04:10 +0800 (CST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 32DBoKYg617251 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 13 Mar 2023 19:50:20 +0800 Received: (from root@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 32DBoKYS617250; Mon, 13 Mar 2023 19:50:20 +0800 Date: Mon, 13 Mar 2023 19:50:20 +0800 From: qemudev@loongson.cn Message-Id: <202303131150.32DBoKYS617250@localhost.localdomain> Content-Type: text/plain; charset="utf-8" Subject: |WARNING| pw125066 [PATCH v2 1/1] mldev: split bfloat16 routines to separate files In-Reply-To: <20230313120306.28911-1-syalavarthi@marvell.com> References: <20230313120306.28911-1-syalavarthi@marvell.com> To: test-report@dpdk.org Cc: Srikanth Yalavarthi , zhoumin@loongson.cn X-CM-TRANSID: AQAAf8Cxg+U6EQ9ksTlWAA--.49253S3 X-CM-SenderInfo: pthp3vthy6z05rqj20fqof0/ X-Coremail-Antispam: 1Uk129KBjvJXoWxZF1Duw4fJFW5CFWUCFWxWFg_yoWrJFyxpF 15WFy3t3y8GF9ag34vkr4fWasFyr1UJrWrWF12qr9xAF15X3Zak3W0qr43Zryqqas5A34q yrZrKay5X3s3XaUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUj1kv1TuYvTs0mT0YCTnIWj qI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUIcSsGvfJTRUUU b0AFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wA2ocxC64kIII0Yj41l84x0c7CEw4 AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1j6r1xM28EF7xvwVC0I7IYx2IY6xkF 7I0E14v26r1j6r4UM28EF7xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7 CjxVAFwI0_Gr1j6F4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2 zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VCjz48v1sIEY20_WwAm72CE4IkC6x 0Yz7v_Jr0_Gr1lw4CEc2x0rVAKj4xxMxAIw28IcxkI7VAKI48JMxAIw28IcVCjz48v1sIE Y20_WwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E74 80Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jrv_JF1lIxkGc2Ij64vIr41lIxAIcVC0 I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04 k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7Cj xVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0zRhvtAUUUUU= X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: loongarch-compilation Test-Status: WARNING http://dpdk.org/patch/125066 _apply patch failure_ Submitter: Srikanth Yalavarthi Date: Mon, 13 Mar 2023 05:03:06 -0700 DPDK git baseline: Repo:dpdk Branch: main CommitID: baf13c3135d0c5998fff7edc23fb89412dc89246 Apply patch set 125066 failed: Checking patch lib/mldev/meson.build... error: while searching for: 'mldev_utils.c', ) if dpdk_conf.has('RTE_ARCH_ARM64') sources += files('mldev_utils_neon.c') else sources += files('mldev_utils_scalar.c') endif headers = files( 'rte_mldev.h', ) error: patch failed: lib/mldev/meson.build:7 error: lib/mldev/meson.build: patch does not apply Checking patch lib/mldev/mldev_utils_neon.c... Checking patch lib/mldev/mldev_utils_neon_bfloat16.c... Checking patch lib/mldev/mldev_utils_scalar.c... error: while searching for: * Copyright (c) 2022 Marvell. */ #include #include #include #include "mldev_utils.h" /* Description: * This file implements scalar versions of Machine Learning utility functions used to convert data * types from higher precision to lower precision and vice-versa. */ #ifndef BIT #define BIT(nr) (1UL << (nr)) #endif #ifndef BITS_PER_LONG #define BITS_PER_LONG (__SIZEOF_LONG__ * 8) #endif #ifndef GENMASK_U32 #define GENMASK_U32(h, l) (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) #endif /* float32: bit index of MSB & LSB of sign, exponent and mantissa */ #define FP32_LSB_M 0 #define FP32_MSB_M 22 #define FP32_LSB_E 23 #define FP32_MSB_E 30 #define FP32_LSB_S 31 #define FP32_MSB_S 31 /* float32: bitmask for sign, exponent and mantissa */ #define FP32_MASK_S GENMASK_U32(FP32_MSB_S, FP32_LSB_S) #define FP32_MASK_E GENMASK_U32(FP32_MSB_E, FP32_LSB_E) #define FP32_MASK_M GENMASK_U32(FP32_MSB_M, FP32_LSB_M) /* float16: bit index of MSB & LSB of sign, exponent and mantissa */ #define FP16_LSB_M 0 #define FP16_MSB_M 9 #define FP16_LSB_E 10 #define FP16_MSB_E 14 #define FP16_LSB_S 15 #define FP16_MSB_S 15 /* float16: bitmask for sign, exponent and mantissa */ #define FP16_MASK_S GENMASK_U32(FP16_MSB_S, FP16_LSB_S) #define FP16_MASK_E GENMASK_U32(FP16_MSB_E, FP16_LSB_E) #define FP16_MASK_M GENMASK_U32(FP16_MSB_M, FP16_LSB_M) /* bfloat16: bit index of MSB & LSB of sign, exponent and mantissa */ #define BF16_LSB_M 0 #define BF16_MSB_M 6 #define BF16_LSB_E 7 #define BF16_MSB_E 14 #define BF16_LSB_S 15 #define BF16_MSB_S 15 /* bfloat16: bitmask for sign, exponent and mantissa */ #define BF16_MASK_S GENMASK_U32(BF16_MSB_S, BF16_LSB_S) #define BF16_MASK_E GENMASK_U32(BF16_MSB_E, BF16_LSB_E) #define BF16_MASK_M GENMASK_U32(BF16_MSB_M, BF16_LSB_M) /* Exponent bias */ #define FP32_BIAS_E 127 #define FP16_BIAS_E 15 #define BF16_BIAS_E 127 #define FP32_PACK(sign, exponent, mantissa) \ (((sign) << FP32_LSB_S) | ((exponent) << FP32_LSB_E) | (mantissa)) #define FP16_PACK(sign, exponent, mantissa) \ (((sign) << FP16_LSB_S) | ((exponent) << FP16_LSB_E) | (mantissa)) #define BF16_PACK(sign, exponent, mantissa) \ (((sign) << BF16_LSB_S) | ((exponent) << BF16_LSB_E) | (mantissa)) /* Represent float32 as float and uint32_t */ union float32 { float f; uint32_t u; }; int rte_ml_io_float32_to_int8(float scale, uint64_t nb_elements, void *input, void *output) { error: patch failed: lib/mldev/mldev_utils_scalar.c:2 error: lib/mldev/mldev_utils_scalar.c: patch does not apply Checking patch lib/mldev/mldev_utils_scalar.h... Checking patch lib/mldev/mldev_utils_scalar_bfloat16.c...