torchsparse icon indicating copy to clipboard operation
torchsparse copied to clipboard

fix illegal memory access error

Open dingfengshi opened this issue 7 months ago • 0 comments

In some cases (such as when there are a large number of points), executing convolution operations can result in illegal memory access errors. The reason is that the kernel responsible for computing the kmap has not completed execution before launching the next operation, leading to unpredictable memory access. To address this issue, an additional synchronization step is added to wait for the previous kernel to finish. This ensures that the next operation does not start until the preceding kernel has completed.

dingfengshi avatar Jul 02 '24 05:07 dingfengshi