Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

OptionalCUDAGuard #105

Closed
FuzhiYang opened this issue Aug 17, 2022 · 3 comments
Closed

OptionalCUDAGuard #105

FuzhiYang opened this issue Aug 17, 2022 · 3 comments

Comments

@FuzhiYang
Copy link

Hi Haotian,

In the recent commit, "OptionalCUDAGuard" is added in mmdet3d/ops/bev_pool/src/bev_pool.cpp. I just wonder what is the purpose of this module?
I built the code in the old version (without OptionalCUDAGuard). Will this cause some potential errors?

Thanks,
Fuzhi

@kentang-mit
Copy link
Contributor

Hi Fuzhi,

This will not cause potential errors if you are not debugging the single BEV pooling op. OptionalCUDAGuard is related to the discussions in this issue.

Best,
Haotian

@FuzhiYang
Copy link
Author

Got it. Thank you very much!

@kentang-mit
Copy link
Contributor

No problem. I'm closing this issue temporarily because the issue is resolved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants