Limitations and Current Behavior#
This page is the single place that lists what ovstage does not do and where its current behavior is narrower than the API shape suggests. Other pages link here instead of repeating these limits.
These limits apply to the release documented here. Follow the public API contract and check the release notes when upgrading.
For blocking behavior, thread safety, and object lifetime, see Threading, Blocking, and Lifetime. For error codes, see Error Handling and Diagnostics.
Memory and Devices#
ovstage represents data in arrays and uses DLPack tensors for CPU/GPU interchange. CUDA tensors are accepted as write sources. Reads and maps use CPU memory by default; the experimental Experimental Device Placement extension also supports CUDA buffers.
Limitation |
What to do |
|---|---|
Reads and maps use CPU memory unless a device is selected explicitly. |
Select Experimental Device Placement for CUDA consumers and inspect the returned tensor device. |
CUDA maps support fixed-size attributes only; array-valued CUDA maps and maps of the reserved metadata names return |
Use CPU maps for array-valued attributes and for the reserved metadata. |
CUDA source data must be ready before the write uses it. Synchronization can delay completion. |
Complete the producer work or supply the supported |
Pinned host memory ( |
Pass a CPU tensor, or a CUDA or CUDA-managed tensor. |
|
Pass synchronization values only for the corresponding CUDA source and observe placement completion rules. |
See DLPack Tensor Exchange for tensor shapes and the write-source rules.
History and Change Tracking#
An instance of history_latest, the default, stores the latest committed value of each attribute. Change tracking records which prims and attributes changed and at which ordinal. It does not record earlier values. The watermark (write floor in the API) is the highest ordinal sealed for an attribute. An instance of history_selective retains the earlier sealed values of the pairs selected with ovstage_enable_history() (Python ovstage.Stage.enable_history()), up to the retention window. Every other pair keeps the limitations below. See Earlier Values of Selected Pairs.
Warning
History support is experimental. The history_selective implementation,
the ovstage.history.v1 selection extension of ovstage_history.h, the
OVSTAGE_CONFIG_RETENTION_WINDOW setting and the renderer history
presentation can change between releases without a deprecation period. The
library does not guarantee source compatibility, ABI or semantics. Isolate
their use behind an application adapter. Check availability at run time.
The history_selective implementation is available as a preview of
the planned direction for history support, intended for early evaluation
and feedback. It may be less stable at runtime and offer lower performance
than the default history_latest implementation. Validate stability
and performance with your application’s workloads before adopting it.
Limitation |
What to do |
|---|---|
On |
Keep your own copy if you need earlier values, or select the pairs on an instance of |
|
Use the regular read, write, and map APIs on |
Exact change history is available only within a bounded window. Query |
Read each range soon after it is sealed, and check the reported boundary before reading. |
A consumer that falls behind the reported history boundary can miss deletions and exact change membership. |
Resynchronize with a latest read after falling behind. |
A read behind the history boundary may succeed without complete change information. |
Call |
A range read returns the latest payload for each selected prim. If a selected prim and attribute changed after the range end, the read fails with |
Read ranges in order and stop at the watermark. |
On |
Use |
See Reading Attributes for range reads.
Read Selector Patterns#
A read can select attributes with * or prefix* (for example primvars:*). See Selecting Attributes with Patterns for the rules.
Limitation |
What to do |
|---|---|
A range read with a pattern fails with |
Advance the watermark to the range end with |
|
Use a narrower prefix, or ignore names that you do not use. |
A range read with a pattern does not find attributes of the |
Use a latest read. To find the changes, compare the values with the values of an earlier read. |
A range read gives no |
Compare the prims of a new query with the prims that you have. |
A pattern sees the two names of an aliased column as different names. After a write through one name, a pattern that matches only the other name does not find the change. If both names changed in the range, a pattern that matches both gives the same rows under each name. |
Use a pattern that matches the name that the writer uses, or key the groups by attribute and drop the repeated rows. |
Ordinals#
Limitation |
What to do |
|---|---|
The initial sealed boundary |
Choose an ordinal strictly above the applicable write floor and satisfy the configured admission policy. On a new stage, negative ordinals above the minimum and zero are valid; see Ordinal bounds and initial state. |
The default |
Coordinate writes to shared cells and satisfy the configured Ordinal Admission Policies; distinct ordinals alone do not order execution. |
See Asynchronous Operations for how writes and the watermark interact.
Queries#
Limitation |
What to do |
|---|---|
Filters use a closed allow-list of attributes and operators. Value comparisons are not supported, and an unsupported combination returns |
See Queries for the allow-list. Read the values and filter in your application. |
Query membership is a snapshot taken when the query executes. Prims created or deleted afterward do not join or leave the handle. |
Run a new query to see structural changes. |
Queries remain live until released. |
Release queries you no longer need. |
The order of matched prims is unspecified. |
Do not depend on order. |
Execution#
Limitation |
What to do |
|---|---|
Operations at the same ordinal execute in submission order. The API does not guarantee ordering across different ordinals. |
Do not rely on cross-ordinal ordering or on concurrency. |
An instance of |
Bound your own submission rate, for example by waiting each tick. On |
Operation ids are never reused within a stage. An id returned by a successful submission keeps tracking state until you release it, even when the operation completed immediately. |
Release every operation id after you read its result. |
Do not use stage destruction to wait for successful operation completion. See Threading, Blocking, and Lifetime. |
Wait for the operations you need before destroying the stage. |
Delete#
Limitation |
What to do |
|---|---|
Deleted values are not available through a historical read. Range reads can report deletion markers while the relevant change history is available. |
Read the range before the markers age out, or keep your own copy. |
Deleting a prim does not delete its descendants. |
Query the subtree and delete it explicitly. |
Hierarchy#
Limitation |
What to do |
|---|---|
In this release, |
Supply the ordinals required by the public call sequence. Do not rely on historical input selection or ordinal tagging of the result. |
An explicit compute updates world transforms. It does not update visibility. |
Do not use it to refresh visibility. |
Automatic transform updates depend on the configured hierarchy computation model. |
Call the explicit compute when you need a defined point. See Transforms. |
Population and Export#
Limitation |
What to do |
|---|---|
|
Check the id before waiting, or populate first. |
The ordinal in an export descriptor must equal the global watermark exactly. A stale or future ordinal fails with |
Read the watermark and pass that value. See Exporting ovstage to USD. |
|
Reload or remove the layer through OpenUSD before reopening. |
Under the |
Read |
Python#
Limitation |
What to do |
|---|---|
Read and map views are not valid after |
Finish with all views before destroying the stage. |
A DLPack consumer view does not keep the group alive. Releasing or dropping the group frees the memory the view points to. |
Keep the group or its |
|
Fill the buffer completely, or avoid the context manager when the body can fail partway. |
|
View the result as |
Versioning#
Limitation |
What to do |
|---|---|
The C vtable has no size or version field. Headers newer than the binary can call slots the binary does not have, which is undefined behavior and not an error. |
Use headers and binary from the same release. |