<div dir="ltr">That solved it, thanks!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 18, 2013 at 11:54 PM, Zhigang Gong <span dir="ltr"><<a href="mailto:zhigang.gong@linux.intel.com" target="_blank">zhigang.gong@linux.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="ZH-CN" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">That’s a known bug and already was fixed in master branch.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">I just merged the master branch to the opencl-1.2 branch.<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">Please pull the opencl-1.2 again and try it.<u></u><u></u></span></p><p class="MsoNormal"><a name="14094b58c78e0f8d__MailEndCompose"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></a></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> beignet-bounces+zhigang.gong=<a href="mailto:linux.intel.com@lists.freedesktop.org" target="_blank">linux.intel.com@lists.freedesktop.org</a> [mailto:<a href="mailto:beignet-bounces%2Bzhigang.gong" target="_blank">beignet-bounces+zhigang.gong</a>=<a href="mailto:linux.intel.com@lists.freedesktop.org" target="_blank">linux.intel.com@lists.freedesktop.org</a>] <b>On Behalf Of </b>I.T. Daniher<br>
<b>Sent:</b> Monday, August 19, 2013 11:17 AM<br><b>To:</b> Zhigang Gong<br><b>Cc:</b> <a href="mailto:beignet@lists.freedesktop.org" target="_blank">beignet@lists.freedesktop.org</a><br><b>Subject:</b> Re: [Beignet] (Still) having issues building beignet.<u></u><u></u></span></p>
<div><div class="h5"><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><div><p class="MsoNormal"><span lang="EN-US">Thanks, that seems to have done it. Beignet compiles successfully and I can run 'utest_run' to create a handful of bitmaps and print a number of test names followed by SUCCESS. 'flat_address_space', however, runs until it prints:<u></u><u></u></span></p>
<div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">....<u></u><u></u></span></p></div><div><div><p class="MsoNormal"><span lang="EN-US">[CL_RGBx CL_UNORM_INT_101010]<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span lang="EN-US">run-time flat address space failed<u></u><u></u></span></p></div></div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal">
<span lang="EN-US">and exits.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">I don't have my application code (FFT) up and running yet, so I don't know if this is an issue with which I need to be concerned.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">Thanks for your help compiling, and I'll email the list when I get a little further!<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">Best,<u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">--<br>
Ian<u></u><u></u></span></p><div><p class="MsoNormal"><span lang="EN-US">On Sun, Aug 18, 2013 at 10:54 PM, Zhigang Gong <<a href="mailto:zhigang.gong@linux.intel.com" target="_blank">zhigang.gong@linux.intel.com</a>> wrote:<u></u><u></u></span></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d">You may need to try the opencl-1.2 branch. As the master branch is using the 1.1 header files, the ICD extension need the 1.2 header files.</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><a name="14094b58c78e0f8d_140947f0d9f0b6cc__MailEndCompose"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></a><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> beignet-bounces+zhigang.gong=<a href="mailto:linux.intel.com@lists.freedesktop.org" target="_blank">linux.intel.com@lists.freedesktop.org</a> [mailto:<a href="mailto:beignet-bounces%2Bzhigang.gong" target="_blank">beignet-bounces+zhigang.gong</a>=<a href="mailto:linux.intel.com@lists.freedesktop.org" target="_blank">linux.intel.com@lists.freedesktop.org</a>] <b>On Behalf Of </b>I.T. Daniher<br>
<b>Sent:</b> Monday, August 19, 2013 10:08 AM<br><b>To:</b> <a href="mailto:beignet@lists.freedesktop.org" target="_blank">beignet@lists.freedesktop.org</a><br><b>Subject:</b> [Beignet] (Still) having issues building beignet.</span><span lang="EN-US"><u></u><u></u></span></p>
<div><div><p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p><div><p class="MsoNormal"><span lang="EN-US"><a href="http://itdaniher.com/p?nMoD" target="_blank">http://itdaniher.com/p?nMoD</a><u></u><u></u></span></p>
<div><pre style="word-wrap:break-word;white-space:pre-wrap"><span lang="EN-US">[ 22%] Built target gbe<u></u><u></u></span></pre><pre><span lang="EN-US">[ 22%] Building C object src/CMakeFiles/cl.dir/cl_khr_icd.c.o<u></u><u></u></span></pre>
<pre><span lang="EN-US">In file included from /home/it/Downloads/beignet/src/cl_khr_icd.c:18:0:<u></u><u></u></span></pre><pre><span lang="EN-US">/usr/local/include/ocl_icd.h:746:5: error: unknown type name </span>‘<span lang="EN-US">cl_device_partition_property</span>’<span lang="EN-US"><u></u><u></u></span></pre>
<pre><span lang="EN-US"> const cl_device_partition_property * /* properties */,<u></u><u></u></span></pre><pre><span lang="EN-US"> ^<u></u><u></u></span></pre><pre><span lang="EN-US">/usr/local/include/ocl_icd.h:750:5: error: expected </span>‘<span lang="EN-US">:</span>’<span lang="EN-US">, </span>‘<span lang="EN-US">,</span>’<span lang="EN-US">, </span>‘<span lang="EN-US">;</span>’<span lang="EN-US">, </span>‘<span lang="EN-US">}</span>’<span lang="EN-US"> or </span>‘<span lang="EN-US">__attribute__</span>’<span lang="EN-US"> before </span>‘<span lang="EN-US">CL_API_SUFFIX__VERSION_1_2</span>’<span lang="EN-US"><u></u><u></u></span></pre>
<pre><span lang="EN-US"> ) CL_API_SUFFIX__VERSION_1_2;<u></u><u></u></span></pre><pre><span lang="EN-US"> ^<u></u><u></u></span></pre><pre><span lang="EN-US">make[2]: *** [src/CMakeFiles/cl.dir/cl_khr_icd.c.o] Error 1<u></u><u></u></span></pre>
<pre><span lang="EN-US">make[1]: *** [src/CMakeFiles/cl.dir/all] Error 2<u></u><u></u></span></pre><pre><span lang="EN-US">make: *** [all] Error 2<u></u><u></u></span></pre><pre style="word-wrap:break-word;white-space:pre-wrap">
<span lang="EN-US"><u></u> <u></u></span></pre><pre><span lang="EN-US"> <u></u><u></u></span></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><span lang="EN-US">Any ideas?<u></u><u></u></span></pre><pre style="word-wrap:break-word;white-space:pre-wrap">
<span lang="EN-US"><u></u> <u></u></span></pre><pre><span lang="EN-US"> <u></u><u></u></span></pre><pre><span lang="EN-US"> <u></u><u></u></span></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><span lang="EN-US">Thanks!<u></u><u></u></span></pre>
<pre style="word-wrap:break-word;white-space:pre-wrap"><span lang="EN-US">--<u></u><u></u></span></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><span lang="EN-US"> <u></u><u></u></span></pre><pre><span lang="EN-US"><u></u> <u></u></span></pre>
<pre><span lang="EN-US">Ian<u></u><u></u></span></pre></div></div></div></div></div></div></blockquote></div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div></div></div></div></div></div></blockquote>
</div><br></div>