On Dec 6, 2010, at 12:36 PM, Peter Collingbourne wrote:

>> Should this go in clang/lib/Headers?  When you do a make install, you'd want 
>> to install what-this-grows-into, right?
> 
> Hi Chris,
> 
> This header is for testing purposes only.  It is a partial replacement
> for the set of declarations and macro definitions that you would find
> in a full CUDA implementation, and is only meant to help the semantic
> analyser understand our test CUDA code.  In a non-test scenario the
> CUDA implementation would provide these declarations and there would
> be no need for our test header file.
> 
> For example, to semantically analyse a kernel call expression we
> require that there be an earlier declaration of a function with a
> specific name which we use to analyse the execution configuration (the
> stuff between the <<<...>>>).  When the support for semantic analysis
> of kernel calls is added this header will contain a declaration for
> this function to support testing of semantic analysis of kernel calls.

Ok, that seems fine to me,

-Chris
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to