pub struct IDebugListener { /* private fields */ }Implementations§
Source§impl IDebugListener
impl IDebugListener
Sourcepub fn getInterfaceInfo<'a>(
self: &'a IDebugListener,
) -> impl New<Output = InterfaceInfo> + 'a
pub fn getInterfaceInfo<'a>( self: &'a IDebugListener, ) -> impl New<Output = InterfaceInfo> + 'a
Return version information associated with this interface. Applications must not override this method.
Sourcepub unsafe fn processDebugTensor(
self: Pin<&mut IDebugListener>,
addr: *const c_void,
location: TensorLocation,
type_: DataType,
shape: &Dims64,
name: *const c_char,
stream: *mut CUstream_st,
) -> bool
pub unsafe fn processDebugTensor( self: Pin<&mut IDebugListener>, addr: *const c_void, location: TensorLocation, type_: DataType, shape: &Dims64, name: *const c_char, stream: *mut CUstream_st, ) -> bool
Callback function that is called when a debug tensor’s value is updated and the debug state of the tensor is set to true. Content in the given address is only guaranteed to be valid for the duration of the callback.
locationTensorLocation of the tensor.addrpointer to buffer.typedata Type of the tensor.shapeshape of the tensor.namename of the tensor.streamCUDA stream object.
True on success, false otherwise.
Trait Implementations§
Source§impl AsRef<IVersionedInterface> for IDebugListener
impl AsRef<IVersionedInterface> for IDebugListener
Source§fn as_ref(self: &IDebugListener) -> &IVersionedInterface
fn as_ref(self: &IDebugListener) -> &IVersionedInterface
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Drop for IDebugListener
impl Drop for IDebugListener
Source§impl ExternType for IDebugListener
impl ExternType for IDebugListener
Source§impl MakeCppStorage for IDebugListener
impl MakeCppStorage for IDebugListener
Source§unsafe fn allocate_uninitialized_cpp_storage() -> *mut IDebugListener
unsafe fn allocate_uninitialized_cpp_storage() -> *mut IDebugListener
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
Source§unsafe fn free_uninitialized_cpp_storage(arg0: *mut IDebugListener)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut IDebugListener)
Frees a C++ allocation which has not yet
had a constructor called. Read more
impl UniquePtrTarget for IDebugListener
impl WeakPtrTarget for IDebugListener
Auto Trait Implementations§
impl !Freeze for IDebugListener
impl RefUnwindSafe for IDebugListener
impl !Send for IDebugListener
impl !Sync for IDebugListener
impl !Unpin for IDebugListener
impl UnsafeUnpin for IDebugListener
impl UnwindSafe for IDebugListener
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more