i.MX6Q OpenCL Galcore Driver Segfault

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6Q OpenCL Galcore Driver Segfault

1,117 Views
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

Labels (2)
Tags (1)
0 Kudos
4 Replies

1,101 Views
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 Kudos

1,095 Views
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 Kudos

1,089 Views
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 Kudos

1,086 Views
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 Kudos