clCreateKernelsInProgram

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
技术社区计划将于12月21日至1月5日期间进行升级,升级期间暂时无法发布新问题。

clCreateKernelsInProgram

2,812 次查看
1019599657
Contributor III

Hi everyone,

I use opencl to detect object with yolo. And when i use API "clCreateKernelsInProgram" , i find it will stuck . 

My kernel num is 15. What can i do to solve it?

0 项奖励
回复
3 回复数

2,740 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Li,

OpenCL is 2.1v and You have to use openCV 4.2, take in mind that in opencl 3.1v doesn´t have the Softmax function.

Regards

0 项奖励
回复

2,740 次查看
1019599657
Contributor III

Hi,

i use the version of opencl is 1.2v , and i dont use opencv.

And i fix the kernel api. When i run it with yolov3-tiny. it use about 170s.

Why it so slow? Is the reason of my code or GPU?

Thanks. 

0 项奖励
回复

2,740 次查看
1019599657
Contributor III

Hi everyone:

By testing one by one , i found that my kernel function "softmax" has some error , I cannot clCreatKernel it .And while i delete some line likes  "vstore16(localInput[i], 0, &x[i * 16]);" , it can create suceess ,How can you give me some help?

Thank very much.

Looking forward to your reply!

0 项奖励
回复