Skip to content

Commit b3707f4

Browse files
committed
Clarify reset optimization stages
1 parent ffa8a73 commit b3707f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/isaaclab_experimental/isaaclab_experimental/envs/manager_based_rl_env_warp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,8 +582,8 @@ def _reset_terminated_envs(self) -> None:
582582
reset_mask = self.termination_manager.dones_wp
583583
# The eager reset pipeline contains many small launches. Keep the mask as
584584
# the canonical selection, but use one explicit host predicate to avoid
585-
# dispatching the entire pipeline when it is empty. Record/replay can
586-
# remove this boundary once reset stages have replay-safe launch caches.
585+
# dispatching the entire pipeline when it is empty. Recorded launches
586+
# can reduce that cost; capture can later make this predicate unnecessary.
587587
if not self.reset_buf.any().item():
588588
return
589589
reset_env_ids = None

0 commit comments

Comments
 (0)