[Libclc-dev] About the recently added atomic
j.ketema at imperial.ac.uk
Wed Sep 17 08:12:41 PDT 2014
I was eye balling the code.
On 17 Sep 2014, at 16:11, Aaron Watry <awatry at gmail.com> wrote:
> Yeah, I see that now... I'd prefer to undef them in atomic_decl.inc,
> but there's usages of the macros in atomic_cmpxchg and atomic_xchg.cl
> I'll write up a patch to undef them in the individual header files.
> Also, just because I'm curious... Do you have some compiler warnings
> that are pointing this out, or was it just from eyeballing the code?
> On Wed, Sep 17, 2014 at 9:41 AM, Jeroen Ketema <j.ketema at imperial.ac.uk> wrote:
>> Hi all,
>> Looking at the header files of the recently added atomic, I see that most of them include atomic_decl.inc. This file defines a number of macros (__CLC_DECLARE_ATOMIC_ADDRSPACE and __CLC_DECLARE_ATOMIC) that are never undefined later. Maybe the should be undefined (either at the end of atomic_decl.inc itself or in the files that include them).
>> Libclc-dev mailing list
>> Libclc-dev at pcc.me.uk
More information about the Libclc-dev