Hi again,<div><br></div><div>Does anyone know any solution for this issue? It's a key point in the program I'm writing now...</div><div><br></div><div>Thank you so much again.<br><br><div class="gmail_quote">El 16 de noviembre de 2011 10:33, Jorge Fernández Fabeiro <span dir="ltr"><<a href="mailto:fabeirojorge@gmail.com">fabeirojorge@gmail.com</a>></span> escribió:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<div><br></div><div>I'm trying to visit an OpenCL kernal source code using Clang library in order to do some source-to-source transformations in it. Now, my program is able to visit and transform C standard code, but when I pass into it some .cl file, it simply does nothing. Of course, I have installed OpenCL in the system I'm using, even I've tested it compiling and executing some sample programs. </div>


<div><br></div><div>I've been searching the Internet for a while and I've found some references to a way for making Clang compatible with OpenCL, but it only applies when you're using Clang as a tool (it consist only on passing "-x cl" to the command-line execution), not as a library included in another program. I've also tried to add the path to OpenCL headers to my HeaderSearch (creating an instance of HeaderSearchOptions, adding the path to it with AddPath and then applying the changes with ApplyHeaderSearchOptions).</div>


<div><br></div><div>Is there any other solution to this, or I'm right but I'm forgetting any step in the process?</div><div><br></div><div>Thank you so much in advance,</div><div><br></div><div>Jorge.</div>
</blockquote></div><br></div>