Hello,
I am developing a product that uses the i.MX6Q and I intend to make use of OpenCL to accelerate some computationally expensive algorithms.
When trying to run any OpenCL code (e.g. line 13 in opencl_test.c) galcore segfaults; see attached strace log and dmesg.txt.
Additional notes: 4.14.78 kernel
Any guidance is greatly appreciated.
-- Curtis
Hello curtis1,
Here you can see a overview of OpenCL in i.MX6
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/OpenCL-Hello-World/ta-p/1113358
Regards
Segmentation fault means problem with memory, is probable that you don´t include the galcore library correctly that the reason I send you that page.
The test program was compiled cleanly with : gcc opencl_test.c -lGAL -lOpenCL -o opencl_test
The segfault is occuring in the galcore kernel module as indicated in the dmesg log.
Are there any specific debug steps for diagnosing issues related to galcore?