i.MX6Q OpenCL Galcore Driver Segfault

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX6Q OpenCL Galcore Driver Segfault

1,309 次查看
curtis1
Contributor II

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

标签 (2)
标记 (1)
0 项奖励
回复
4 回复数

1,293 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

 

0 项奖励
回复

1,287 次查看
curtis1
Contributor II

Thank you for that information, but it does not address my specific issue.
My issue seems to be limited to the kernel galcore driver which segfaults on any call to libOpenCL.

0 项奖励
回复

1,281 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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.

 

0 项奖励
回复

1,278 次查看
curtis1
Contributor II

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?

0 项奖励
回复