libclc was defining and undefing GENTYPE and several other macros with common names in its header files. This was preventing applications from defining macros with identical names as command line arguments to the compiler, because the definitions in the header files were masking the macros defined as compiler arguements. Reviewed-by: Aaron Watry <awatry@gmail.com> llvm-svn: 185838
12 lines
221 B
Common Lisp
12 lines
221 B
Common Lisp
#include <clc/clc.h>
|
|
|
|
#define __CLC_BODY <max.inc>
|
|
#include <clc/integer/gentype.inc>
|
|
|
|
#ifdef cl_khr_fp64
|
|
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
|
|
#endif
|
|
|
|
#define __CLC_BODY <max.inc>
|
|
#include <clc/math/gentype.inc>
|