<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link=blue vlink=purple><div class=WordSection1><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.<o:p></o:p></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.<o:p></o:p></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.<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></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=linux.intel.com@lists.freedesktop.org [mailto:beignet-bounces+zhigang.gong=linux.intel.com@lists.freedesktop.org] <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> beignet@lists.freedesktop.org<br><b>Subject:</b> Re: [Beignet] (Still) having issues building beignet.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></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:<o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>....<o:p></o:p></span></p></div><div><div><p class=MsoNormal><span lang=EN-US>[CL_RGBx CL_UNORM_INT_101010]<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>run-time flat address space failed<o:p></o:p></span></p></div></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>and exits.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></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.<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></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!<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>Best,<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><span lang=EN-US>--<br>Ian<o:p></o:p></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:<o:p></o:p></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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a name="140947f0d9f0b6cc__MailEndCompose"><span lang=EN-US style='font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span></a><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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><o:p></o:p></span></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US> <o:p></o:p></span></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US><a href="http://itdaniher.com/p?nMoD" target="_blank">http://itdaniher.com/p?nMoD</a><o:p></o:p></span></p><div><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US>[ 22%] Built target gbe<o:p></o:p></span></pre><pre><span lang=EN-US>[ 22%] Building C object src/CMakeFiles/cl.dir/cl_khr_icd.c.o<o:p></o:p></span></pre><pre><span lang=EN-US>In file included from /home/it/Downloads/beignet/src/cl_khr_icd.c:18:0:<o:p></o:p></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><o:p></o:p></span></pre><pre><span lang=EN-US>     const cl_device_partition_property * /* properties */,<o:p></o:p></span></pre><pre><span lang=EN-US>     ^<o:p></o:p></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><o:p></o:p></span></pre><pre><span lang=EN-US>   ) CL_API_SUFFIX__VERSION_1_2;<o:p></o:p></span></pre><pre><span lang=EN-US>     ^<o:p></o:p></span></pre><pre><span lang=EN-US>make[2]: *** [src/CMakeFiles/cl.dir/cl_khr_icd.c.o] Error 1<o:p></o:p></span></pre><pre><span lang=EN-US>make[1]: *** [src/CMakeFiles/cl.dir/all] Error 2<o:p></o:p></span></pre><pre><span lang=EN-US>make: *** [all] Error 2<o:p></o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US><o:p> </o:p></span></pre><pre><span lang=EN-US> <o:p></o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US>Any ideas?<o:p></o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US><o:p> </o:p></span></pre><pre><span lang=EN-US> <o:p></o:p></span></pre><pre><span lang=EN-US> <o:p></o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US>Thanks!<o:p></o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US>--<o:p></o:p></span></pre><pre style='word-wrap:break-word;white-space:pre-wrap'><span lang=EN-US> <o:p></o:p></span></pre><pre><span lang=EN-US><o:p> </o:p></span></pre><pre><span lang=EN-US>Ian<o:p></o:p></span></pre></div></div></div></div></div></div></blockquote></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></div></div></body></html>