Fix windows build (#1689)
Summary: Change the data type usage in the code to ensure cross-platform compatibility long -> int64_t <img width="628" alt="image" src="https://github.com/facebookresearch/pytorch3d/assets/6214316/40041f7f-3c09-4571-b9ff-676c625802e9"> Tested under Win 11 and Ubuntu 22.04 with CUDA 12.1.1 torch 2.1.1 Related issues & PR https://github.com/facebookresearch/pytorch3d/pull/9 https://github.com/facebookresearch/pytorch3d/issues/1679 Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/1689 Reviewed By: MichaelRamamonjisoa Differential Revision: D51521562 Pulled By: bottler fbshipit-source-id: d8ea81e223c642e0e9fb283f5d7efc9d6ac00d93
显示
+8 -6
想要评论请 注册 或 登录