Worthwhile to build with Halide for Intel x64?
I was just looking through a preview of the newest edition of Laganiere's "OpenCV 4 Computer Vision Application Programming Cookbook" (with added author Shilkrot). It is substantially similar to the 3rd edition, which I've found helpful. The main difference is the last chapter, with info on use of DNN via C++.
In that chapter, there is a section "Enabling Halide to improve efficiency" which makes some claims for possible drastic speed increases. But it requires building LLVM with clang, etc.
The few posts on Halide that I've seen here are mixed reviews, and often are referring to non-Intel platforms.
I was wondering if it's worthwhile to pursue this at all. It sounds like it could involve some effort for a technology that may or may not be useful at present.
Yes it improves drastically for a cpu - but still slower than on gpu - so....
Thanks for your reply, Holger, I was starting to think that no one here had used Halide. :-)
Not sure that I follow your comments about GPU though. My impression was that Halide was supposed to speed up both CPU and GPU code. Did you find that it did not affect the runtime speed of GPU-based code?
No - i am not 100% sure.