cupva_host_cmd_l2ops.h#

Fully qualified name: src/host/c_api/include/detail/scheduling/cupva_host_cmd_l2ops.h

File members: src/host/c_api/include/detail/scheduling/cupva_host_cmd_l2ops.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 CUPVA_HOST_CMD_L2OPS_H
#define CUPVA_HOST_CMD_L2OPS_H

#include <detail/scheduling/cupva_host_types_scheduling.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef enum
{
    CUPVA_L2_OPERATION_FLUSH,
    CUPVA_L2_OPERATION_INVALIDATE,
    CUPVA_L2_OPERATION_FLUSH_AND_INVALIDATE
} cupvaL2OperationType_t;

DLL_EXPORT cupvaError_t CupvaCmdL2OpsCreate(cupvaCmd_t *const cmdL2Ops, cupvaL2OperationType_t const opType,
                                            void *const devptr);

#ifdef __cplusplus
}
#endif
#endif // CUPVA_HOST_CMD_L2OPS_H