Coder Social home page Coder Social logo

Comments (6)

1939938853 avatar 1939938853 commented on August 17, 2024 1

When I set max_nn to 30, with 592005 points cloud, the Cupoch normal estimation duration is 231 ms, the Open3D normal estimation on CPU is 178 ms.

from cupoch.

neka-nat avatar neka-nat commented on August 17, 2024

Hi @1939938853 ,

Thanks you for trying!
The difference between the windows version and the linux version is that the rmm library,
which accelerates memory allocation, is disabled in the windows version.

On linux, with rmm's memory allocation disabled, about 10,000 points, open3d with OpenMP enabled,
the results are below.

no_rmm_openmp_10000

At about 10,000 points, you can see that there is almost no difference in speed between CPU and GPU.

The next comparison is for 100,000 points, other conditions being the same.

no_rmm_openmp_100000

A 100,000 point calculation can show the effectiveness of the GPU.
Especially estimate_normals are hard to make a difference.

from cupoch.

1939938853 avatar 1939938853 commented on August 17, 2024

Hello Neka-Nat,

Thank you for your explanation.

On the first figure, do you mean "On linux, with rmm's memory allocation ENABLED" ?

I saw you use STDGPU. Can STDGPU on windows plays the same role as RMM on Linux for acceleration? What is the GPU acceleration situation of Cupoch on Windows now?

from cupoch.

neka-nat avatar neka-nat commented on August 17, 2024

Thank you for replying.
All of the above calculations have rmm disabled.
On linux, you can choose to enable or disable rmm.
On windows, rmm is disabled.
STDGPU has no effect on the speed.

from cupoch.

1939938853 avatar 1939938853 commented on August 17, 2024

Hello,

Here is my test on windows with vs2019

  1. For 18519 points cloud,normal estimation (KDTreeSearchParamHybrid), Open3D 10 ms, Cupoch 52 ms.
  2. For 592005 points cloud, normal estimation (KDTreeSearchParamHybrid), Open3D 2540 ms, Cupoch 6279 ms.
  3. for 198835 points cloud (cupoch data) , ICP registration, Open3D 1499 ms, Cupoch 221 ms.

It looks that for ICP registration, the Cupoch GPU speedup (acceleration) is quite effective. But for normal estimation, why Cupoch is much slower than Open3D?

Any suggestion?

Thank you!

from cupoch.

neka-nat avatar neka-nat commented on August 17, 2024

Hi,

Thank you for trying.
The max_nn parameter used for estimate_normals affects the calculation speed.
In my experiment above, I set max_nn to 30, but if I set max_nn to 100, the CPU is faster.
You can improve the speed by setting max_nn to a smaller value.

from cupoch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.