warp.fabricarray#

class warp.fabricarray(*args, **kwargs)[source]#

Array type for accessing data stored in Omniverse Runtime Fabric.

Fabric arrays provide a view into attribute data stored across multiple buckets in Fabric, allowing Warp kernels to read and write Fabric data directly without copying.

Parameters:
  • data – A dictionary or object with __fabric_arrays_interface__ providing Fabric interface information.

  • attrib – Name of the Fabric attribute to access.

  • dtype – Data type of the array elements.

  • ndim – Number of dimensions (1 for regular arrays, 2 for arrays of arrays).

__init__(data=None, attrib=None, dtype=Any, ndim=None)[source]#

Methods

__init__([data, attrib, dtype, ndim])

assign(src)

contiguous()

fill_(value)

list()

numpy()

to(device)

zero_()

Attributes

property vars[source]#
fill_(value)[source]#