[PATCH] D19932: [OpenCL] Add to_{global|local|private} builtin functions.

Liu, Yaxun (Sam) via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 23 11:08:43 PDT 2016

The returned pointer should point to the same pointee type as the argument. Header file cannot guarantee that.


-----Original Message-----
From: Jan Vesely [mailto:jan.vesely at rutgers.edu] 
Sent: Wednesday, June 22, 2016 10:20 PM
To: Liu, Yaxun (Sam) <Yaxun.Liu at amd.com>; xiulipan at outlook.com; anastasia.stulova at arm.com
Cc: jan.vesely at rutgers.edu; Stellard, Thomas <Tom.Stellard at amd.com>; cfe-commits at lists.llvm.org
Subject: Re: [PATCH] D19932: [OpenCL] Add to_{global|local|private} builtin functions.

jvesely added a subscriber: jvesely.
jvesely added a comment.

Why couldn't this be declared in CLC header? There are multiple instances of declaring functions for all available types in libclc (see for example convert functions in convert.h).



More information about the cfe-commits mailing list