[llvm-dev] SPIR-V questions

Enrique González via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 5 02:09:20 PST 2019


Dear all,

I have a couple of questions of SPIR-V implementation for OpenCL.

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.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191105/2fae44c2/attachment.html>


More information about the llvm-dev mailing list