Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to OpenCL v2024.10.24 #28275

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion src/plugins/intel_gpu/src/runtime/ocl/ocl_ext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
#include <CL/cl2.hpp>
#endif

#ifndef CL_HPP_PARAM_NAME_CL_INTEL_UNIFIED_SHARED_MEMORY_
#define OPENVINO_CLHPP_HEADERS_ARE_OLDER_THAN_V2024_10_24
#endif

#include <CL/cl_ext.h>

#ifdef _WIN32
Expand Down Expand Up @@ -45,12 +49,16 @@ typedef cl_va_api_device_set_intel cl_device_set_intel;

#endif // cl_intel_required_subgroup_size

#ifdef OPENVINO_CLHPP_HEADERS_ARE_OLDER_THAN_V2024_10_24

namespace cl {
namespace detail {
CL_HPP_DECLARE_PARAM_TRAITS_(cl_device_info, CL_DEVICE_SUB_GROUP_SIZES_INTEL, vector<size_type>)
CL_HPP_DECLARE_PARAM_TRAITS_(cl_device_info, CL_DEVICE_SUB_GROUP_SIZES_INTEL, cl::vector<size_type>)
} // namespace detail
} // namespace cl

#endif // OPENVINO_CLHPP_HEADERS_ARE_OLDER_THAN_V2024_10_24

/***************************************************************
* cl_intel_command_queue_families
***************************************************************/
Expand Down Expand Up @@ -260,11 +268,15 @@ typedef cl_bitfield cl_device_feature_capabilities_intel;

#endif // cl_intel_device_attribute_query

#ifndef CL_HPP_PARAM_NAME_CL_INTEL_COMMAND_QUEUE_FAMILIES_
#define CL_HPP_PARAM_NAME_CL_INTEL_COMMAND_QUEUE_FAMILIES_(F) \
F(cl_device_info, CL_DEVICE_QUEUE_FAMILY_PROPERTIES_INTEL, cl::vector<cl_queue_family_properties_intel>) \
\
F(cl_command_queue_info, CL_QUEUE_FAMILY_INTEL, cl_uint) \
F(cl_command_queue_info, CL_QUEUE_INDEX_INTEL, cl_uint)
#endif // CL_HPP_PARAM_NAME_CL_INTEL_COMMAND_QUEUE_FAMILIES_

#ifdef OPENVINO_CLHPP_HEADERS_ARE_OLDER_THAN_V2024_10_24

namespace cl {
namespace detail {
Expand All @@ -279,6 +291,8 @@ CL_HPP_PARAM_NAME_CL_INTEL_COMMAND_QUEUE_FAMILIES_(CL_HPP_DECLARE_PARAM_TRAITS_)
} // namespace detail
} // namespace cl

#endif // OPENVINO_CLHPP_HEADERS_ARE_OLDER_THAN_V2024_10_24

#include <memory>

namespace {
Expand Down
Loading