Skip to navigation

holoscan::CudaGreenContextPlacement

Beta
View as Markdown

Request or record one exact structured SM allocation.

The CUDA ordinal and SM count are target-specific deployment facts. An unresolved/negative device or a zero SM count is invalid and is never interpreted as device zero or automatic sizing policy.

#include <holoscan/execution_plan.hpp>

Member variables

NameTypeDescription
deviceDeviceIdExplicit nonnegative process-local CUDA device ordinal.
sm_countstd::uint32_tExact positive structured SM count.