Forum Discussion
beiwang2003
New Contributor
5 years agoCompiling error: Couldn't open *.bc.xml for read!
I was trying to compile multiple kernel files. Here are the steps I followed:
1. aoc -c kernel1.cl kernel2.cl
2. aoc -rtl -o allKernels.aocr kernel1.aoco kernel2.aoco
3. aoc allKernels.aocr
...
beiwang2003
New Contributor
5 years agoNow I am able to compile it successfully w/o the -o option. Here are the steps I followed:
1. aoc -c kernel1.cl kernel2.cl
2. aoc -rtl kernel1.cl kernel2.cl
3. aoc kernel2.aocr
It seems that -o option in the second step only renames the directory, but not the required file names within it (e.g., *.bc.xml etc). Now the question is how to use the -o option correctly for aoc -rtl so that both directory and file names are renamed?
Thanks