NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::IDistributed_inference_technique Class Referenceabstract

Interface class for user-defined AI/DL inference techniques. More...

#include <idistributed_inference_technique.h>

Inherits mi::base::Interface_declare< 0xfc8e88e7, ... >.

Public Member Functions

virtual void inference (mi::neuraylib::IDice_transaction *dice_transaction, const IInference_source_data *source_data, IMemory_manager *memory_manager, IInference_result *result_data_assignment) const =0
 Launches the user-defined inference technique. More...
 
virtual const char * get_configuration () const
 Returns optional configuration settings that may be used by the library for the session export mechanism provided by ISession::export_session(). More...
 

Detailed Description

Interface class for user-defined AI/DL inference techniques.

An implementation of this class can be assigned as a scene description.

Member Function Documentation

 get_configuration()

virtual const char * nv::index::IDistributed_inference_technique::get_configuration ( ) const
inlinevirtual

Returns optional configuration settings that may be used by the library for the session export mechanism provided by ISession::export_session().

See also
IDistributed_data_import_callback::get_configuration()
Returns
String representation of the configuration settings, the instance of the interface class keeps ownership of the returned pointer.

 inference()

virtual void nv::index::IDistributed_inference_technique::inference ( mi::neuraylib::IDice_transaction *  dice_transaction,
const IInference_source_data source_data,
IMemory_manager memory_manager,
IInference_result result_data_assignment 
) const
pure virtual

Launches the user-defined inference technique.

This method is called by the rendering system in a separate thread to trigger the inference operation asynchronously and in parallel to the processing of subregion.

Note
This method must only return upon finishing the compute tasks.
Parameters
[in]dice_transactionThe current DiCE transaction.
[in]source_dataAn instance of a IInference_source allows accessing the data stored locally on the machine/GPU.
Note
Future version shall allow accessing data beyond the local data extent.
Parameters
[in]memory_managerAn instance of a IMemory_manager allows allocating library-side memory that shall be filled with application-side data.
[in,out]result_data_assignmentReceives the inference result data from the external inference operations and maps them to a unique identifier. The identifier or slot shall be know by subsequent XAC shader or compute programs to make use of the results inside. Making the slot available to the XAC shader represents the responsibility of the user or application writer.

The documentation for this class was generated from the following file: