vpi.Container.rlock_cuda

Container.rlock_cuda(self: vpi.Container) vpi.Container.Lock

Lock the container data for read access in CUDA.

Hint

This allows the container data to be accessed in a with statement, using the item target as the data itself. Example: with container.rlock_cuda() as data:.

Note

The data returned is not a copy of the container data.

Returns

Access container data using the as of a with statement.

Return type

vpi.Container.Lock