1 /*========================== begin_copyright_notice ============================ 2 3 Copyright (C) 2021 Intel Corporation 4 5 SPDX-License-Identifier: MIT 6 7 ============================= end_copyright_notice ===========================*/ 8 9 #ifndef VC_BIF_TOOLS_H 10 #define VC_BIF_TOOLS_H 11 12 namespace vc { 13 namespace bif { 14 15 // Whether VC BiF generation is disabled. disabled()16inline constexpr bool disabled() { 17 #ifdef IGC_VC_DISABLE_BIF 18 return true; 19 #else // IGC_VC_DISABLE_BIF 20 return false; 21 #endif // IGC_VC_DISABLE_BIF 22 } 23 24 } // namespace bif 25 } // namespace vc 26 27 #endif 28