> CUDA? In any case, I don't see how the restriction helps users, and the 
> attribute at the IR level has a well-defined meaning regardless. If a user 
> were to have a use case, they'd simply find the restriction arbitrary and 
> frustrating.

Yes, CUDA was already considered as well. I just think that compilers should 
help to reduce amount of erroneous or meaningless use cases. That's one of the 
reasons to have language options for the attributes. But I don't feel strongly 
about this particular case anyways. So let's make it language independent then. 
;)

Anastasia 
 
-----Original Message-----
From: Hal Finkel [mailto:hfin...@anl.gov] 
Sent: 10 May 2016 00:33
To: Anastasia Stulova
Cc: nd; Clang Commits; Matt Arsenault; Ettore Speziale; Aaron Ballman
Subject: Re: [Clang] Convergent Attribute

----- Original Message -----
> From: "Anastasia Stulova via cfe-commits" <cfe-commits@lists.llvm.org>
> To: "Matt Arsenault" <matthew.arsena...@amd.com>, "Ettore Speziale" 
> <speziale.ett...@gmail.com>, "Aaron Ballman"
> <aa...@aaronballman.com>
> Cc: "nd" <n...@arm.com>, "Clang Commits" <cfe-commits@lists.llvm.org>
> Sent: Monday, May 9, 2016 12:39:19 PM
> Subject: RE: [Clang] Convergent Attribute
> 
> Since it's not a part of any official spec we could of course make it 
> accepted with anything.
> 
> Just out of curiosity what other programming models supported by Clang 
> do you think this attribute would be useful for?
> 
> Anastasia
> 
> -----Original Message-----
> From: Matt Arsenault [mailto:matthew.arsena...@amd.com]
> Sent: 07 May 2016 00:37
> To: Anastasia Stulova; Ettore Speziale; Aaron Ballman
> Cc: nd; Clang Commits
> Subject: Re: [Clang] Convergent Attribute
> 
> On 05/06/2016 12:11 PM, Anastasia Stulova via cfe-commits wrote:
> > I was just wondering whether it would make sense to restrict the 
> > usage of the attribute to OpenCL language i.e. to add  "let LangOpts 
> > = [OpenCL];" in the attribute definition.
> This seems to be a pointless arbitrary restriction to me
> 
> -Matt
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
> 

--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to