NVIDIA Holoscan SDK v3.8.0

Class GPUResidentOperator

Base Type

class GPUResidentOperator : public holoscan::Operator

Public Functions

HOLOSCAN_OPERATOR_FORWARD_TEMPLATE () explicit GPUResidentOperator(ArgT &&arg
inline ArgsT std::forward (args)...)
inline GPUResidentOperator()
~GPUResidentOperator()
inline void set_operator_type()
virtual std::shared_ptr<ExecutionContext> initialize_execution_context() override
std::shared_ptr<GPUResidentExecutor> gpu_resident_executor()
std::shared_ptr<cudaStream_t> cuda_stream()

Custom helper functions for GPU-resident Operators below.

Get the CUDA stream for the operator to launch a CUDA workload.

Returns

The CUDA stream for the operator to launch a CUDA workload.

void *device_memory(const std::string &port_name)

Get the device memory address of an input or output port corresponding to a given port name.

Parameters

port_name – The name of the input or output port.

Returns

The device memory address of the input or output port. Returns nullptr if the port does not exist or is the port does not correspond to a device memory address.

Public Members

ArgsT &&args

Previous Class GPUResidentExecutor
Next Class GPUResourceMonitor
© Copyright 2022-2025, NVIDIA. Last updated on Dec 1, 2025