spectral

atomic_add & float4

Discussion created by spectral on Sep 5, 2011
Latest reply on Sep 6, 2011 by rick.weber

Hi,

I have an array of float4 values and I would like to use atomic_add with.

The problem is that it is illegal to get the address of .x .y .z of the float4 and so it is impossible to use atomic_add.

 

Is there a solution ?

Thanks

Outcomes