I have two opencl source files. a.cl and b.cl I can compile them both into four spirv's. Is it possible to compile both into two spirv's? I have tried to compile them into .ir's then link them into one .ir and then build again to -spirv32="end.spirv" but that didn't work...
Thanks for the question.
Can you provide:
- full command line(s) suggestions that coincide with your goals?
- the full command line(s) of the case that worked.
- the full command line(s) and output of the case that didn't work? Can you show any errors encountered?
Please see this recommendation here:
...This would help determine how to proceed. Thanks.