Skip to content

Fix additional sync point introduced in autograd change#599

Merged
matthewdcong merged 1 commit into
openvdb:mainfrom
matthewdcong:fix_added_sync_point
Apr 11, 2026
Merged

Fix additional sync point introduced in autograd change#599
matthewdcong merged 1 commit into
openvdb:mainfrom
matthewdcong:fix_added_sync_point

Conversation

@matthewdcong

@matthewdcong matthewdcong commented Apr 11, 2026

Copy link
Copy Markdown
Contributor

Prior to #594 , torch::linalg::inv_ex was called to obtain the camera to world matrices. #594 switched to the Python torch.linalg.inv instead which is equivalent, but introduces a host-device synchronization. Revert this to using inv_ex to recover the prior behavior w/o the sync and recover performance.

@matthewdcong matthewdcong requested a review from a team as a code owner April 11, 2026 04:39
@matthewdcong matthewdcong requested review from harrism and sifakis April 11, 2026 04:39
Signed-off-by: Matthew Cong <mcong@nvidia.com>
@matthewdcong matthewdcong force-pushed the fix_added_sync_point branch from 5d9ff2b to 637158c Compare April 11, 2026 04:39
@matthewdcong matthewdcong enabled auto-merge (squash) April 11, 2026 04:45
@matthewdcong matthewdcong merged commit 5d7a581 into openvdb:main Apr 11, 2026
38 checks passed
@swahtz swahtz added this to the v0.5 milestone Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants