Home
last modified time | relevance | path

Searched refs:CL_MAKE_VERSION (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/clover/core/
Ddevice.cpp56 cl_version version = CL_MAKE_VERSION(0, 0, 0); in get_highest_supported_version()
79 dev.clc_version < CL_MAKE_VERSION(1, 0, 0) || in get_highest_supported_version()
88 version = CL_MAKE_VERSION(1, 0, 0); in get_highest_supported_version()
103 dev.clc_version < CL_MAKE_VERSION(1, 1, 0)) { in get_highest_supported_version()
106 version = CL_MAKE_VERSION(1, 1, 0); in get_highest_supported_version()
110 dev.clc_version < CL_MAKE_VERSION(1, 2, 0) || in get_highest_supported_version()
117 version = CL_MAKE_VERSION(1, 2, 0); in get_highest_supported_version()
133 dev.clc_version < CL_MAKE_VERSION(3, 0, 0) || in get_highest_supported_version()
139 version = CL_MAKE_VERSION(3, 0, 0); in get_highest_supported_version()
155 clc_version = CL_MAKE_VERSION(major, minor, 0); in device()
[all …]
Dplatform.cpp34 version = CL_MAKE_VERSION(major, minor, 0); in platform()
52 vec.push_back( cl_name_version{ CL_MAKE_VERSION(1, 0, 0), "cl_khr_icd" } ); in supported_extensions()
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
Dinvocation.cpp78 static const cl_version ANY_VERSION = CL_MAKE_VERSION(9, 9, 9);
80 CL_MAKE_VERSION(1, 1, 0),
81 CL_MAKE_VERSION(1, 2, 0),
82 CL_MAKE_VERSION(2, 0, 0),
83 CL_MAKE_VERSION(2, 1, 0),
84 CL_MAKE_VERSION(2, 2, 0),
85 CL_MAKE_VERSION(3, 0, 0),
94 { CL_MAKE_VERSION(1, 0, 0), clang::LangStandard::lang_opencl10},
95 { CL_MAKE_VERSION(1, 1, 0), clang::LangStandard::lang_opencl11},
96 { CL_MAKE_VERSION(1, 2, 0), clang::LangStandard::lang_opencl12},
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dcl_utils.cpp113 if (extensions.version < CL_MAKE_VERSION(1, 1, 0)) in IsValidImageFormat()
124 if (extensions.version < CL_MAKE_VERSION(2, 0, 0)) in IsValidImageFormat()
173 if (extensions.version < CL_MAKE_VERSION(2, 1, 0) || in IsValidImageFormat()
DCLDevice.h98 return mInfo.version >= CL_MAKE_VERSION(major, minor, 0u); in isVersionOrNewer()
DCLPlatform.h117 return mInfo.version >= CL_MAKE_VERSION(major, minor, 0u); in isVersionOrNewer()
DvalidationCL.cpp17 if (version < CL_MAKE_VERSION(major##u, minor##u, 0u)) \
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
DCLPlatformCL.cpp177 if (version >= CL_MAKE_VERSION(2, 1, 0) && in createInfo()
186 if (version < CL_MAKE_VERSION(3, 0, 0)) in createInfo()
227 if (info.version >= CL_MAKE_VERSION(1, 1, 0) && in createInfo()
241 if (info.version >= CL_MAKE_VERSION(1, 2, 0) && in createInfo()
262 if (info.version >= CL_MAKE_VERSION(2, 0, 0) && in createInfo()
281 if (info.version >= CL_MAKE_VERSION(2, 1, 0) && in createInfo()
294 if (info.version >= CL_MAKE_VERSION(2, 2, 0) && in createInfo()
302 if (info.version >= CL_MAKE_VERSION(3, 0, 0) && in createInfo()
DCLDeviceCL.cpp133 if (info.version >= CL_MAKE_VERSION(1, 2, 0)) in createInfo()
150 if (info.version >= CL_MAKE_VERSION(2, 0, 0) && in createInfo()
159 if (info.version >= CL_MAKE_VERSION(2, 1, 0)) in createInfo()
168 if (info.version >= CL_MAKE_VERSION(3, 0, 0) && in createInfo()
Dcl_util.cpp34 return CL_MAKE_VERSION(static_cast<cl_uint>(major), static_cast<cl_uint>(minor), 0); in ExtractCLVersion()
/third_party/mesa3d/src/gallium/frontends/clover/spirv/
Dinvocation.cpp732 if (opencl_version == CL_MAKE_VERSION(3, 0, 0)) { in convert_opencl_version_to_target_env()
734 } else if (opencl_version == CL_MAKE_VERSION(2, 2, 0)) { in convert_opencl_version_to_target_env()
736 } else if (opencl_version == CL_MAKE_VERSION(2, 1, 0)) { in convert_opencl_version_to_target_env()
738 } else if (opencl_version == CL_MAKE_VERSION(2, 0, 0)) { in convert_opencl_version_to_target_env()
740 } else if (opencl_version == CL_MAKE_VERSION(1, 2, 0) || in convert_opencl_version_to_target_env()
741 opencl_version == CL_MAKE_VERSION(1, 1, 0) || in convert_opencl_version_to_target_env()
742 opencl_version == CL_MAKE_VERSION(1, 0, 0)) { in convert_opencl_version_to_target_env()
943 return { cl_name_version { CL_MAKE_VERSION(1u, 0u, 0u), "SPIR-V" } }; in supported_versions()
948 return CL_MAKE_VERSION((version >> 16u) & 0xff, in to_opencl_version_encoding()
1011 return CL_MAKE_VERSION(0u, 0u, 0u); in to_opencl_version_encoding()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DCLPlatformVk.cpp45 cl_name_version{CL_MAKE_VERSION(1, 0, 0), "cl_khr_icd"}, in createInfo()
46 cl_name_version{CL_MAKE_VERSION(1, 0, 0), "cl_khr_extended_versioning"}}; in createInfo()
DCLPlatformVk.h47 return CL_MAKE_VERSION(1, 2, 0); in GetVersion()
/third_party/skia/third_party/externals/angle2/include/CL/
Dcl.h935 #define CL_MAKE_VERSION(major, minor, patch) \ macro
/third_party/mesa3d/include/CL/
Dcl.h933 #define CL_MAKE_VERSION(major, minor, patch) \ macro
/third_party/opencl-headers/CL/
Dcl.h935 #define CL_MAKE_VERSION(major, minor, patch) \ macro