<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/beignet.git/src/cl_gbe_loader.cpp, 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>GBE: clean llvm module's clone and release.</title>
<updated>2017-06-23T08:04:54+00:00</updated>
<author>
<name>Yang, Rong R</name>
<email>rong.r.yang@intel.com</email>
</author>
<published>2017-06-22T09:38:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=36f6a8b6b956ffed15d100abe677125d4a5aeaed'/>
<id>36f6a8b6b956ffed15d100abe677125d4a5aeaed</id>
<content type='text'>
There are some changes:
1. Clone the module before call LLVMLinkModules2, remove other
clones for it.
2. Don't delete module in function llvmToGen.
3. Add a function programNewFromLLVMFile so genProgramNewFromLLVM
and buildFromLLVMModule only handle llvm module. Actually,
programNewFromLLVMFile is only used by clCreateProgramWithLLVMIntel,
and I think it is useless, maybe we could delete it at all.

V2: define errDiag beside #if/#endif.
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 changes:
1. Clone the module before call LLVMLinkModules2, remove other
clones for it.
2. Don't delete module in function llvmToGen.
3. Add a function programNewFromLLVMFile so genProgramNewFromLLVM
and buildFromLLVMModule only handle llvm module. Actually,
programNewFromLLVMFile is only used by clCreateProgramWithLLVMIntel,
and I think it is useless, maybe we could delete it at all.

V2: define errDiag beside #if/#endif.
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>OCL20: Add runtime functions to get the device enqueue info.</title>
<updated>2016-12-30T08:21:57+00:00</updated>
<author>
<name>Yang, Rong R</name>
<email>rong.r.yang@intel.com</email>
</author>
<published>2016-11-28T11:32:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=d705736f6d7aae745f7cd1620be511591fcefc07'/>
<id>d705736f6d7aae745f7cd1620be511591fcefc07</id>
<content type='text'>
Add two functions gbe_kernel_use_device_enqueue and
gbe_program_get_device_enqueue_kernel_name.

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>
Add two functions gbe_kernel_use_device_enqueue and
gbe_program_get_device_enqueue_kernel_name.

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>GBE: Implement new constant solution for ocl2</title>
<updated>2016-11-08T12:38:21+00:00</updated>
<author>
<name>Ruiling Song</name>
<email>ruiling.song@intel.com</email>
</author>
<published>2016-01-19T03:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=295b1cb6d1ac616dd4d9b4b2ef14934b86e3ffbf'/>
<id>295b1cb6d1ac616dd4d9b4b2ef14934b86e3ffbf</id>
<content type='text'>
Different from ocl 1.2, which gather all constant into one surface.
ocl2 only gather program global/constant into one surface. But
keep other constant passed through kernel argument in separate buffer.

Signed-off-by: Ruiling Song &lt;ruiling.song@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>
Different from ocl 1.2, which gather all constant into one surface.
ocl2 only gather program global/constant into one surface. But
keep other constant passed through kernel argument in separate buffer.

Signed-off-by: Ruiling Song &lt;ruiling.song@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OCL20: add gbe_kernel_get_ocl_version for getting kernel's version in runtime.</title>
<updated>2016-11-08T12:38:21+00:00</updated>
<author>
<name>Yang Rong</name>
<email>rong.r.yang@intel.com</email>
</author>
<published>2016-11-03T06:27:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=07f879d60a62eb56f99d6e20f4bf363caf64a1ae'/>
<id>07f879d60a62eb56f99d6e20f4bf363caf64a1ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Runtime: fix caffe segmentation fault when exit.</title>
<updated>2016-06-23T07:46:00+00:00</updated>
<author>
<name>Yang Rong</name>
<email>rong.r.yang@intel.com</email>
</author>
<published>2016-06-20T16:15:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=c2fb13ddc52141222391ea69371a21c83d2b5e18'/>
<id>c2fb13ddc52141222391ea69371a21c83d2b5e18</id>
<content type='text'>
For static object release, such as context, program, may called after
delete static variable gbeLoader, so when in gbeLoader's destructor
function, set the release relative functions to NULL, and when call
these functions, add a check.

This patch could fix caffe's segmentation fault when exit

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>
For static object release, such as context, program, may called after
delete static variable gbeLoader, so when in gbeLoader's destructor
function, set the release relative functions to NULL, and when call
these functions, add a check.

This patch could fix caffe's segmentation fault when exit

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>standalone utest for unified OpenCL implementation.</title>
<updated>2016-04-22T10:13:01+00:00</updated>
<author>
<name>Luo Xionghu</name>
<email>xionghu.luo@intel.com</email>
</author>
<published>2016-04-22T16:37:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=0eebe2536c8e76cd20867d1ca00ba4735736f629'/>
<id>0eebe2536c8e76cd20867d1ca00ba4735736f629</id>
<content type='text'>
use the variable NOT_BUILD_STAND_ALONE_UTEST to control the build type:
for beignet build, set it to 1; for stand alone build, do NOT need set
it.
remove all clXXXIntel extension call and such kind of tests since we
intend to provide the unit test independently for viariant OpenCL
implementation; replace the clMapBufferIntel/clMapBufferGTTIntel
with clEnqueueMapBuffer/clEnqueueMapImage; link the utest binary to
libOpenCL to follow the icd standard; remove the useless env in
setenv.sh since we need make install the package after build.

v2:
fix the indent error;
use function pointer for extesion case like vme and libva since we link to libOpenCL;
v3: builtin_kernel_block_motion_estimate_intel released kernel twice;
v4:
find OpenCL library for standalone utest and link to libcl for not
standalone utest;
check default variables in setenv.sh whether empty before use.

Signed-off-by: Luo Xionghu &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>
use the variable NOT_BUILD_STAND_ALONE_UTEST to control the build type:
for beignet build, set it to 1; for stand alone build, do NOT need set
it.
remove all clXXXIntel extension call and such kind of tests since we
intend to provide the unit test independently for viariant OpenCL
implementation; replace the clMapBufferIntel/clMapBufferGTTIntel
with clEnqueueMapBuffer/clEnqueueMapImage; link the utest binary to
libOpenCL to follow the icd standard; remove the useless env in
setenv.sh since we need make install the package after build.

v2:
fix the indent error;
use function pointer for extesion case like vme and libva since we link to libOpenCL;
v3: builtin_kernel_block_motion_estimate_intel released kernel twice;
v4:
find OpenCL library for standalone utest and link to libcl for not
standalone utest;
check default variables in setenv.sh whether empty before use.

Signed-off-by: Luo Xionghu &lt;xionghu.luo@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement printf buffer management.</title>
<updated>2016-04-22T09:24:04+00:00</updated>
<author>
<name>Yan Wang</name>
<email>yan.wang@linux.intel.com</email>
</author>
<published>2016-02-01T07:42:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=4fa656dcc137c99b634d4ca88c33fe93412ce104'/>
<id>4fa656dcc137c99b634d4ca88c33fe93412ce104</id>
<content type='text'>
Contributor: Junyan He &lt;junyan.he@linux.intel.com&gt;
Signed-off-by: Yan Wang &lt;yan.wang@linux.intel.com&gt;
Reviewed-by: Yan Wang &lt;yan.wang@linux.intel.com&gt;
Reviewed-by: Junyan He &lt;junyan.he@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Contributor: Junyan He &lt;junyan.he@linux.intel.com&gt;
Signed-off-by: Yan Wang &lt;yan.wang@linux.intel.com&gt;
Reviewed-by: Yan Wang &lt;yan.wang@linux.intel.com&gt;
Reviewed-by: Junyan He &lt;junyan.he@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add profiling info APIs to runtime.</title>
<updated>2015-11-17T08:23:45+00:00</updated>
<author>
<name>Junyan He</name>
<email>junyan.he@linux.intel.com</email>
</author>
<published>2015-11-16T23:40:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=83ca21e1ee0cee68bc1b0dd62152ce5ca5071f0c'/>
<id>83ca21e1ee0cee68bc1b0dd62152ce5ca5071f0c</id>
<content type='text'>
Signed-off-by: Junyan He &lt;junyan.he@linux.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@linux.intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix piglit clLinkProgram fail.</title>
<updated>2015-09-18T08:09:55+00:00</updated>
<author>
<name>Yang Rong</name>
<email>rong.r.yang@intel.com</email>
</author>
<published>2015-08-24T03:59:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=d6a5dfeb64947ab94933d1a28b77a68e89f60ac5'/>
<id>d6a5dfeb64947ab94933d1a28b77a68e89f60ac5</id>
<content type='text'>
1. return CL_INVALID_LINKER_OPTIONS when invalid options, using clang to check the options.
2. return CL_INVALID_OPERATION when the binary type is not same.
3. When link fail, will not return CL_LINK_PROGRAM_FAILURE, fix it.
4. Should not delete program in genProgramBuildFromLLVM, the program is new and delete from runtime.

Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Reviewed-by: Luo, Xionghu &lt;xionghu.luo@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. return CL_INVALID_LINKER_OPTIONS when invalid options, using clang to check the options.
2. return CL_INVALID_OPERATION when the binary type is not same.
3. When link fail, will not return CL_LINK_PROGRAM_FAILURE, fix it.
4. Should not delete program in genProgramBuildFromLLVM, the program is new and delete from runtime.

Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Reviewed-by: Luo, Xionghu &lt;xionghu.luo@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>License: adjust all license version to LGPL v2.1+.</title>
<updated>2014-11-11T02:18:02+00:00</updated>
<author>
<name>Zhigang Gong</name>
<email>zhigang.gong@intel.com</email>
</author>
<published>2014-11-05T09:22:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=436253de8a1b7a6851a09ebbba92cb065ce4282f'/>
<id>436253de8a1b7a6851a09ebbba92cb065ce4282f</id>
<content type='text'>
To make the license statement consistent to each other, adjust
all license versions to v2.1+. Thus beignet should have a pure
LGPL v2.1+ license.

Signed-off-by: Zhigang Gong &lt;zhigang.gong@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To make the license statement consistent to each other, adjust
all license versions to v2.1+. Thus beignet should have a pure
LGPL v2.1+ license.

Signed-off-by: Zhigang Gong &lt;zhigang.gong@intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
