/**
 * 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.
 */

/* Generated By CANNBot */

/*!
 * \file softplus_grad_struct.h
 * \brief softplus_grad TilingKey 模板声明
 */
#ifndef SOFTPLUS_GRAD_STRUCT_H_
#define SOFTPLUS_GRAD_STRUCT_H_

#include "atvoss/broadcast/broadcast_base_struct.h"

namespace SoftplusGradOp {

// 算子自定义的 tiling key 字段:schMode only
// dtype 维度由 binary.json 驱动 DTYPE_GRADIENTS 编译选项(ascendc_impl_build.py 自动生成),
// 无需在 TilingKey 中区分,编译系统会为 binary.json 中每个 dtype 变体生成独立 kernel 实例
ASCENDC_TPL_ARGS_DECL(SoftplusGrad, BRC_TEMP_SCH_MODE_KEY_DECL(schMode));

ASCENDC_TPL_SEL(
    ASCENDC_TPL_ARGS_SEL(BRC_TEMP_SCH_MODE_KEY_SEL(schMode)));

}  // namespace SoftplusGradOp

#endif  // SOFTPLUS_GRAD_STRUCT_H_