<div dir="ltr">The patch fixed it, thanks!<div><br></div><div>Yes I am using clang-3.8 that comes with Ubuntu 16.04.</div><div><br></div><div><div><font face="monospace, monospace">summary:</font></div><div><font face="monospace, monospace">----------</font></div><div><font face="monospace, monospace"> total: 803</font></div><div><font face="monospace, monospace"> run: 802</font></div><div><font face="monospace, monospace"> pass: 802</font></div><div><font face="monospace, monospace"> fail: 0</font></div><div><font face="monospace, monospace"> pass rate: 1.000000</font></div></div><div><br></div><div>Maybe I will try the OCL20 branch again now that I have master working.</div><div><br></div><div>Thanks,</div><div>Andrew</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 16, 2016 at 7:46 PM, Pan, Xiuli <span dir="ltr"><<a href="mailto:xiuli.pan@intel.com" target="_blank">xiuli.pan@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Andrew,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">This problem seems very familiar, if you are building beignet with clang, please try this patch:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="https://patchwork.freedesktop.org/patch/84442/" target="_blank">https://patchwork.freedesktop.org/patch/84442/</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If not, please provide us the log with “export OCL_OUTPUT_ASM=1, export OCL_OUTPUT_LLVM_AFTER_GEN=1, export OCL_OUTPUT_GEN_IR=1”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Xiuli<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><a name="m_3626336417731477614__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></a></p>
<p class="MsoNormal"><a name="m_3626336417731477614______replyseparator"></a><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Beignet [mailto:<a href="mailto:beignet-bounces@lists.freedesktop.org" target="_blank">beignet-bounces@lists.freedesktop.org</a>]
<b>On Behalf Of </b>Andrew Lavin<br>
<b>Sent:</b> Tuesday, May 17, 2016 1:38 AM<br>
<b>To:</b> <a href="mailto:Beignet@lists.freedesktop.org" target="_blank">Beignet@lists.freedesktop.org</a><br>
<b>Subject:</b> [Beignet] utests difficulty on Halo GT4<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I just received a Skull Canyon NUC with Intel Graphics Skylake Halo GT4. I built beignet master but the unit tests fail. I am running Ubuntu 16.04 with the default 4.4.0-22-generic kernel. It is my first try with beignet, apologies if I
am doing something wrong.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">andrew@skull:~/Downloads/beignet-master/build/utests$ ./utest_run </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">platform number 1</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">platform_profile "FULL_PROFILE"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">platform_name "Intel Gen OCL Driver"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">platform_vendor "Intel"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">platform_version "OpenCL 1.2 beignet 1.2 (git-722b49c)"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">platform_extensions "cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_image2d_from_buffer
cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_motion_estimation"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (-259236996, -1798855746, -134614158)</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">See README.md or <a href="http://www.freedesktop.org/wiki/Software/Beignet/" target="_blank">
http://www.freedesktop.org/wiki/Software/Beignet/</a></span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">Beignet: Warning - overriding self-test failure</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">device_profile "FULL_PROFILE"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">device_name "Intel(R) HD Graphics Skylake Halo GT4"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">device_vendor "Intel"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">device_version "OpenCL 1.2 beignet 1.2 (git-722b49c)"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">device_extensions "cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_image2d_from_buffer
cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_motion_estimation cl_khr_fp16"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">device_opencl_c_version "OpenCL C 1.2 beignet 1.2 (git-722b49c)"</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">23 image formats are supported</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_R CL_UNORM_INT8]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_R CL_UNORM_INT16]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_R CL_SIGNED_INT8]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_R CL_SIGNED_INT16]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_R CL_SIGNED_INT32]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_R CL_UNSIGNED_INT8]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_R CL_UNSIGNED_INT16]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_R CL_UNSIGNED_INT32]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_R CL_HALF_FLOAT]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_R CL_FLOAT]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RG CL_UNORM_INT8]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RG CL_UNSIGNED_INT8]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RGBA CL_UNORM_INT8]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RGBA CL_UNORM_INT16]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RGBA CL_SIGNED_INT8]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RGBA CL_SIGNED_INT16]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RGBA CL_SIGNED_INT32]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RGBA CL_UNSIGNED_INT8]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RGBA CL_UNSIGNED_INT16]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RGBA CL_UNSIGNED_INT32]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RGBA CL_HALF_FLOAT]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_RGBA CL_FLOAT]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">[CL_BGRA CL_UNORM_INT8]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">test_load_program_from_bin_file() [FAILED]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> Error: ((float *)buf_data[1])[i] == cpu_dst[i]</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> at file /home/andrew/Downloads/beignet-master/utests/load_program_from_bin_file.cpp, function test_load_program_from_bin_file, line 72</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">enqueue_built_in_kernels()ASSERTION FAILED: TODO A store to a structure argument (i.e. not a char/short/int/float argument) has been found. This is not supported yet</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New""> at file /home/andrew/Downloads/beignet-master/backend/src/ir/lowering.cpp, function gbe::ir::ArgUse gbe::ir::FunctionArgumentLowerer::lower(uint32_t), line 519</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">Trace/breakpoint trap (core dumped)</span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>