<div dir="ltr">Also, i have another question. I need SPIRV metrics to make abstractions for a project, because I am using iteratively flags for evaluating different changes, in different order, so I need to know how the code have change, and I can see that "change" with their metrics.<div><br><div>There is something similar with the llvm opt command: the use of the flag '-analyze' gives you the metric of the bytecode used as input. I need something equivalent but for SPIRV files.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mar., 5 nov. 2019 a las 11:09, Enrique González (<<a href="mailto:enrike.gonzalez.98@gmail.com">enrike.gonzalez.98@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>I have a couple of questions of SPIR-V implementation for OpenCL.</div><div><br></div><div>The first one is about the tool spirv-opt from the project SPIRV-TOOLS. When you use that tool like "spirv-opt test.spv -o test.spv", it changes something at the file or it does not do anything by not using any flag? I think it is like a "No action" flag but I am not 100% sure about that.</div><div><br></div><div>The second doubt is about C++ with OpenCL. I have seen that at a C host code, if you want to compile a SPIRV file instead of the source code, you can use createProgramWithIL. I am trying now to use something similar at C++ but I do notfind anything.</div><div><br></div><div><br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Un saludo<div><br></div><div>Enrique González</div></div>