How to implement OpenCL atomic_inc on i.MX6Q

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

How to implement OpenCL atomic_inc on i.MX6Q

2,425件の閲覧回数
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 返答(返信)

2,113件の閲覧回数
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 件の賞賛
返信

2,113件の閲覧回数
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 件の賞賛
返信

2,113件の閲覧回数
yanfengliu
Contributor III

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

2,113件の閲覧回数
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 件の賞賛
返信