Warning, /include/clang/Basic/OpenCLExtensionTypes.def is written in an unsupported language. File is not indexed.
0001 //===-- OpenCLExtensionTypes.def - Metadata about BuiltinTypes --*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 // This file extends builtin types database with OpenCL extension types.
0009 // Custom code should define this macro:
0010 // EXT_OPAQUE_TYPE(Name, Id, Ext)
0011
0012 #ifdef EXT_OPAQUE_TYPE
0013
0014 #ifndef INTEL_SUBGROUP_AVC_TYPE
0015 #define INTEL_SUBGROUP_AVC_TYPE(Name, Id) \
0016 EXT_OPAQUE_TYPE(intel_sub_group_avc_##Name, OCLIntelSubgroupAVC##Id, \
0017 cl_intel_device_side_avc_motion_estimation)
0018 #endif
0019
0020 #endif
0021
0022 #ifdef INTEL_SUBGROUP_AVC_TYPE
0023 INTEL_SUBGROUP_AVC_TYPE(mce_payload_t, McePayload)
0024 INTEL_SUBGROUP_AVC_TYPE(ime_payload_t, ImePayload)
0025 INTEL_SUBGROUP_AVC_TYPE(ref_payload_t, RefPayload)
0026 INTEL_SUBGROUP_AVC_TYPE(sic_payload_t, SicPayload)
0027 INTEL_SUBGROUP_AVC_TYPE(mce_result_t, MceResult)
0028 INTEL_SUBGROUP_AVC_TYPE(ime_result_t, ImeResult)
0029 INTEL_SUBGROUP_AVC_TYPE(ref_result_t, RefResult)
0030 INTEL_SUBGROUP_AVC_TYPE(sic_result_t, SicResult)
0031 INTEL_SUBGROUP_AVC_TYPE(ime_result_single_reference_streamout_t, ImeResultSingleReferenceStreamout)
0032 INTEL_SUBGROUP_AVC_TYPE(ime_result_dual_reference_streamout_t, ImeResultDualReferenceStreamout)
0033 INTEL_SUBGROUP_AVC_TYPE(ime_single_reference_streamin_t, ImeSingleReferenceStreamin)
0034 INTEL_SUBGROUP_AVC_TYPE(ime_dual_reference_streamin_t, ImeDualReferenceStreamin)
0035
0036 #undef INTEL_SUBGROUP_AVC_TYPE
0037 #endif // INTEL_SUBGROUP_AVC_TYPE
0038
0039 #undef EXT_OPAQUE_TYPE
0040