<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/beignet.git/utests/get_cl_info.cpp, branch runtime_dev</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>utests: only check -dump-spir-binary on beignet implementation</title>
<updated>2016-08-03T10:14:37+00:00</updated>
<author>
<name>Guo Yejun</name>
<email>yejun.guo@intel.com</email>
</author>
<published>2016-07-27T23:05:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=d7ddacf849080f4b6062615f84c740a7f36c0564'/>
<id>d7ddacf849080f4b6062615f84c740a7f36c0564</id>
<content type='text'>
Signed-off-by: Guo Yejun &lt;yejun.guo@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: Guo Yejun &lt;yejun.guo@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>utests: fix issue of CL_PROGRAM_BINARY_SIZES query</title>
<updated>2016-08-03T10:12:51+00:00</updated>
<author>
<name>Guo Yejun</name>
<email>yejun.guo@intel.com</email>
</author>
<published>2016-07-25T23:59:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=b00f8acf6d115002dd0c53b7bc094ce43d715931'/>
<id>b00f8acf6d115002dd0c53b7bc094ce43d715931</id>
<content type='text'>
the return type of CL_PROGRAM_BINARY_SIZES query is unsigned char*[],
and param_value_size must be &gt;= size of the return type, see spec 1.2
section 5.6.7 (P151)

Signed-off-by: Guo Yejun &lt;yejun.guo@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>
the return type of CL_PROGRAM_BINARY_SIZES query is unsigned char*[],
and param_value_size must be &gt;= size of the return type, see spec 1.2
section 5.6.7 (P151)

Signed-off-by: Guo Yejun &lt;yejun.guo@intel.com&gt;
Reviewed-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>utest: error handling to avoid null pointer dereference.</title>
<updated>2016-05-23T10:07:21+00:00</updated>
<author>
<name>Luo Xionghu</name>
<email>xionghu.luo@intel.com</email>
</author>
<published>2016-05-05T16:11:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=0ad68c09087b2fab4b1ff2ebc9ed38ea0258794c'/>
<id>0ad68c09087b2fab4b1ff2ebc9ed38ea0258794c</id>
<content type='text'>
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>
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>utest: add utest to generate spir binary from beignet.</title>
<updated>2015-12-10T08:27:56+00:00</updated>
<author>
<name>Luo Xionghu</name>
<email>xionghu.luo@intel.com</email>
</author>
<published>2015-11-04T05:45:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=7bb0da6cf4937aaa5300c7181634517902244f19'/>
<id>7bb0da6cf4937aaa5300c7181634517902244f19</id>
<content type='text'>
include case compile_spir_binary and build_spir_binary.

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>
include case compile_spir_binary and build_spir_binary.

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>utests: Added unit tests to test LLVM and ASM dump generation in a two step build process with clCompile and clLink APIs.</title>
<updated>2015-10-13T06:53:05+00:00</updated>
<author>
<name>Manasi Navare</name>
<email>manasi.d.navare@intel.com</email>
</author>
<published>2015-10-12T11:53:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=15ced6f6ed456f63401ac053c5ec109524af8ca8'/>
<id>15ced6f6ed456f63401ac053c5ec109524af8ca8</id>
<content type='text'>
    This patch adds two new tests to the unit tests. It uses the existing
    framework and data structures and tests the llvm/asm dump generation
    when these flags (-dump-opt-llvm, -dump-opt-asm) are passed as compile and link
    options to clCompileProgram and clLinkProgram APIs along with the dump file names.

    Method added:
    1) get_compile_llvm_info() tests LLVM dump generation after clCompileProgram() stage
    2) get_link_asm_info() tests Gen ASM dump generation after clLinkProgram() stage

Signed-off-by: Manasi Navare &lt;manasi.d.navare@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>
    This patch adds two new tests to the unit tests. It uses the existing
    framework and data structures and tests the llvm/asm dump generation
    when these flags (-dump-opt-llvm, -dump-opt-asm) are passed as compile and link
    options to clCompileProgram and clLinkProgram APIs along with the dump file names.

    Method added:
    1) get_compile_llvm_info() tests LLVM dump generation after clCompileProgram() stage
    2) get_link_asm_info() tests Gen ASM dump generation after clLinkProgram() stage

Signed-off-by: Manasi Navare &lt;manasi.d.navare@intel.com&gt;
Reviewed-by: Ruiling Song &lt;ruiling.song@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>utests: Added unit tests to test LLVM and ASM dump generation.</title>
<updated>2015-09-08T08:49:43+00:00</updated>
<author>
<name>Sirisha Gandikota</name>
<email>sirisha.gandikota@intel.com</email>
</author>
<published>2015-09-02T08:44:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=6d87f03488a454e55fb56ee3ac453af73bf61fef'/>
<id>6d87f03488a454e55fb56ee3ac453af73bf61fef</id>
<content type='text'>
This patch adds 2 new tests to the unit tests. It uses the existing
framework and data structures and tests the llvm/asm dump generation
when these flags (-dump-opt-llvm, -dump-opt-asm) are passed as build
options along with the dump file names.

Methods added:
1) get_build_llvm_info() tests LLVM dump generation
2) get_build_asm_info() tests ASM dump generation

Signed-off-by: Sirisha Gandikota &lt;sirisha.gandikota@intel.com&gt;
Reviewed-by: "Song, Ruiling" &lt;ruiling.song@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds 2 new tests to the unit tests. It uses the existing
framework and data structures and tests the llvm/asm dump generation
when these flags (-dump-opt-llvm, -dump-opt-asm) are passed as build
options along with the dump file names.

Methods added:
1) get_build_llvm_info() tests LLVM dump generation
2) get_build_asm_info() tests ASM dump generation

Signed-off-by: Sirisha Gandikota &lt;sirisha.gandikota@intel.com&gt;
Reviewed-by: "Song, Ruiling" &lt;ruiling.song@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix utest build for some old gcc version</title>
<updated>2015-01-06T09:55:07+00:00</updated>
<author>
<name>Guo Yejun</name>
<email>yejun.guo@intel.com</email>
</author>
<published>2014-12-31T05:12:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=f37867b45ca91be23f04135bb6dc0e4346d19da7'/>
<id>f37867b45ca91be23f04135bb6dc0e4346d19da7</id>
<content type='text'>
change the keyword from constexpr to const, update the code for
explicit type conversion and std::map's iterator.

Signed-off-by: Guo Yejun &lt;yejun.guo@intel.com&gt;
Reviewed-by: Zhigang Gong &lt;zhigang.gong@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
change the keyword from constexpr to const, update the code for
explicit type conversion and std::map's iterator.

Signed-off-by: Guo Yejun &lt;yejun.guo@intel.com&gt;
Reviewed-by: Zhigang Gong &lt;zhigang.gong@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add some API's OpenCL 1.2 parameter support.</title>
<updated>2014-06-20T09:35:03+00:00</updated>
<author>
<name>Yang Rong</name>
<email>rong.r.yang@intel.com</email>
</author>
<published>2014-06-20T16:15:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=a1f9bd02b1cc41fdded1a13c9077ba7d4971d9e6'/>
<id>a1f9bd02b1cc41fdded1a13c9077ba7d4971d9e6</id>
<content type='text'>
Support CL_PROGRAM_KERNEL_NAMES and CL_PROGRAM_NUM_KERNELS in API clGetProgramInfo,
and CL_DOUBLE_FP_CONFIG in API clGetDeviceInfo.
Also fix a bug of CL_MEM_HOST_PTR in API clGetMemObjectInfo.

v2:
also fix the utest get_mem_info.

Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Signed-off-by: Zhigang Gong &lt;zhigang.gong@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support CL_PROGRAM_KERNEL_NAMES and CL_PROGRAM_NUM_KERNELS in API clGetProgramInfo,
and CL_DOUBLE_FP_CONFIG in API clGetDeviceInfo.
Also fix a bug of CL_MEM_HOST_PTR in API clGetMemObjectInfo.

v2:
also fix the utest get_mem_info.

Signed-off-by: Yang Rong &lt;rong.r.yang@intel.com&gt;
Signed-off-by: Zhigang Gong &lt;zhigang.gong@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>runtime: fix some get image info bugs.</title>
<updated>2014-06-20T07:53:31+00:00</updated>
<author>
<name>Zhigang Gong</name>
<email>zhigang.gong@intel.com</email>
</author>
<published>2014-06-19T06:09:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=a11c0123e0b43361f67e644108cb91dc0875d9c7'/>
<id>a11c0123e0b43361f67e644108cb91dc0875d9c7</id>
<content type='text'>
According to ocl spec:

Return height of the image in pixels. For a
1D image, 1D image buffer and 1D image
array object, height = 0.

Return depth of the image in pixels. For a
1D image, 1D image buffer, 2D image or
1D and 2D image array object, depth = 0.

Signed-off-by: Zhigang Gong &lt;zhigang.gong@intel.com&gt;
Reviewed-by: He Junyan &lt;junyan.he@inbox.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to ocl spec:

Return height of the image in pixels. For a
1D image, 1D image buffer and 1D image
array object, height = 0.

Return depth of the image in pixels. For a
1D image, 1D image buffer, 2D image or
1D and 2D image array object, depth = 0.

Signed-off-by: Zhigang Gong &lt;zhigang.gong@intel.com&gt;
Reviewed-by: He Junyan &lt;junyan.he@inbox.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>utests: fix the image desc initilization for get_image_info.</title>
<updated>2014-06-13T08:58:40+00:00</updated>
<author>
<name>Junyan He</name>
<email>junyan.he@linux.intel.com</email>
</author>
<published>2014-06-13T07:08:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/beignet.git/commit/?id=6caeef0ebb89cd97a88baf7c06ab28c1df37e0fa'/>
<id>6caeef0ebb89cd97a88baf7c06ab28c1df37e0fa</id>
<content type='text'>
As now the clCreateImage implements more check, we need to
set more elements to pass all the argument check.

Signed-off-by: Zhigang Gong &lt;zhigang.gong@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As now the clCreateImage implements more check, we need to
set more elements to pass all the argument check.

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