DiCE API nvidia_logo_transpbg.gif Up
mi::neuraylib::Fragmented_job< id1, ... > Class Template Reference

This mixin class can be used to implement the mi::neuraylib::IFragmented_job interface. More...

#include <dice.h>

Inheritance diagram for mi::neuraylib::Fragmented_job< id1, ... >:

Public Member Functions

virtual IFragmented_job::Scheduling_mode get_scheduling_mode () const
 Returns mi::neuraylib::IFragmented_job::LOCAL. More...
 
virtual Float32 get_cpu_load () const
 Returns 1.0. More...
 
virtual Float32 get_gpu_load () const
 Returns 0.0. More...
 
virtual Sint8 get_priority () const
 Returns 0. More...
 
virtual Size get_thread_limit () const
 Returns 0. More...
 
virtual bool get_allow_non_sequential_chunks () const
 Returns false. More...
 
virtual void assign_fragments_to_hosts (Uint32 *slots, Size nr_slots)
 Empty body, i.e., leaves slots unaltered. More...
 
virtual void execute_fragment_remote (ISerializer *serializer, IDice_transaction *transaction, Size index, Size count, const IJob_execution_context *context)
 Empty body. Not used since get_scheduling_mode() requests local execution. More...
 
virtual void receive_remote_result (IDeserializer *deserializer, IDice_transaction *transaction, Size index, Size count)
 Empty body. Not used since get_scheduling_mode() requests local execution. More...
 
virtual IRDMA_bufferget_rdma_result_buffer (IRDMA_context *rdma_context, Size index)
 Empty body. Not used since get_scheduling_mode() requests local execution. More...
 
virtual IRDMA_bufferexecute_fragment_remote_rdma (IDice_transaction *transaction, Size index, Size count, IRDMA_context *rdma_context, const IJob_execution_context *context)
 Empty body. Not used since get_scheduling_mode() requests local execution. More...
 
virtual void receive_remote_result_rdma (IRDMA_buffer *buffer, IDice_transaction *transaction, Size index, Size count)
 Empty body. Not used since get_scheduling_mode() requests local execution. More...
 
virtual void serialize (ISerializer *serializer) const
 Empty body, i.e., no member data is serialized. More...
 
virtual void deserialize (IDeserializer *deserializer)
 Empty body, i.e., no member data is deserialized. More...
 
virtual void cancel ()
 Empty body, i.e., canceling is not supported. More...
 
- Public Member Functions inherited from mi::neuraylib::Base< id1, ... >
virtual const base::IInterfaceget_interface (const base::Uuid &interface_id) const
 Acquires a const interface. More...
 
virtual base::IInterfaceget_interface (const base::Uuid &interface_id)
 Acquires a mutable interface. More...
 
virtual base::Uuid get_class_id () const
 Returns the class ID corresponding to the template parameters of this mixin class. More...
 
- Public Member Functions inherited from mi::base::Interface_implement<IFragmented_job>
 Interface_implement (Uint32 initial=1)
 Constructor. More...
 
 Interface_implement (const Interface_implement<IFragmented_job> &other)
 Copy constructor. More...
 
 Interface_implement (Interface_implement &&other)
 Move constructor. More...
 
Interface_implement<IFragmented_job> & operator= (const Interface_implement<IFragmented_job> &other)
 Assignment operator. More...
 
Interface_implementoperator= (Interface_implement &&other)
 Move assignment. More...
 
virtual Uint32 retain () const
 Increments the reference count. More...
 
virtual Uint32 release () const
 Decrements the reference count. More...
 
virtual const IInterfaceget_interface (const Uuid &interface_id) const
 Acquires a const interface. More...
 
virtual IInterfaceget_interface (const Uuid &interface_id)
 Acquires a mutable interface. More...
 
Uuid get_iid () const
 Returns the interface ID of the most derived interface. More...
 

Additional Inherited Members

- Public Types inherited from mi::neuraylib::Base< id1, ... >
typedef Base< id1, ... > Self
 Own type. More...
 
typedef base::Uuid_t< id1, ... > IID
 Declares the interface ID. More...
 
- Static Public Member Functions inherited from mi::neuraylib::Base< id1, ... >
static bool compare_iid (const base::Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and its ancestors. More...
 
- Protected Member Functions inherited from mi::base::Interface_implement<IFragmented_job>
Atom32refcount () const
 Get the current refcount. More...
 

Detailed Description

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
class mi::neuraylib::Fragmented_job< id1, ... >

This mixin class can be used to implement the mi::neuraylib::IFragmented_job interface.

This mixin class provides a default implementation of some of the pure virtual methods of the mi::neuraylib::IFragmented_job interface. The documentation here just lists the behavior of the default implementation, see mi::neuraylib::IFragmented_job for the documentation of the methods themselves.

Member Function Documentation

 assign_fragments_to_hosts()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual void mi::neuraylib::Fragmented_job< id1, ... >::assign_fragments_to_hosts ( Uint32 slots,
Size  nr_slots 
)
inlinevirtual

Empty body, i.e., leaves slots unaltered.

 cancel()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual void mi::neuraylib::Fragmented_job< id1, ... >::cancel ( )
inlinevirtual

Empty body, i.e., canceling is not supported.

 deserialize()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual void mi::neuraylib::Fragmented_job< id1, ... >::deserialize ( IDeserializer deserializer)
inlinevirtual

Empty body, i.e., no member data is deserialized.

 execute_fragment_remote()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual void mi::neuraylib::Fragmented_job< id1, ... >::execute_fragment_remote ( ISerializer serializer,
IDice_transaction transaction,
Size  index,
Size  count,
const IJob_execution_context context 
)
inlinevirtual

Empty body. Not used since get_scheduling_mode() requests local execution.

 execute_fragment_remote_rdma()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual IRDMA_buffer * mi::neuraylib::Fragmented_job< id1, ... >::execute_fragment_remote_rdma ( IDice_transaction transaction,
Size  index,
Size  count,
IRDMA_context rdma_context,
const IJob_execution_context context 
)
inlinevirtual

Empty body. Not used since get_scheduling_mode() requests local execution.

 get_allow_non_sequential_chunks()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual bool mi::neuraylib::Fragmented_job< id1, ... >::get_allow_non_sequential_chunks ( ) const
inlinevirtual

Returns false.

 get_cpu_load()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual Float32 mi::neuraylib::Fragmented_job< id1, ... >::get_cpu_load ( ) const
inlinevirtual

Returns 1.0.

 get_gpu_load()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual Float32 mi::neuraylib::Fragmented_job< id1, ... >::get_gpu_load ( ) const
inlinevirtual

Returns 0.0.

 get_priority()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual Sint8 mi::neuraylib::Fragmented_job< id1, ... >::get_priority ( ) const
inlinevirtual

Returns 0.

 get_rdma_result_buffer()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual IRDMA_buffer * mi::neuraylib::Fragmented_job< id1, ... >::get_rdma_result_buffer ( IRDMA_context rdma_context,
Size  index 
)
inlinevirtual

Empty body. Not used since get_scheduling_mode() requests local execution.

 get_scheduling_mode()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual IFragmented_job::Scheduling_mode mi::neuraylib::Fragmented_job< id1, ... >::get_scheduling_mode ( ) const
inlinevirtual

 get_thread_limit()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual Size mi::neuraylib::Fragmented_job< id1, ... >::get_thread_limit ( ) const
inlinevirtual

Returns 0.

 receive_remote_result()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual void mi::neuraylib::Fragmented_job< id1, ... >::receive_remote_result ( IDeserializer deserializer,
IDice_transaction transaction,
Size  index,
Size  count 
)
inlinevirtual

Empty body. Not used since get_scheduling_mode() requests local execution.

 receive_remote_result_rdma()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual void mi::neuraylib::Fragmented_job< id1, ... >::receive_remote_result_rdma ( IRDMA_buffer buffer,
IDice_transaction transaction,
Size  index,
Size  count 
)
inlinevirtual

Empty body. Not used since get_scheduling_mode() requests local execution.

 serialize()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IFragmented_job>
virtual void mi::neuraylib::Fragmented_job< id1, ... >::serialize ( ISerializer serializer) const
inlinevirtual

Empty body, i.e., no member data is serialized.