Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- Hi, 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! --- Quote End --- No I think ALTERA_CL will be sufficient for my needs thankyou, I mainly what to have the FPGA and GPU optimised code in the same source file. Thank you