AnsweredAssumed Answered

OpenCL not working in Linux 3.14.28 version

Question asked by Mohamed Sarjoondeen on Mar 17, 2016
Latest reply on Oct 11, 2016 by Roberto Mainetti

Dear team,

 

A sample helloworld OpenCL application was tested in iMx6 platform for linux kernel 3.10.17 and in 3.14.28 versions

I have attached the application

 

In 3.10.17:

When this application was ran in 3.10.17 it ran successfully without any error.

 

Linux 3.10.17

The same application ran in 3.14.28 in order to see whether performance vice improvement is there. But it didn't ran. it showed segmentation fault at line no 58 (clGetPlatformIDs(1, &cpPlatform, NULL)

 

What could be causing this issue.

I saw in Community that 3.14.28 has GPU driver upgraded so through to give a try but it didn't went well

Any suggestions could be greatly helpful

 

we used poky 1.5.1 cross compiler for compilation

 

Thanks in advance,

Sarjoondeen.

Original Attachment has been moved to: helloworld.c.zip

Outcomes