OpPeakDetection.h#

Fully qualified name: public/pipelines/radar/operators/include/OpPeakDetection.h

File members: public/pipelines/radar/operators/include/OpPeakDetection.h

/*
 * SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
 *
 * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
 * property and proprietary rights in and to this material, related
 * documentation and any modifications thereto. Any use, reproduction,
 * disclosure or distribution of this material and related documentation
 * without an express license agreement from NVIDIA CORPORATION or
 * its affiliates is strictly prohibited.
 */

#ifndef PVA_SOLUTIONS_OPPEAKDETECTION_H
#define PVA_SOLUTIONS_OPPEAKDETECTION_H

#include <PvaOperator.h>
#include <PvaOperatorTypes.h>
#include <RadarOperatorTypes.h>
#include <RadarSubmitDefinitions.h>
#include <cuda_runtime.h>
#include <cupva_host_scheduling.h>
#include <nvcv/Status.h>
#include <nvcv/Tensor.h>

#ifdef __cplusplus
extern "C" {
#endif

NVCVStatus pvaPeakDetectionCreate(NVCVOperatorHandle *handle, NVCVTensorRequirements const *const inTensorRequirements,
                                  NVCVTensorRequirements const *const outTensorRequirements, int32_t NofTx,
                                  int32_t repeatFold);

#ifdef __cplusplus
}

NVCVStatus pvaPeakDetectionSubmit(NVCVOperatorHandle handle, cupvaStream_t stream, NVCVTensorHandle *inHandles,
                                  NVCVTensorHandle *outHandles, int inTensorCount, int outTensorCount);

NVCVStatus pvaPeakDetectionSubmit(NVCVOperatorHandle handle, cudaStream_t stream, NVCVTensorHandle *inHandles,
                                  NVCVTensorHandle *outHandles, int inTensorCount, int outTensorCount);

#endif // __cplusplus

#endif /* PVA_SOLUTIONS_OPPEAKDETECTION_H */