/**
 * 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 ball_query_tiling_data.h
 * \brief Tiling data struct for ball_query operator
 */

#ifndef BALL_QUERY_TILING_DATA_H_
#define BALL_QUERY_TILING_DATA_H_

struct BallQueryTilingData {
    int32_t B = 0;                // batch 数
    int32_t N = 0;                // 每 batch 的点数
    int32_t npoint = 0;           // 每 batch 的查询中心点数
    int32_t sampleNum = 0;        // 每球最大采样点数
    float minRadius2 = 0.0f;      // min_radius * min_radius
    float maxRadius2 = 0.0f;      // max_radius * max_radius
    int64_t totalQueryPoints = 0; // B * npoint,并行单元总数
};

#endif // BALL_QUERY_TILING_DATA_H_