How to implement OpenCL atomic_inc on i.MX6Q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to implement OpenCL atomic_inc on i.MX6Q

1,211 Views
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?

Labels (1)
4 Replies

899 Views
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 Kudos

899 Views
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 Kudos

899 Views
yanfengliu
Contributor III

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

899 Views
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 Kudos