Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi,
I believe that ALTERA_CL is a preprocessor definition that aoc will automatically set for you upon compilation. Also, __attribute__(...) should be ignored by a vendor's OpenCL compiler if it is not understood, maybe generate a compile warning, but not a compile error. Are there any other preprocessor definitions that you have in mind? Cheers!