<div><div class="gmail_msg">Hi Chuanbo </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Thank you for the info.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">My objective is to realise computer vision algorithms for automated video surveillance of multiple cameras in real time on generous purpose processor family. The obvious choice was to aim for an integrated architecture such as intel Core series as users would not have to invest on specialised hardware (DSP, FPGA, additional GPU cards etc.,) for computationally expensive solutions. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I have been able to write a motion estimation kernel for opencl but the runtime performance was much slower than Beignet exposed built in kernel (takes 1ms on 384x288 image which is great for me) for IVB i5 core processor. With the built in kernel, 15 video streams of 768x576(25fps, h.264) can be processed in parallel compared to my own kernel for motion estimation almost halving the number of streams.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I have also looked into extracting motion vectors using FEI interface as side data during h.264 encoding but libva team indicated that this is not possible in linux yet. </div></div><div class="gmail_msg"><br></div><div class="gmail_msg">Regarding your query on my preferred platform, I now have a HSW based i7 mini pc that I am experimenting with but in general I would prefer Beignet to support all core processor family. (From IVB on wards, if possible) given my objective. </div><div class="gmail_msg"><br></div><div class="gmail_msg">Many thanks for this great library and keep up the good work!!</div><div class="gmail_msg"><br></div><div class="gmail_msg">Sateesh</div><div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_quote gmail_msg"><div class="gmail_msg">On Mon, 13 Feb 2017 at 04:28, Weng, Chuanbo <<a href="mailto:chuanbo.weng@intel.com" class="gmail_msg" target="_blank">chuanbo.weng@intel.com</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple" class="gmail_msg">
<div class="m_5007269753959844214m_-4476507135776026083WordSection1 gmail_msg">
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg">Hi Sateesh,<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg"> The hardware of 4<sup class="gmail_msg">th</sup> gen is ready for vme. We don’t need i965 driver (I think you mean i965_drv_video.so). From HSW, the software interface
of vme is quite different from IVB, so we need to write new implementation for vme.<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg"> And the software interface of SKL is similar of HSW, so it will be easier to support HSW if we enable on SKL.<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg"> We plan to support SKL firstly and then support HSW if necessary.<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg"> Is HSW the only platform you care?
<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></span></p>
<p class="MsoNormal gmail_msg"><a name="m_5007269753959844214_m_-4476507135776026083__MailEndCompose" class="gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></span></a></p>
<p class="MsoNormal gmail_msg"><b class="gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" class="gmail_msg">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" class="gmail_msg"> sat iiitb [mailto:<a href="mailto:sateesh.k112001@gmail.com" class="gmail_msg" target="_blank">sateesh.k112001@gmail.com</a>]
<br class="gmail_msg">
<b class="gmail_msg">Sent:</b> Friday, February 10, 2017 10:17 PM<br class="gmail_msg">
<b class="gmail_msg">To:</b> Weng, Chuanbo <<a href="mailto:chuanbo.weng@intel.com" class="gmail_msg" target="_blank">chuanbo.weng@intel.com</a>><br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:beignet@lists.freedesktop.org" class="gmail_msg" target="_blank">beignet@lists.freedesktop.org</a><br class="gmail_msg">
<b class="gmail_msg">Subject:</b> Re: [Beignet] VME support for Intel 4th generation (Haswell)<u class="gmail_msg"></u><u class="gmail_msg"></u></span></p></div></div><div lang="EN-US" link="blue" vlink="purple" class="gmail_msg"><div class="m_5007269753959844214m_-4476507135776026083WordSection1 gmail_msg">
<p class="MsoNormal gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">Hi Chuanbo<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">Understood and it's good news that this was planned for future (since I haven't encountered any posts on motion estimation in Beignet). <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">I noticed the comment below with in 'cl_gen7_device.h' header that indicates perhaps 4th gen on wards is not yet ready for motion estimation support. Is it the hardware (Iris pro graphics core in 4th gen compared to Intel HD in 3rd gen)
that is not ready or the underlying driver (i965) needs to be extended for Iris Pro etc.,? I am just curious to understand if there is anything that I can experiment with and make the 4th gen work or if it is something best dealt by experts at Beignet team.<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg">
</span><span style="color:#1f497d" class="gmail_msg"><u class="gmail_msg"></u><u class="gmail_msg"></u></span></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">//temporarily define to only export builtin kernel block_motion_estimate_intel only for Gen7<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">//will remove after HSW+ also support<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">Many thanks<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">Sateesh<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">On 9 February 2017 at 08:08, Weng, Chuanbo <<a href="mailto:chuanbo.weng@intel.com" class="gmail_msg" target="_blank">chuanbo.weng@intel.com</a>> wrote:<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in" class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg">Hi Sateesh,</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg"> Yes, vme now is just supported on 3<sup class="gmail_msg">rd</sup> generation.</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg"> And we are implementing vme on 6<sup class="gmail_msg">th</sup> generation (SKYLAKE) platform firstly,
because it’s a common used platform currently.</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg">4<sup class="gmail_msg">th</sup> generation is also a little old.</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg"> </span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg">Thanks,</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg">Chuanbo Weng</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg"><a name="m_5007269753959844214_m_-4476507135776026083_m_-1126232221113376115__MailEndCompose" class="gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d" class="gmail_msg"> </span></a><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<p class="MsoNormal gmail_msg"><b class="gmail_msg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" class="gmail_msg">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif" class="gmail_msg"> Beignet [mailto:<a href="mailto:beignet-bounces@lists.freedesktop.org" class="gmail_msg" target="_blank">beignet-bounces@lists.freedesktop.org</a>]
<b class="gmail_msg">On Behalf Of </b>sat iiitb<br class="gmail_msg">
<b class="gmail_msg">Sent:</b> Wednesday, February 8, 2017 10:17 PM<br class="gmail_msg">
<b class="gmail_msg">To:</b> <a href="mailto:beignet@lists.freedesktop.org" class="gmail_msg" target="_blank">beignet@lists.freedesktop.org</a><br class="gmail_msg">
<b class="gmail_msg">Subject:</b> [Beignet] VME support for Intel 4th generation (Haswell)</span><u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div class="gmail_msg">
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"> <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">Hi <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"> <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">I am interested in using opencl to extract motion vectors between two frames. With in Beignet notes, it was mentioned that as of version 1.3.0, only 3rd generation chips are supported.<br clear="all" class="gmail_msg">
<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"> <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">I would like some advise on how to extend the support for 4th generation as I am using a Intel core i7 (4th generation) and currently in need to using OCL for motion estimation.
Please advise.<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"> <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">PS: I have tried to compile Beignet by enabling 'block_motion_estimate_intel' for HSW but the block motion estimation test program crashes with a segfault. <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<p class="MsoNormal gmail_msg"> <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">Regards<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">Sateesh<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal gmail_msg"><br class="gmail_msg">
<br clear="all" class="gmail_msg">
<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg"><u class="gmail_msg"></u> <u class="gmail_msg"></u></p>
</div>
<p class="MsoNormal gmail_msg">-- <u class="gmail_msg"></u><u class="gmail_msg"></u></p>
<div class="gmail_msg">
<p class="MsoNormal gmail_msg">Sateesh<u class="gmail_msg"></u><u class="gmail_msg"></u></p>
</div>
</div>
</div></div></blockquote></div></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature">Sateesh</div>