How to implement OpenCL atomic_inc on i.MX6Q

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to implement OpenCL atomic_inc on i.MX6Q

1,323 次查看
yanfengliu
Contributor III

It seems that the OpenCL support on i.MX6Q (at least with 3.10.17 BSP)  doesn't have the built-in atomic functions such as atomic_inc() etc.

Are there ways to implement that function on i.MX6Q?

标签 (1)
4 回复数

1,011 次查看
jamesbone
NXP TechSupport
NXP TechSupport

Hello Yanfeng,

The atomic functions are currently disable from OpenCL compiler, we are working to have another version of the driver of the GPU to support this functions in the near future.  I do not have a date to provide but this are part of the pipeline.

0 项奖励

1,011 次查看
heyitan
Contributor II

Hello jamesbone,

           I just have met the same problem when i  tried to build an application to achieve hough line transform with opencl, but "atomic_add/inc" was not supported, is there recent update support this function?

0 项奖励

1,011 次查看
yanfengliu
Contributor III

Thanks for the updates. I will then use OpenCL for cases where such function is not needed with current version. :smileyhappy:

1,011 次查看
heyitan
Contributor II

I just have met the same problem when i  tried to build an application to achieve hough line transform with opencl, but "atomic_add/inc" was not supported, is there recent update support this function?

0 项奖励