NVIDIA IndeX API nvidia_logo_transpbg.gif Up
iinference_result.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_IINFERENCE_RESULT_H
8#define NVIDIA_INDEX_IINFERENCE_RESULT_H
9
10#include <mi/dice.h>
11#include <mi/base/interface_declare.h>
12
14
15namespace nv {
16namespace index {
17
23 public mi::base::Interface_declare<0xd4374014,0x592b,0x4c6d,0x9c,0x3d,0x85,0xe7,0x9e,0xe6,0x1b,0x23>
24{
25public:
59 mi::neuraylib::Tag_struct xac_program,
60 mi::Uint32 slot_id,
61 nv::index::ICuda_memory_buffer* inference_results) = 0;
62
63 virtual void invalidate(
64 mi::neuraylib::Tag_struct xac_program,
65 mi::Uint32 slot_id) = 0;
66};
67
68} // namespace index
69} // namespace nv
70
71#endif // NVIDIA_INDEX_IINFERENCE_RESULT_H
Interface class encapsulating and exposing CUDA device memory.
Definition: imemory_manager.h:20
Interface class representing AI/DL inference results to be consumed by NVIDIA IndeX.
Definition: iinference_result.h:24
virtual void bind_inference_result(mi::neuraylib::Tag_struct xac_program, mi::Uint32 slot_id, nv::index::ICuda_memory_buffer *inference_results)=0
Binds the results of the inference operation to an XAC program's slot.
Memory management.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349