This section highlights some of the key behavioral differences between HLS and Vitis™ HLS. These key differences can be the source of big quality of results (QoR) differences and therefore, it is necessary to understand these key differences when comparing QoR between different versions of HLS tools. AMD recommends reviewing this section before using Vitis HLS.
__VITIS_HLS__predefined macro to encapsulate source code written specifically for use in that tool. Use
#if defined( __VITIS_HLS__)type pre-processor declarations to encapsulate tool specific code.