Hi everbody! To establish and compile my OpenCL projects for imx8QM MEK boards, I search Vivante IDE on nxp.com according to the Char 12 of i.MX_Graphics_User's_Guide.pdf, but there’s no Vivante IDE found on nxp.com. I download VivanteVTK-v6.2.4.p4.1.7.12.tgz that includes vcCompiler and vCompiler as Vivante IDE does. When I run ./vcCompiler kernel.cl, it returns A ERROR massage.
ERROR: Cannot find gpu config file viv_gpu.config. Please check and use "-f configFile" to specify the file.
But there isn’t any viv_gpu.config on my disk.
I suppose the document should precisely tell us how to compile a OpenCl project successfully.
1. How do I use the VivanteVTK ? Or where can I download the Vivante IDE and VivanteIDE User Guide from?
2. Where can I get a viv_gpu.config file for vcCompiler when I only find VivanteVTK download?
3. If a kernel.cl file compiled into a kernel.clgcSL file successfully, How to connect it with the the host program. Should I write
“program = CreateProgram(context, device, "kernel.cl")”
or
“program = CreateProgram(context, device, "kernel.clgcSL")”?