<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/beignet.git/src/cl_command_queue.c, branch master</title>
<subtitle>gitlab.freedesktop.org: beignet/beignet.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/'/>
<entry>
<title>Runtime: fix a cl_gpgpu_bind_image_for_vme NULL SIGSEGV.</title>
<updated>2017-07-27T08:19:30+00:00</updated>
<author>
<name>Yang, Rong R</name>
<email>rong.r.yang@intel.com</email>
</author>
<published>2017-07-21T04:11:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=9b7ca443cf7bee8105e819ef2893ee412a75fd30'/>
<id>9b7ca443cf7bee8105e819ef2893ee412a75fd30</id>
<content type='text'>
Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Reviewed-by: Ruiling Song &lt;ruiling.song@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Reviewed-by: Ruiling Song &lt;ruiling.song@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement extension cl_intel_device_side_avc_motion_estimation.</title>
<updated>2017-07-12T10:29:19+00:00</updated>
<author>
<name>Chuanbo Weng</name>
<email>chuanbo.weng@intel.com</email>
</author>
<published>2017-06-13T16:54:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=9cb7ff4c285d892616595e5a43793f4d1408eca4'/>
<id>9cb7ff4c285d892616595e5a43793f4d1408eca4</id>
<content type='text'>
This patch mainly contains:
1. built-in function __gen_ocl_ime implementation.
2. Lots of built-in functions of cl_intel_device_side_avc_motion_estimation
   are implemented.
3. This extension is required to run in simd16 mode.

v2: move the utests to seprate patches one by one;
    as all the utests has extension function check, no need to put them
    in stand alone utest;
    uncomment the self test;
    fix extension check logic issue, should be &amp;&amp; instead of ||.

Signed-off-by: Chuanbo Weng &lt;chuanbo.weng@intel.com&gt;
Signed-off-by: Xionghu Luo &lt;xionghu.luo@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch mainly contains:
1. built-in function __gen_ocl_ime implementation.
2. Lots of built-in functions of cl_intel_device_side_avc_motion_estimation
   are implemented.
3. This extension is required to run in simd16 mode.

v2: move the utests to seprate patches one by one;
    as all the utests has extension function check, no need to put them
    in stand alone utest;
    uncomment the self test;
    fix extension check logic issue, should be &amp;&amp; instead of ||.

Signed-off-by: Chuanbo Weng &lt;chuanbo.weng@intel.com&gt;
Signed-off-by: Xionghu Luo &lt;xionghu.luo@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some pointer access check.</title>
<updated>2017-01-11T10:28:42+00:00</updated>
<author>
<name>Yang Rong</name>
<email>rong.r.yang@intel.com</email>
</author>
<published>2017-01-11T10:14:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=e0d746fd7cf2a043e41143790f8c857bc87ad9b9'/>
<id>e0d746fd7cf2a043e41143790f8c857bc87ad9b9</id>
<content type='text'>
Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Reviewed-by: Pan Xiuli &lt;xiuli.pan@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Reviewed-by: Pan Xiuli &lt;xiuli.pan@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix two bugs about command queue destroy.</title>
<updated>2017-01-11T10:19:58+00:00</updated>
<author>
<name>Junyan He</name>
<email>junyan.he@intel.com</email>
</author>
<published>2017-01-11T08:36:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=674003708fabd5b5919f8091f03cc46612821830'/>
<id>674003708fabd5b5919f8091f03cc46612821830</id>
<content type='text'>
1. Call finish before we destroy the command queue.
   We should make sure all the commands in the queue are
   finished before we really destroy the command_queue.
   If not, may cause event status error. We leave the queue's
   life time to user and do not ref the queue when create
   event.
2. Loose the assert condition when notify queue.
   We have the case when ref of the queue is 0 but still need
   to notify.

Signed-off-by: Junyan He &lt;junyan.he@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Call finish before we destroy the command queue.
   We should make sure all the commands in the queue are
   finished before we really destroy the command_queue.
   If not, may cause event status error. We leave the queue's
   life time to user and do not ref the queue when create
   event.
2. Loose the assert condition when notify queue.
   We have the case when ref of the queue is 0 but still need
   to notify.

Signed-off-by: Junyan He &lt;junyan.he@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a event notify bug.</title>
<updated>2017-01-06T09:33:12+00:00</updated>
<author>
<name>Junyan He</name>
<email>junyan.he@intel.com</email>
</author>
<published>2017-01-05T12:53:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=06d2f24d19875432261492688c8c17281a5b3514'/>
<id>06d2f24d19875432261492688c8c17281a5b3514</id>
<content type='text'>
When a event complete, we need to notify all the command_queue
within the same context. But sometime, some command_queue in
the context is already invalid.
Modify to ensure all the command_queue to be notified are
valid.

Signed-off-by: Junyan He &lt;junyan.he@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a event complete, we need to notify all the command_queue
within the same context. But sometime, some command_queue in
the context is already invalid.
Modify to ensure all the command_queue to be notified are
valid.

Signed-off-by: Junyan He &lt;junyan.he@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OCL20: handle device enqueue in runtime.</title>
<updated>2016-12-30T08:22:01+00:00</updated>
<author>
<name>Yang, Rong R</name>
<email>rong.r.yang@intel.com</email>
</author>
<published>2016-11-28T11:32:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=f8aa5ad2454967d638d214390823cbb93af3e76a'/>
<id>f8aa5ad2454967d638d214390823cbb93af3e76a</id>
<content type='text'>
There are some step to handle device enqueue:
1. allocate the device enqueue bo to store the device enqueue
information for parent kernel. Add must convert all global buffers to
SVM buffers to make sure the child kernels have the same GPU address.
2. When flush the command, check whether have device enqueue or not. If
has device enqueue, must wait finish and parse the device enqueue info.
3. Start the child ndrange according the device enqueue info, and the
parent's global buffers as the exec info.

Because of non uniform workgroup size, one enqueue api will flush
serveral times, but device enqueue only need handle once, so add a flag
to function cl_command_queue_flush to indicate the last flush.

Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Reviewed-by: Pan Xiuli &lt;xiuli.pan@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are some step to handle device enqueue:
1. allocate the device enqueue bo to store the device enqueue
information for parent kernel. Add must convert all global buffers to
SVM buffers to make sure the child kernels have the same GPU address.
2. When flush the command, check whether have device enqueue or not. If
has device enqueue, must wait finish and parse the device enqueue info.
3. Start the child ndrange according the device enqueue info, and the
parent's global buffers as the exec info.

Because of non uniform workgroup size, one enqueue api will flush
serveral times, but device enqueue only need handle once, so add a flag
to function cl_command_queue_flush to indicate the last flush.

Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Reviewed-by: Pan Xiuli &lt;xiuli.pan@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Move clCreateCommandQueueWithProperties API to command_queue file.</title>
<updated>2016-12-19T08:42:35+00:00</updated>
<author>
<name>Junyan He</name>
<email>junyan.he@intel.com</email>
</author>
<published>2016-12-19T06:06:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=a5e24e2fac09974138c715f685d5322b1f81758d'/>
<id>a5e24e2fac09974138c715f685d5322b1f81758d</id>
<content type='text'>
Signed-off-by: Junyan He &lt;junyan.he@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Junyan He &lt;junyan.he@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>refine clCreateCommandQueue and clRetainCommandQueue.</title>
<updated>2016-12-16T12:37:02+00:00</updated>
<author>
<name>Junyan He</name>
<email>junyan.he@intel.com</email>
</author>
<published>2016-12-16T10:17:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=2256747a06fc323025fb81d50bcd5b2f45e98e32'/>
<id>2256747a06fc323025fb81d50bcd5b2f45e98e32</id>
<content type='text'>
Signed-off-by: Junyan He &lt;junyan.he@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Junyan He &lt;junyan.he@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Runtime: Fix vme fail.</title>
<updated>2016-11-28T09:36:08+00:00</updated>
<author>
<name>Yang Rong</name>
<email>rong.r.yang@intel.com</email>
</author>
<published>2016-11-15T05:59:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=53ac285ac57b0ab0309586bdb6df01aac579f008'/>
<id>53ac285ac57b0ab0309586bdb6df01aac579f008</id>
<content type='text'>
When rebase, cl_gpgpu_bind_image call once more, delete it.

Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Reviewed-by: Pan Xiuli &lt;xiuli.pan@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When rebase, cl_gpgpu_bind_image call once more, delete it.

Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Reviewed-by: Pan Xiuli &lt;xiuli.pan@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Runtime: Add support for non uniform group size</title>
<updated>2016-11-08T12:38:22+00:00</updated>
<author>
<name>Pan Xiuli</name>
<email>xiuli.pan@intel.com</email>
</author>
<published>2016-03-15T23:16:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=b8e07f6f6ff63e4d34e9d49f224ae123fbd043cb'/>
<id>b8e07f6f6ff63e4d34e9d49f224ae123fbd043cb</id>
<content type='text'>
Enqueue multiple times if the the size is not uniform, at most 2
times for 1D, 4times for 2D and 8 times for 3D. Using the workdim
offset of walker in batch buffer to keep work groups in series.

TODO: handle events for the flush between multiple enqueues
Signed-off-by: Pan Xiuli &lt;xiuli.pan@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enqueue multiple times if the the size is not uniform, at most 2
times for 1D, 4times for 2D and 8 times for 3D. Using the workdim
offset of walker in batch buffer to keep work groups in series.

TODO: handle events for the flush between multiple enqueues
Signed-off-by: Pan Xiuli &lt;xiuli.pan@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
