Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,8 @@ The code of this repository was implemented by [Vassilis Choutas](vassilis.chout
For questions, please contact [smplx@tue.mpg.de](smplx@tue.mpg.de).

For commercial licensing (and all related questions for business applications), please contact [ps-licensing@tue.mpg.de](ps-licensing@tue.mpg.de). Please note that the method for this component has been [patented by NVidia](https://patents.google.com/patent/US9396512B2/en) and a license needs to be obtained also by them.

## Acknowledgement
* [error: ‘AT_CHECK’ was not declared in this scope](https://github.com/open-mmlab/OpenPCDet/issues/284#issuecomment-874171209): Fix for latest Pytorch versions

* [error: Missing helper_math.h](https://github.com/OpenKinect/libfreenect2/issues/777#issuecomment-997941415): Only second and third step.
4 changes: 2 additions & 2 deletions src/bvh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
void bvh_cuda_forward(at::Tensor triangles, at::Tensor* collision_tensor_ptr,
int max_collisions = 16);

#define CHECK_CUDA(x) AT_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
#define CHECK_CONTIGUOUS(x) AT_CHECK(x.is_contiguous(), #x " must be contiguous")
#define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
#define CHECK_CONTIGUOUS(x) TORCH_CHECK(x.is_contiguous(), #x " must be contiguous")
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)

at::Tensor bvh_forward(at::Tensor triangles, int max_collisions = 16) {
Expand Down