Class GPUResidentOperator
Defined in File gpu_resident_operator.hpp
Base Type
public holoscan::Operator(Class Operator)
-
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