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
Have you try 3.14.52?
Similar problem, Linux version 3.14.61. Running Yocto included gpu-viv samples. For example:
/opt/viv_samples/cl11/UnitTest/clinfo
gives:
CL_PLATFORM_NAME: Vivante OpenCL Platform
CL_PLATFORM_PROFILE: EMBEDDED_PROFILE
CL_PLATFORM_VERSION: OpenCL 1.1
CL_PLATFORM_EXTENSIONS: cl_khr_icd
and then:
Error # -30 at line 227 in file main.cpp
(meaning something like "resource not available").
Same for other openCL examples.
What could be the problem?