On Nov 30, 2010, at 7:15 PM, Peter Collingbourne wrote: > Author: pcc > Date: Tue Nov 30 21:15:31 2010 > New Revision: 120545 > > URL: http://llvm.org/viewvc/llvm-project?rev=120545&view=rev > Log: > Basic, Sema: add support for CUDA location attributes
Hi Peter, > +++ cfe/trunk/test/SemaCUDA/cuda.h Tue Nov 30 21:15:31 2010 > @@ -0,0 +1,7 @@ > +/* Minimal declarations for CUDA support. Testing purposes only. */ > + > +#define __constant__ __attribute__((constant)) > +#define __device__ __attribute__((device)) > +#define __global__ __attribute__((global)) > +#define __host__ __attribute__((host)) > +#define __shared__ __attribute__((shared)) Should this go in clang/lib/Headers? When you do a make install, you'd want to install what-this-grows-into, right? -Chris _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
