<div dir="ltr"><div>Hi Gary,</div><div>><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px">Can you send a (small as possible) example that creates this error?</span></div><div><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px">I have attached the sample ( not sure , mail server will be stripped away)  but it is similar to the </span><span style="font-size:13px;font-family:"Helvetica Neue""><span class="gmail-Apple-converted-space"> </span></span><a href="https://github.com/openjdk/babylon/blob/code-reflection/hat/examples/squares/src/main/java/squares/Main.java" target="_blank" style="font-size:13px;font-family:"Helvetica Neue"">Squares sample</a><span style="font-size:13px;font-family:"Helvetica Neue""><span class="gmail-Apple-converted-space"> .</span></span></div><div><span style="font-size:13px;font-family:"Helvetica Neue""><span class="gmail-Apple-converted-space"><br></span></span></div><div><font size="4"><span style="font-family:"Helvetica Neue""><span class="gmail-Apple-converted-space">For error 3 (I</span></span><span style="font-family:"Helvetica Neue"">mplicit declaration of function 'squareit' is invalid in OpenCL</span><span style="font-family:"Helvetica Neue""> ), I am wondering whether </span></font><span style="font-family:"Helvetica Neue";font-size:large"> </span><span style="font-family:"Helvetica Neue";font-size:large">we can check that all functions that </span><span style="font-family:"Helvetica Neue";font-size:large">are reachable from the kernel function is </span><font size="4">annotated</font><span style="font-family:"Helvetica Neue";font-size:large"> with @Reflect  using </span><font size="4"><span style="font-family:"Helvetica Neue""> the </span></font><span style="font-family:"Helvetica Neue";font-size:large">KernelGraph, </span><span style="font-family:"Helvetica Neue";font-size:large">and if not fail early with a Java exception rather than the current error.</span></div><div><font size="4"><span style="font-family:"Helvetica Neue""><br></span></font></div><div><span style="font-family:"Helvetica Neue";font-size:13px">></span><span class="gmail-Apple-converted-space" style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px"> </span><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px">You may have pulled Babylon and HAT during a sequence of checkins.</span></div><div><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px">Yes, mine is 2-3 weeks old. </span></div><div><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px">></span><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px">.</span><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px">></span><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px">If we follow all the rules above (and the ones I have forgotten to include ;) ) you shoduring see this.</span></div><div><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px">Sorry, this part, I have not understood completely.  Even if I use the latest Babylon JDK, all errors should stay the same right?</span></div><div><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px"><br></span></div><div><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px">Best regards,</span></div><div><span style="color:rgb(0,0,0);font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif;font-size:16px">Nadeesh</span></div><div><span style="font-family:"Helvetica Neue";font-size:13px"><br></span></div></div>