unisim.backend.isaacgym.tensor¶
SDK-free CUDA IPC arena helpers for the IsaacGym tensor lifecycle.
This module is intentionally Python 3.8 compatible and importable by file path
in the isolated IsaacGym worker. It must not import unisim, IsaacGym, or
any other optional runtime at module import time.
Functions
|
Multiply broadcast-compatible wxyz quaternions without package imports. |
|
Rotate broadcast-compatible wxyz-quaternion vectors without package imports. |
|
Rotate vectors into wxyz-quaternion frames without package imports. |
|
Return a Torch tensor view without Torch private storage IPC. |
Classes
Fixed offsets for canonical arrays and the selected-reset prefix. |
|
Control-only pipe plus stable device arenas for IsaacGym hot tensors. |
|
Project native IsaacGym tensors into the host-owned CUDA IPC arena. |
|
A one-shot DLPack producer for a raw CUDA arena allocation. |
|
One release callback associated with a stable raw-pointer view. |
- class unisim.backend.isaacgym.tensor.IsaacGymCudaIpcArenaLayout[source]¶
Bases:
objectFixed offsets for canonical arrays and the selected-reset prefix.
- Parameters:
- __init__(num_envs, nq, nv, nu, nbody, reset_indices_offset, reset_qpos_offset, reset_qvel_offset, reset_kp_offset, reset_kd_offset, qpos_offset, qvel_offset, ctrl_offset, body_state_offset, sensor_state_offset, size_bytes)¶
- Parameters:
- class unisim.backend.isaacgym.tensor.IsaacGymCudaIpcWorkerRuntime[source]¶
Bases:
objectProject native IsaacGym tensors into the host-owned CUDA IPC arena.
- Parameters:
- class unisim.backend.isaacgym.tensor.RawCudaViewToken[source]¶
Bases:
objectOne release callback associated with a stable raw-pointer view.
- class unisim.backend.isaacgym.tensor.RawCudaTensorView[source]¶
Bases:
objectA one-shot DLPack producer for a raw CUDA arena allocation.
- Parameters:
- unisim.backend.isaacgym.tensor.quat_mul(torch, left_wxyz, right_wxyz)[source]¶
Multiply broadcast-compatible wxyz quaternions without package imports.
- unisim.backend.isaacgym.tensor.quat_rotate(torch, quat_wxyz, vectors)[source]¶
Rotate broadcast-compatible wxyz-quaternion vectors without package imports.
- unisim.backend.isaacgym.tensor.quat_rotate_inverse(torch, quat_wxyz, vectors)[source]¶
Rotate vectors into wxyz-quaternion frames without package imports.
- unisim.backend.isaacgym.tensor.torch_from_cuda_pointer(torch_module, pointer, shape, device_index, dtype='float32', token=None)[source]¶
Return a Torch tensor view without Torch private storage IPC.