Kitware / TeleSculptor

TeleSculptor: Aerial Photogrammetry Application powered by KWIVER
Other
610 stars 150 forks source link

Add "Use GPU" option #522

Closed mleotta closed 3 years ago

mleotta commented 3 years ago

Here is an option to manually switch between CPU and GPU usage algorithms. Currently only for depth map fusion.

TODO: I may update this to detect whether the CUDA module is loaded and disable this option if CUDA is not found.

chetnieter commented 3 years ago

@mleotta I tested this branch on MacOS (10.14.6) and Linux (Ubuntu 16.04). On Linux I was able to toggle off UseGPU and successful run the End-to-end pipeline and export a reasonable looking mesh. On Mac there is no UseGPU option, but the whole Options sub-menu under Compute is also not present. I was able to run the End-to-end pipeline on my Mac and export a reasonable looking mesh when it was finished.

mleotta commented 3 years ago

Thanks for testing. That's weird about the options menu not showing up on Mac. I can confirm that on my Mac. That sounds like a bug to address on a separate PR. I'm going to merge this one.