[Beignet] VME support for Intel 4th generation (Haswell)
sat iiitb
sateesh.k112001 at gmail.com
Mon Feb 13 10:18:40 UTC 2017
Hi Chuanbo
Thank you for the info.
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.
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.
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.
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.
Many thanks for this great library and keep up the good work!!
Sateesh
On Mon, 13 Feb 2017 at 04:28, Weng, Chuanbo <chuanbo.weng at intel.com> wrote:
Hi Sateesh,
The hardware of 4th 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.
And the software interface of SKL is similar of HSW, so it
will be easier to support HSW if we enable on SKL.
We plan to support SKL firstly and then support HSW if
necessary.
Is HSW the only platform you care?
*From:* sat iiitb [mailto:sateesh.k112001 at gmail.com]
*Sent:* Friday, February 10, 2017 10:17 PM
*To:* Weng, Chuanbo <chuanbo.weng at intel.com>
*Cc:* beignet at lists.freedesktop.org
*Subject:* Re: [Beignet] VME support for Intel 4th generation (Haswell)
Hi Chuanbo
Understood and it's good news that this was planned for future (since I
haven't encountered any posts on motion estimation in Beignet).
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.
//temporarily define to only export builtin kernel
block_motion_estimate_intel only for Gen7
//will remove after HSW+ also support
Many thanks
Sateesh
On 9 February 2017 at 08:08, Weng, Chuanbo <chuanbo.weng at intel.com> wrote:
Hi Sateesh,
Yes, vme now is just supported on 3rd generation.
And we are implementing vme on 6th generation (SKYLAKE)
platform firstly, because it’s a common used platform currently.
4th generation is also a little old.
Thanks,
Chuanbo Weng
*From:* Beignet [mailto:beignet-bounces at lists.freedesktop.org] *On Behalf
Of *sat iiitb
*Sent:* Wednesday, February 8, 2017 10:17 PM
*To:* beignet at lists.freedesktop.org
*Subject:* [Beignet] VME support for Intel 4th generation (Haswell)
Hi
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.
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.
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.
Regards
Sateesh
--
Sateesh
--
Sateesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/beignet/attachments/20170213/d20229a0/attachment.html>
More information about the Beignet
mailing list