On Tue, Dec 20, 2011 at 11:59 AM, Christophe Thommeret <[email protected]> wrote: > Le mercredi 30 novembre 2011 20:28:55, Christophe Thommeret a écrit : >> My first task is to learn openCL. Unsurprisingly, the spec looks quite >> similar to openGL. So i expect the same benefits and the same caveat, >> ununified memory. So even with this solution, we would still have to stay >> as much as possible on the same rendering path (until unified memory comes >> to real life). As soon as possible, I will make some openCL bench to >> compare to openGL. > > Hi Dan, > > Yes, openCL has some interesting features. Bt at that moment, my first > experiments are quite disapointing. > First, it's really difficult to optimize for speed. It really requires > intimate > knowledge of the targeted hardware to get the best from it. > I've written a bicubic scaling filter for both openGL and openCL, and after > several hours of reading, adjusting and testing using all available nvidia's > gpu documentation (mostly found in cuda), the openCL version is still far from > openGL performances. To upscale a 720x576 image to 1920x1080, openCL is about > 3x slower : 323 fps vs 1150.
Interesting findings, and maybe this is due to immaturity of OpenCL implementations. Thank you for the update. GLSL is interesting too. I believe both avenues may face inconsistent levels of support across vendors and chips. -- +-DRD-+ ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Mlt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mlt-devel
