/**
 * Copyright (c) 2026 Huawei Technologies Co., Ltd.
 * This program is free software, you can redistribute it and/or modify it under the terms and conditions of
 * CANN Open Software License Agreement Version 2.0 (the "License").
 * Please refer to the License for details. You may not use this file except in compliance with the License.
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
 * INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
 * See LICENSE in the root of the software repository for the full text of the License.
 */

/**
 * NOTE: Portions of this code were AI-generated and have been
 * technically reviewed for functional accuracy and security
 */

/* Generated By CANNBot */

/**
 * \file eltwise_tiling_data.h
 * \brief Eltwise TilingData structure definition (arch35)
 *
 * Standard C++ struct (no BEGIN_TILING_DATA_DEF macro).
 */

#ifndef ELTWISE_TILING_DATA_H
#define ELTWISE_TILING_DATA_H

struct EltwiseTilingData {
    int64_t totalNum = 0;       // Total number of elements (flattened)
    int64_t blockFactor = 0;    // Number of elements per AI Core
    int64_t ubFactor = 0;       // Number of elements per UB iteration (aligned)
    uint32_t inputNum = 0;      // Actual number of input tensors [1, 32]
    float coeff[32] = {0.0f};   // Weighted coefficients array (mode=1 SUM only), 128 bytes
};

#endif // ELTWISE_TILING_DATA_H