A set of parameters that is passed to the SDK to create the context.
Definition at line 95 of file Context.h.
◆ dataPath
| const char8_t* dwContextParameters::dataPath |
Path where all DriveWorks related data required during runtime are stored.
If path is set to NULL, then a data folder is looked for in typical install locations in relation to the current driveworks library install location.
Definition at line 113 of file Context.h.
◆ disablePTP
| bool dwContextParameters::disablePTP |
if true, PTP time synchronization will be disabled.
When disabled, the system will use monotonic clock time instead of PTP time.
- Note
- This parameter only has effect on platforms supporting PTP.
Definition at line 152 of file Context.h.
◆ enableCudaTaskGraph
| bool dwContextParameters::enableCudaTaskGraph |
if true, Cuda task-graph will be used where possible.
Definition at line 132 of file Context.h.
◆ enablePVA
| bool dwContextParameters::enablePVA |
if true, PVA platform will be enabled.
- Note
- Without PVA some SDK modules will stop working properly.
-
There can be maximum 4 SDK contexts with PVA running simultaneously.
-
This parameter only has effect on platforms containing PVA, it is otherwise ignored.
Definition at line 127 of file Context.h.
◆ skipCudaInit
| bool dwContextParameters::skipCudaInit |
if true will skip CUDA initialization in the context
- Note
- Without CUDA some SDK modules will stop working properly.
Definition at line 119 of file Context.h.
◆ useVirtualTime
| bool dwContextParameters::useVirtualTime |
if true, the context's time source will be a virtual clock.
This clock must be advanced manually.
Definition at line 138 of file Context.h.
◆ useVirtualTimeShmem
| bool dwContextParameters::useVirtualTimeShmem |
if true, the context's time source will be a virtual clock with shared memory for use across multiple processes.
This clock must be advanced manually.
- Note
- this parameter takes precedence over useVirtualTime. The value of useVirtualTime is ignored if this parameter is true.
Definition at line 145 of file Context.h.
The documentation for this struct was generated from the following file: