Add new comment

cuda / opencl port?

Dear Forum,

Perhaps this has been asked before, but has there been any effort to port bits of libRaw to CUDA / OpenCL? For 100MB / 101-megapixel files, it seems to take any good modern CPU several seconds to process a single image. E.g., for a Fuji GFX frame (101MP RAF), I see a top-end Threadripper taking about 4 cores and 4-6 seconds. Since it seems part of the processing (De-Bayering?) benefits a ton from OpenMP, I'd suspect that CUDA / OpenCL could help even more? There's some non-zero cost of moving the raw image data to the GPU, but perhaps that could be worth it if the overall throughput / processing is 5x-10x faster?

Anybody aware of any CUDA / OpenCL efforts? Or perhaps ports of some parts of LibRaw to CUDA/OpenCL-accelerated code?

Happy New Year!

Forums: