Meshroom does not support OpenCL - ATI AMD graphics card

967 views
Skip to first unread message

Paulo Ricardo Fremiot Maia

unread,
Aug 18, 2018, 1:27:46 PM8/18/18
to alice...@googlegroups.com
Hi, my name is Paulo Ricardo,                                                                                              I wonder if Mashroom will support OpenCL? When I tried to work with my photogrammetry, I realized that Meshroom only works with Nvidia CUDA. As I use AMD graphics card, I was not able to use Meshroom. When will Meshroom support OpenCL? I'll be waiting, thank you!
Message has been deleted
Message has been deleted

Carsten Griwodz

unread,
Aug 20, 2018, 2:11:19 AM8/20/18
to AliceVision
Hi,

The 2 main pieces of software that use NVidia cards are PopSift (optional dependency) and DepthMap.

HIP looks like a great option for porting from CUDA to OpenCL for AMD. It deals with the naming differences and it seems to deal with the thread indexing, where indexing dimensions and memory locality are total opposites in CUDA and OpenCL. However, HIP does not help in porting textures because OpenCL doesn’t have any.

Unfortunately, both PopSift and the DepthMap stage of AliceVision use textures everywhere, and a lot of their speed gain comes from the hardware interpolation engine that is provided by NVidia’s texture hardware.

It is possible to write a software layer that emulates CUDA textures for AMD cards, but right now, we have a higher priority to add CUDA streams and get multi-card support for several CUDA cards to work in DepthMap.

Best regards,
Carsten
Reply all
Reply to author
Forward
0 new messages