[Libclc-dev] Questions about atomics

Jeroen Ketema j.ketema at imperial.ac.uk
Fri Sep 6 18:54:23 PDT 2013


Hi,

I was looking at the code for atomics that was committed in the last two days and I'm wondering about two things. First, is there a reason that atomic_sub is not introduced in the r600 code (atomic_add is there)? Second, why is atomic_add only defined as the generic @__clc_atomic_add_addr… in the r600 code (since @__clc_atomic_add_addr… occurs in the generic code I expect the definition of atomic_add to be there too)?

Thanks,

 Jeroen





More information about the Libclc-dev mailing list