OpenCL not working in Linux 3.14.28 version

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

OpenCL not working in Linux 3.14.28 version

953件の閲覧回数
mohamedsarjoond
Contributor III

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

タグ(2)
0 件の賞賛
返信
2 返答(返信)

636件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

Have you try 3.14.52?

0 件の賞賛
返信

636件の閲覧回数
hiromiyokoo
Contributor II

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?

0 件の賞賛
返信