![]() |
VisionWorks Toolkit ReferenceSeptember 29, 2015 | 1.0 Release |
Adds various extensions to the vx_context
object.
This section describes different extensions and features to the standard Object: Context.
Enumerations | |
enum | nvx_context_attribute_e { NVX_CONTEXT_ATTRIBUTE_IMMEDIATE_TARGET_DEVICE = VX_ENUM_BASE(VX_ID_NVIDIA, VX_TYPE_CONTEXT) + 0x0 } |
The extended context attributes list. More... | |
The extended context attributes list.
Enumerator | |
---|---|
NVX_CONTEXT_ATTRIBUTE_IMMEDIATE_TARGET_DEVICE |
Preferred target device for the immediate primitive execution mode (use a Sets the preferred target device for future primitive execution in immediate mode (vxu<name> or nvxu<name> functions). If there is no implementation of the primitive executed in immediate mode for the given target device type, then the attribute is ignored and the target device assigned automatically. In a multi-threaded environment, this attribute is shared across threads using the same context. In other words, if a thread sets this attribute, it impacts the immediate execution of primitives in other threads that use the same context.
|