From abc927514df6a8f00674dc560f6a5b030ca1f757 Mon Sep 17 00:00:00 2001 From: Eddy Kim Date: Tue, 15 Nov 2022 22:53:02 +0900 Subject: [PATCH] removed object_type --- .../graph/serialization/binary_buffer.hpp | 4 +- .../intel_gpu/graph/serialization/bind.hpp | 24 ++-- .../graph/serialization/object_types.hpp | 120 ------------------ .../serialization/polymorphic_serializer.hpp | 11 +- .../graph/impls/common/wait_for_events.cpp | 2 +- .../intel_gpu/src/graph/impls/cpu/assign.cpp | 2 +- .../src/graph/impls/cpu/detection_output.cpp | 2 +- .../graph/impls/cpu/non_max_suppression.cpp | 2 +- .../src/graph/impls/cpu/proposal.cpp | 2 +- .../src/graph/impls/cpu/read_value.cpp | 2 +- .../src/graph/impls/ocl/activation.cpp | 2 +- .../src/graph/impls/ocl/adaptive_pooling.cpp | 2 +- .../src/graph/impls/ocl/arg_max_min.cpp | 2 +- .../src/graph/impls/ocl/average_unpooling.cpp | 2 +- .../src/graph/impls/ocl/batch_to_space.cpp | 2 +- .../graph/impls/ocl/binary_convolution.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/border.cpp | 2 +- .../src/graph/impls/ocl/broadcast.cpp | 2 +- .../src/graph/impls/ocl/bucketize.cpp | 2 +- .../src/graph/impls/ocl/concatenation.cpp | 2 +- .../src/graph/impls/ocl/convert_color.cpp | 2 +- .../src/graph/impls/ocl/convolution.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/crop.cpp | 2 +- .../graph/impls/ocl/ctc_greedy_decoder.cpp | 2 +- .../src/graph/impls/ocl/ctc_loss.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/cum_sum.cpp | 2 +- .../src/graph/impls/ocl/custom_primitive.cpp | 2 +- .../src/graph/impls/ocl/deconvolution.cpp | 2 +- .../impls/ocl/deformable_convolution.cpp | 4 +- .../src/graph/impls/ocl/depth_to_space.cpp | 2 +- .../src/graph/impls/ocl/detection_output.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/dft.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/eltwise.cpp | 2 +- .../src/graph/impls/ocl/embedding_bag.cpp | 2 +- ...xperimental_detectron_detection_output.cpp | 3 +- ...ectron_generate_proposals_single_image.cpp | 3 +- ...imental_detectron_prior_grid_generator.cpp | 3 +- ...mental_detectron_roi_feature_extractor.cpp | 3 +- .../ocl/experimental_detectron_topk_rois.cpp | 3 +- .../graph/impls/ocl/extract_image_patches.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/eye.cpp | 2 +- .../src/graph/impls/ocl/fully_connected.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/gather.cpp | 2 +- .../src/graph/impls/ocl/gather_elements.cpp | 2 +- .../src/graph/impls/ocl/gather_nd.cpp | 2 +- .../src/graph/impls/ocl/gather_tree.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/gemm.cpp | 2 +- .../graph/impls/ocl/generate_proposals.cpp | 2 +- .../src/graph/impls/ocl/generic_layer.cpp | 2 +- .../src/graph/impls/ocl/grid_sample.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/grn.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/lrn.cpp | 2 +- .../graph/impls/ocl/lstm_dynamic_input.cpp | 2 +- .../graph/impls/ocl/lstm_dynamic_timeloop.cpp | 2 +- .../src/graph/impls/ocl/lstm_elt.cpp | 2 +- .../src/graph/impls/ocl/lstm_gemm.cpp | 2 +- .../src/graph/impls/ocl/matrix_nms.cpp | 4 + .../src/graph/impls/ocl/multiclass_nms.cpp | 2 +- .../src/graph/impls/ocl/mutable_data.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/mvn.cpp | 2 +- .../graph/impls/ocl/non_max_suppression.cpp | 2 +- .../src/graph/impls/ocl/non_zero.cpp | 4 +- .../src/graph/impls/ocl/normalize.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/one_hot.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/permute.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/pooling.cpp | 2 +- .../src/graph/impls/ocl/prior_box.cpp | 2 +- .../src/graph/impls/ocl/pyramid_roi_align.cpp | 2 +- .../src/graph/impls/ocl/quantize.cpp | 2 +- .../src/graph/impls/ocl/random_uniform.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/range.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/reduce.cpp | 2 +- .../src/graph/impls/ocl/region_yolo.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/reorder.cpp | 2 +- .../src/graph/impls/ocl/reorg_yolo.cpp | 2 +- .../src/graph/impls/ocl/resample.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/reshape.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/reverse.cpp | 2 +- .../src/graph/impls/ocl/reverse_sequence.cpp | 2 +- .../src/graph/impls/ocl/roi_align.cpp | 2 +- .../src/graph/impls/ocl/roi_pooling.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/roll.cpp | 2 +- .../impls/ocl/scatter_elements_update.cpp | 3 +- .../src/graph/impls/ocl/scatter_nd_update.cpp | 2 +- .../src/graph/impls/ocl/scatter_update.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/select.cpp | 2 +- .../src/graph/impls/ocl/shape_of.cpp | 2 +- .../src/graph/impls/ocl/shuffle_channels.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/slice.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/softmax.cpp | 2 +- .../src/graph/impls/ocl/space_to_batch.cpp | 2 +- .../src/graph/impls/ocl/space_to_depth.cpp | 2 +- .../src/graph/impls/ocl/strided_slice.cpp | 2 +- .../intel_gpu/src/graph/impls/ocl/tile.cpp | 2 +- .../impls/onednn/concatenation_onednn.cpp | 2 +- .../graph/impls/onednn/convolution_onednn.cpp | 2 +- .../impls/onednn/deconvolution_onednn.cpp | 2 +- .../impls/onednn/fully_connected_onednn.cpp | 2 +- .../src/graph/impls/onednn/gemm_onednn.cpp | 2 +- .../src/graph/impls/onednn/pooling_onednn.cpp | 2 +- .../graph/impls/onednn/reduction_onednn.cpp | 2 +- .../src/graph/impls/onednn/reorder_onednn.cpp | 2 +- .../src/graph/include/primitive_inst.h | 3 +- .../intel_gpu/src/graph/primitive_inst.cpp | 16 +-- 104 files changed, 127 insertions(+), 259 deletions(-) delete mode 100644 src/plugins/intel_gpu/include/intel_gpu/graph/serialization/object_types.hpp diff --git a/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/binary_buffer.hpp b/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/binary_buffer.hpp index 44453d8ff0375c..7ea844873b61b7 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/binary_buffer.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/binary_buffer.hpp @@ -83,9 +83,9 @@ class Serializer> { } // namespace cldnn -#define BIND_BINARY_BUFFER_WITH_TYPE(cls_name, obj_type) \ +#define BIND_BINARY_BUFFER_WITH_TYPE(cls_name) \ namespace cldnn { \ - const object_type cls_name::type = obj_type; \ + const std::string cls_name::type = #cls_name; \ BIND_TO_BUFFER(BinaryOutputBuffer, cls_name) \ BIND_TO_BUFFER(BinaryInputBuffer, cls_name) \ } diff --git a/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/bind.hpp b/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/bind.hpp index 9002eaf209373a..67c98b087c787c 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/bind.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/bind.hpp @@ -10,11 +10,10 @@ #include #include "buffer.hpp" #include "static_instance.hpp" -#include "object_types.hpp" #define DECLARE_OBJECT_TYPE_SERIALIZATION \ - static const object_type type; \ - object_type get_type() const override { return type; } + static const std::string type; \ + std::string get_type() const override { return type; } #define BIND_TO_BUFFER(buffer, type) \ template <> \ @@ -25,26 +24,19 @@ const instance_creator& bind_creator::creator = \ static_instance>::get_instance().instantiate(); -// It's a defect, and was fixed in C++14 -// https://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2148 -struct enum_class_hash { - template - std::size_t operator()(T t) const { return static_cast(t); } -}; - namespace cldnn { template struct saver_storage { using save_function = std::function; - using value_type = typename std::unordered_map::value_type; + using value_type = typename std::unordered_map::value_type; static saver_storage& instance() { static saver_storage instance; return instance; } - const save_function& get_save_function(const object_type& type) const { + const save_function& get_save_function(const std::string& type) const { return map.at(type); } @@ -57,7 +49,7 @@ struct saver_storage { saver_storage(const saver_storage&) = delete; void operator=(const saver_storage&) = delete; - std::unordered_map map; + std::unordered_map map; }; template @@ -67,14 +59,14 @@ struct void_deleter { template struct loader_storage { - using value_type = typename std::unordered_map::value_type; + using value_type = typename std::unordered_map::value_type; static loader_storage& instance() { static loader_storage instance; return instance; } - const FuncT& get_load_function(const object_type& type) { + const FuncT& get_load_function(const std::string& type) { return map.at(type); } @@ -87,7 +79,7 @@ struct loader_storage { loader_storage(const loader_storage&) = delete; void operator=(const loader_storage&) = delete; - std::unordered_map map; + std::unordered_map map; }; template diff --git a/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/object_types.hpp b/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/object_types.hpp deleted file mode 100644 index 3fcf15d8eaec26..00000000000000 --- a/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/object_types.hpp +++ /dev/null @@ -1,120 +0,0 @@ -// Copyright (C) 2018-2022 Intel Corporation -// SPDX-License-Identifier: Apache-2.0 -// - -/////////////////////////////////////////////////////////////////////////////////////////////////// -#pragma once - -namespace cldnn { - -enum class object_type { - ACTIVATION_IMPL, - ADAPTIVE_POOLING_IMPL, - ARG_MAX_MIN_IMPL, - ASSIGN_IMPL, - AVERAGE_UNPOOLING_IMPL, - BATCH_TO_SPACE_IMPL, - BINARY_CONVOLUTION_IMPL, - BORDER_IMPL, - BROADCAST_IMPL, - BUCKETIZE_IMPL, - CONCATENATION_IMPL, - CONVERT_COLOR_IMPL, - CONVOLUTION_IMPL, - CROP_IMPL, - CTC_GREEDY_DECODER_IMPL, - CTC_LOSS_IMPL, - CUM_SUM_IMPL, - CUSTOM_GPU_PRIMITIVE_IMPL, - DECONVOLUTION_IMPL, - DEFORMABLE_CONV_IMPL, - DEFORMABLE_INTERP_IMPL, - DEPTH_TO_SPACE_IMPL, - DETECTION_OUTPUT_IMPL_OCL, - DFT_IMPL, - ELTWISE_IMPL, - EMBEDDING_BAG_IMPL, - EXPERIMENTAL_DETECTRON_DETECTION_OUTPUT_IMPL, - EXPERIMENTAL_DETECTRON_GENERATE_PROPOSALS_SINGLE_IMAGE_IMPL, - EXPERIMENTAL_DETECTRON_PRIOR_GRID_GENERATOR_IMPL, - EXPERIMENTAL_DETECTRON_ROI_FEATURE_EXTRACTOR_IMPL, - EXPERIMENTAL_DETECTRON_TOPK_ROIS_IMPL, - EXTRACT_IMAGE_PATCHES_IMPL, - EYE_IMPL, - FULLY_CONNECTED_IMPL, - FUSED_CONV_ELTWISE_IMPL, - GATHER_ELEMENTS_IMPL, - GATHER_ND_IMPL, - GATHER_TREE_IMPL, - GATHER_IMPL, - GEMM_IMPL, - GENERATE_PROPOSALS_IMPL, - GENERIC_LAYER_IMPL, - GRID_SAMPLE_IMPL, - GRN_IMPL, - LRN_IMPL, - LSTM_DYNAMIC_INPUT_IMPL, - LSTM_DYNAMIC_TIMELOOP_IMPL, - LSTM_ELT_IMPL, - LSTM_GEMM_IMPL, - MAX_UNPOOLING_IMPL, - MULTICLASS_NMS_IMPL, - MUTABLE_DATA_IMPL, - MVN_IMPL, - NON_MAX_SUPPRESSION_IMPL_OCL, - COUNT_NONZERO_IMPL, - GATHER_NONZERO_IMPL, - NORMALIZE_IMPL, - ONE_HOT_IMPL, - PERMUTE_IMPL, - POOLING_IMPL, - PRIOR_BOX_IMPL, - PYRAMID_ROI_ALIGN_IMPL, - QUANTIZE_IMPL, - RANDOM_UNIFORM_IMPL, - RANGE_IMPL, - READ_VALUE_IMPL, - REDUCE_IMPL, - REGION_YOLO_IMPL, - REORDER_IMPL, - REORG_YOLO_IMPL, - RESAMPLE_IMPL, - RESHAPE_IMPL, - REVERSE_SEQUENCE_IMPL, - REVERSE_IMPL, - ROI_ALIGN_IMPL, - ROI_POOLING_IMPL, - ROLL_IMPL, - SCALE_IMPL, - SCATTER_ELEMENTS_UPDATE_IMPL, - SCATTER_ND_UPDATE_IMPL, - SCATTER_UPDATE_IMPL, - SELECT_IMPL, - SHAPE_OF_IMPL, - SHUFFLE_CHANNELS_IMPL, - SLICE_IMPL, - SOFTMAX_IMPL, - SPACE_TO_BATCH_IMPL, - SPACE_TO_DEPTH_IMPL, - STRIDED_SLICE_IMPL, - TILE_IMPL, - WAIT_FOR_EVENTS_IMPL, - CONDITION_IMPL, - LOOP_IMPL, - DETECTION_OUTPUT_IMPL_CPU, - NON_MAX_SUPPRESSION_IMPL_CPU, - PROPOSAL_IMPL_CPU, - DATA_INST, - EXECUTABLE_INST, - CONVOLUTION_ONEDNN, - POOLING_ONEDNN, - CONCATENATION_ONEDNN, - DECONVOLUTION_ONEDNN, - FULLY_CONNECTED_ONEDNN, - GEMM_ONEDNN, - REDUCTION_ONEDNN, - REORDER_ONEDNN, - NONE -}; - -} //namespace cldnn \ No newline at end of file diff --git a/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/polymorphic_serializer.hpp b/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/polymorphic_serializer.hpp index b6d7dd730eb186..e85ef7f6150066 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/polymorphic_serializer.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/graph/serialization/polymorphic_serializer.hpp @@ -12,7 +12,6 @@ #include "buffer.hpp" #include "bind.hpp" #include "helpers.hpp" -#include "object_types.hpp" namespace cldnn { @@ -21,7 +20,7 @@ class Serializer, typename std::enable_if& ptr) { const auto& type = ptr->get_type(); - buffer << cldnn::make_data(&type, sizeof(object_type)); + buffer << type; const auto save_func = saver_storage::instance().get_save_function(type); save_func(buffer, ptr.get()); } @@ -31,8 +30,8 @@ template class Serializer, typename std::enable_if, BufferType>::value>::type> { public: static void load(BufferType& buffer, std::unique_ptr& ptr, engine& engine) { - object_type type; - buffer >> cldnn::make_data(&type, sizeof(object_type)); + std::string type; + buffer >> type; const auto load_func = dif::instance().get_load_function(type); std::unique_ptr> result; load_func(buffer, result, engine); @@ -40,8 +39,8 @@ class Serializer, typename std::enable_if& ptr) { - object_type type; - buffer >> cldnn::make_data(&type, sizeof(object_type)); + std::string type; + buffer >> type; const auto load_func = def::instance().get_load_function(type); std::unique_ptr> result; load_func(buffer, result); diff --git a/src/plugins/intel_gpu/src/graph/impls/common/wait_for_events.cpp b/src/plugins/intel_gpu/src/graph/impls/common/wait_for_events.cpp index 2658ae6cadb53e..2538261b2646fa 100644 --- a/src/plugins/intel_gpu/src/graph/impls/common/wait_for_events.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/common/wait_for_events.cpp @@ -77,4 +77,4 @@ attach_prior_box_common::attach_prior_box_common() { } // namespace common } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::common::wait_for_events_impl, cldnn::object_type::WAIT_FOR_EVENTS_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::common::wait_for_events_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/cpu/assign.cpp b/src/plugins/intel_gpu/src/graph/impls/cpu/assign.cpp index 6b3fcc3c545c85..f78818ca1b5fb0 100644 --- a/src/plugins/intel_gpu/src/graph/impls/cpu/assign.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/cpu/assign.cpp @@ -56,4 +56,4 @@ attach_assign_impl::attach_assign_impl() { } // namespace cpu } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::assign_impl, cldnn::object_type::ASSIGN_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::assign_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/cpu/detection_output.cpp b/src/plugins/intel_gpu/src/graph/impls/cpu/detection_output.cpp index 0f9d3328ab695a..c013e063eda4ec 100644 --- a/src/plugins/intel_gpu/src/graph/impls/cpu/detection_output.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/cpu/detection_output.cpp @@ -874,4 +874,4 @@ attach_detection_output_impl::attach_detection_output_impl() { } // namespace cpu } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::detection_output_impl, cldnn::object_type::DETECTION_OUTPUT_IMPL_CPU) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::detection_output_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/cpu/non_max_suppression.cpp b/src/plugins/intel_gpu/src/graph/impls/cpu/non_max_suppression.cpp index 50eb5bb4a343a7..4747cd18734be1 100644 --- a/src/plugins/intel_gpu/src/graph/impls/cpu/non_max_suppression.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/cpu/non_max_suppression.cpp @@ -435,4 +435,4 @@ attach_non_max_suppression_impl::attach_non_max_suppression_impl() { } // namespace cpu } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::non_max_suppression_impl, cldnn::object_type::NON_MAX_SUPPRESSION_IMPL_CPU) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::non_max_suppression_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/cpu/proposal.cpp b/src/plugins/intel_gpu/src/graph/impls/cpu/proposal.cpp index c8616303daf138..24b7d5fedc4018 100644 --- a/src/plugins/intel_gpu/src/graph/impls/cpu/proposal.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/cpu/proposal.cpp @@ -461,4 +461,4 @@ attach_proposal_impl::attach_proposal_impl() { } // namespace cpu } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::proposal_impl, cldnn::object_type::PROPOSAL_IMPL_CPU) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::proposal_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/cpu/read_value.cpp b/src/plugins/intel_gpu/src/graph/impls/cpu/read_value.cpp index 88ef5d3525d519..fb52c145adc84b 100644 --- a/src/plugins/intel_gpu/src/graph/impls/cpu/read_value.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/cpu/read_value.cpp @@ -56,4 +56,4 @@ attach_read_value_impl::attach_read_value_impl() { } // namespace cpu } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::read_value_impl, cldnn::object_type::READ_VALUE_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::read_value_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/activation.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/activation.cpp index 59d02527995737..3492c1f93dc36c 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/activation.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/activation.cpp @@ -156,4 +156,4 @@ attach_activation_impl::attach_activation_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::activation_impl, cldnn::object_type::ACTIVATION_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::activation_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/adaptive_pooling.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/adaptive_pooling.cpp index cc06fada7517b0..cba136d069a014 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/adaptive_pooling.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/adaptive_pooling.cpp @@ -92,4 +92,4 @@ attach_adaptive_pooling_impl::attach_adaptive_pooling_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::adaptive_pooling_impl, cldnn::object_type::ADAPTIVE_POOLING_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::adaptive_pooling_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/arg_max_min.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/arg_max_min.cpp index f8c90fafd406ca..b0c6c4dc70fda6 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/arg_max_min.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/arg_max_min.cpp @@ -126,4 +126,4 @@ attach_arg_max_min_impl::attach_arg_max_min_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::arg_max_min_impl, cldnn::object_type::ARG_MAX_MIN_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::arg_max_min_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/average_unpooling.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/average_unpooling.cpp index 9dedd0c78e430a..473eb269af419e 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/average_unpooling.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/average_unpooling.cpp @@ -69,4 +69,4 @@ attach_average_unpooling_impl::attach_average_unpooling_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::average_unpooling_impl, cldnn::object_type::AVERAGE_UNPOOLING_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::average_unpooling_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/batch_to_space.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/batch_to_space.cpp index 328f4cfd2d1dae..571ce276557b95 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/batch_to_space.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/batch_to_space.cpp @@ -68,4 +68,4 @@ attach_batch_to_space_impl::attach_batch_to_space_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::batch_to_space_impl, cldnn::object_type::BATCH_TO_SPACE_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::batch_to_space_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/binary_convolution.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/binary_convolution.cpp index a56cb040e537c1..d0f7e6a9851f30 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/binary_convolution.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/binary_convolution.cpp @@ -154,4 +154,4 @@ attach_binary_convolution_impl::attach_binary_convolution_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::binary_convolution_impl, cldnn::object_type::BINARY_CONVOLUTION_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::binary_convolution_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/border.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/border.cpp index 127f274637e461..599af0c76ba28c 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/border.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/border.cpp @@ -166,4 +166,4 @@ attach_border_impl::attach_border_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::border_impl, cldnn::object_type::BORDER_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::border_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/broadcast.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/broadcast.cpp index 1493a56cbffb83..4907b3be4f7f6a 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/broadcast.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/broadcast.cpp @@ -168,4 +168,4 @@ attach_broadcast_impl::attach_broadcast_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::broadcast_impl, cldnn::object_type::BROADCAST_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::broadcast_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/bucketize.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/bucketize.cpp index d59eec4cd9cdfe..f56a9206204f2f 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/bucketize.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/bucketize.cpp @@ -70,4 +70,4 @@ attach_bucketize_impl::attach_bucketize_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::bucketize_impl, cldnn::object_type::BUCKETIZE_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::bucketize_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/concatenation.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/concatenation.cpp index 20727257594a18..4d73c498f9d178 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/concatenation.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/concatenation.cpp @@ -201,4 +201,4 @@ attach_concatenation_impl::attach_concatenation_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::concatenation_impl, cldnn::object_type::CONCATENATION_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::concatenation_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/convert_color.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/convert_color.cpp index 84d9d396f691dd..9d964c01674766 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/convert_color.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/convert_color.cpp @@ -70,4 +70,4 @@ attach_convert_color_impl::attach_convert_color_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::convert_color_impl, cldnn::object_type::CONVERT_COLOR_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::convert_color_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/convolution.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/convolution.cpp index 44062954ca4ea6..07c5d32c2e5f1c 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/convolution.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/convolution.cpp @@ -281,4 +281,4 @@ attach_convolution_impl::attach_convolution_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::convolution_impl, cldnn::object_type::CONVOLUTION_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::convolution_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/crop.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/crop.cpp index 797c6de6d79014..7dd28fc57c5b7c 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/crop.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/crop.cpp @@ -157,4 +157,4 @@ attach_crop_impl::attach_crop_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::crop_impl, cldnn::object_type::CROP_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::crop_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/ctc_greedy_decoder.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/ctc_greedy_decoder.cpp index 5071f453db46e5..2812e4993818fa 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/ctc_greedy_decoder.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/ctc_greedy_decoder.cpp @@ -62,4 +62,4 @@ attach_ctc_greedy_decoder_impl::attach_ctc_greedy_decoder_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::ctc_greedy_decoder_impl, cldnn::object_type::CTC_GREEDY_DECODER_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::ctc_greedy_decoder_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/ctc_loss.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/ctc_loss.cpp index 7d228726a24556..e8df1b5132d113 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/ctc_loss.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/ctc_loss.cpp @@ -57,4 +57,4 @@ attach_ctc_loss_impl::attach_ctc_loss_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::ctc_loss_impl, cldnn::object_type::CTC_LOSS_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::ctc_loss_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/cum_sum.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/cum_sum.cpp index 48ec50b07c39be..3c0aa4f8e3460b 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/cum_sum.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/cum_sum.cpp @@ -96,4 +96,4 @@ attach_cum_sum_impl::attach_cum_sum_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::cum_sum_impl, cldnn::object_type::CUM_SUM_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::cum_sum_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/custom_primitive.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/custom_primitive.cpp index dcfee43ec5a4a6..95f90eb4194780 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/custom_primitive.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/custom_primitive.cpp @@ -262,4 +262,4 @@ attach_custom_gpu_primitive_impl::attach_custom_gpu_primitive_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::custom_gpu_primitive_impl, cldnn::object_type::CUSTOM_GPU_PRIMITIVE_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::custom_gpu_primitive_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/deconvolution.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/deconvolution.cpp index 67247ade7547b3..806ec607b10702 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/deconvolution.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/deconvolution.cpp @@ -167,4 +167,4 @@ attach_deconvolution_impl::attach_deconvolution_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::deconvolution_impl, cldnn::object_type::DECONVOLUTION_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::deconvolution_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/deformable_convolution.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/deformable_convolution.cpp index 9aca5783f73951..38998cdbc9e419 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/deformable_convolution.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/deformable_convolution.cpp @@ -192,5 +192,5 @@ attach_deformable_interp_impl::attach_deformable_interp_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::deformable_conv_impl, cldnn::object_type::DEFORMABLE_CONV_IMPL) -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::deformable_interp_impl, cldnn::object_type::DEFORMABLE_INTERP_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::deformable_conv_impl) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::deformable_interp_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/depth_to_space.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/depth_to_space.cpp index bc085b15d5474e..70aa6540f83259 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/depth_to_space.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/depth_to_space.cpp @@ -64,4 +64,4 @@ attach_depth_to_space_impl::attach_depth_to_space_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::depth_to_space_impl, cldnn::object_type::DEPTH_TO_SPACE_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::depth_to_space_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/detection_output.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/detection_output.cpp index 5fe817b0481069..b0bbb24aacb619 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/detection_output.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/detection_output.cpp @@ -92,4 +92,4 @@ attach_detection_output_impl::attach_detection_output_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::detection_output_impl, cldnn::object_type::DETECTION_OUTPUT_IMPL_OCL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::detection_output_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/dft.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/dft.cpp index 958fd837d79985..74420851f2d71a 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/dft.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/dft.cpp @@ -105,4 +105,4 @@ attach_dft_impl::attach_dft_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::dft_impl, cldnn::object_type::DFT_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::dft_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/eltwise.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/eltwise.cpp index 08fa31cd8f8cfe..54571e2ec732f8 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/eltwise.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/eltwise.cpp @@ -278,4 +278,4 @@ attach_eltwise_impl::attach_eltwise_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::eltwise_impl, cldnn::object_type::ELTWISE_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::eltwise_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/embedding_bag.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/embedding_bag.cpp index 86020c16de31b3..8d0b458eeed3d4 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/embedding_bag.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/embedding_bag.cpp @@ -69,4 +69,4 @@ attach_embedding_bag_impl::attach_embedding_bag_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::embedding_bag_impl, cldnn::object_type::EMBEDDING_BAG_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::embedding_bag_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_detection_output.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_detection_output.cpp index 4ccc17de90ac41..db3eabdbf906e4 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_detection_output.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_detection_output.cpp @@ -77,5 +77,4 @@ attach_experimental_detectron_detection_output_impl::attach_experimental_detectr } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_detection_output_impl, - cldnn::object_type::ACTIVATION_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_detection_output_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_generate_proposals_single_image.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_generate_proposals_single_image.cpp index c940038553f646..5263e83ec3201a 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_generate_proposals_single_image.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_generate_proposals_single_image.cpp @@ -83,5 +83,4 @@ attach_experimental_detectron_generate_proposals_single_image_impl::attach_exper } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_generate_proposals_single_image_impl, - cldnn::object_type::EXPERIMENTAL_DETECTRON_GENERATE_PROPOSALS_SINGLE_IMAGE_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_generate_proposals_single_image_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_prior_grid_generator.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_prior_grid_generator.cpp index 532b6bf056df98..3334950123870b 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_prior_grid_generator.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_prior_grid_generator.cpp @@ -64,5 +64,4 @@ attach_experimental_detectron_prior_grid_generator_impl::attach_experimental_det } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_prior_grid_generator_impl, - cldnn::object_type::EXPERIMENTAL_DETECTRON_PRIOR_GRID_GENERATOR_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_prior_grid_generator_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_roi_feature_extractor.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_roi_feature_extractor.cpp index 988f81159dd440..4027e2c43ee726 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_roi_feature_extractor.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_roi_feature_extractor.cpp @@ -82,5 +82,4 @@ attach_experimental_detectron_roi_feature_extractor_impl::attach_experimental_de } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_roi_feature_extractor_impl, - cldnn::object_type::EXPERIMENTAL_DETECTRON_ROI_FEATURE_EXTRACTOR_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_roi_feature_extractor_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_topk_rois.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_topk_rois.cpp index 6febbbfb3f5361..a2f78e874193c7 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_topk_rois.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/experimental_detectron_topk_rois.cpp @@ -58,5 +58,4 @@ attach_experimental_detectron_topk_rois_impl::attach_experimental_detectron_topk } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_topk_rois_impl, - cldnn::object_type::EXPERIMENTAL_DETECTRON_TOPK_ROIS_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_topk_rois_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/extract_image_patches.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/extract_image_patches.cpp index 199e7775f96862..235195caa14c07 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/extract_image_patches.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/extract_image_patches.cpp @@ -57,4 +57,4 @@ attach_extract_image_patches_impl::attach_extract_image_patches_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::extract_image_patches_impl, cldnn::object_type::EXTRACT_IMAGE_PATCHES_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::extract_image_patches_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/eye.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/eye.cpp index 10e3514d46d8c3..65cad6d467e2b9 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/eye.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/eye.cpp @@ -74,4 +74,4 @@ attach_eye_impl::attach_eye_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::eye_impl, cldnn::object_type::EYE_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::eye_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/fully_connected.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/fully_connected.cpp index f88969ebf8c80e..9a7c99377bb35b 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/fully_connected.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/fully_connected.cpp @@ -151,4 +151,4 @@ attach_fully_connected_impl::attach_fully_connected_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::fully_connected_impl, cldnn::object_type::FULLY_CONNECTED_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::fully_connected_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/gather.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/gather.cpp index d1efccb669952d..2a3b26f72894a9 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/gather.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/gather.cpp @@ -211,4 +211,4 @@ attach_gather_impl::attach_gather_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_impl, cldnn::object_type::GATHER_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/gather_elements.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/gather_elements.cpp index e91bade0711b83..221bfacc410aee 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/gather_elements.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/gather_elements.cpp @@ -93,4 +93,4 @@ attach_gather_elements_impl::attach_gather_elements_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_elements_impl, cldnn::object_type::GATHER_ELEMENTS_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_elements_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/gather_nd.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/gather_nd.cpp index a0a88aff702e92..3c31dc230880a3 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/gather_nd.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/gather_nd.cpp @@ -60,4 +60,4 @@ attach_gather_nd_impl::attach_gather_nd_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_nd_impl, cldnn::object_type::GATHER_ND_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_nd_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/gather_tree.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/gather_tree.cpp index 7f781e7ccd5296..1bbfe369fb73fb 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/gather_tree.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/gather_tree.cpp @@ -63,4 +63,4 @@ attach_gather_tree_impl::attach_gather_tree_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_tree_impl, cldnn::object_type::GATHER_TREE_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_tree_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/gemm.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/gemm.cpp index 5afd4fe0bf6ea2..04738b3fd68caa 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/gemm.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/gemm.cpp @@ -165,4 +165,4 @@ attach_gemm_impl::attach_gemm_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gemm_impl, cldnn::object_type::GEMM_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gemm_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/generate_proposals.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/generate_proposals.cpp index 2b0993bc680de5..5c4624c14cd5f2 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/generate_proposals.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/generate_proposals.cpp @@ -78,4 +78,4 @@ namespace detail { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::generate_proposals_impl, cldnn::object_type::GENERATE_PROPOSALS_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::generate_proposals_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/generic_layer.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/generic_layer.cpp index 81ae1850b332f1..d0040bb258b413 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/generic_layer.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/generic_layer.cpp @@ -136,4 +136,4 @@ attach_generic_layer_impl::attach_generic_layer_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::generic_layer_impl, cldnn::object_type::GENERIC_LAYER_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::generic_layer_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/grid_sample.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/grid_sample.cpp index 15a5f34e8e3d69..0a15e9bd942de8 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/grid_sample.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/grid_sample.cpp @@ -87,4 +87,4 @@ attach_grid_sample_impl::attach_grid_sample_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::grid_sample_impl, cldnn::object_type::GRID_SAMPLE_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::grid_sample_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/grn.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/grn.cpp index 9dd877c5d8d12b..9eece30b14332a 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/grn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/grn.cpp @@ -54,4 +54,4 @@ attach_grn_impl::attach_grn_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::grn_impl, cldnn::object_type::GRN_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::grn_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/lrn.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/lrn.cpp index d13e574d213166..79517b7f30878c 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/lrn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/lrn.cpp @@ -93,4 +93,4 @@ attach_lrn_impl::attach_lrn_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::lrn_impl, cldnn::object_type::LRN_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::lrn_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_dynamic_input.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_dynamic_input.cpp index b2b848c729e749..8f6548931bd9b6 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_dynamic_input.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_dynamic_input.cpp @@ -78,4 +78,4 @@ attach_lstm_dynamic_input_impl::attach_lstm_dynamic_input_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::lstm_dynamic_input_impl, cldnn::object_type::LSTM_DYNAMIC_INPUT_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::lstm_dynamic_input_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_dynamic_timeloop.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_dynamic_timeloop.cpp index ce98279b24bfad..e064b05b2c59f8 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_dynamic_timeloop.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_dynamic_timeloop.cpp @@ -100,4 +100,4 @@ attach_lstm_dynamic_timeloop_impl::attach_lstm_dynamic_timeloop_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::lstm_dynamic_timeloop_impl, cldnn::object_type::LSTM_DYNAMIC_TIMELOOP_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::lstm_dynamic_timeloop_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_elt.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_elt.cpp index 9abca882abde19..0d1a39d13eac8e 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_elt.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_elt.cpp @@ -103,4 +103,4 @@ attach_lstm_elt_impl::attach_lstm_elt_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::lstm_elt_impl, cldnn::object_type::LSTM_ELT_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::lstm_elt_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_gemm.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_gemm.cpp index 942dcdef6fe6cc..4c2c9da44a9715 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_gemm.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/lstm_gemm.cpp @@ -104,4 +104,4 @@ attach_lstm_gemm_impl::attach_lstm_gemm_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::lstm_gemm_impl, cldnn::object_type::LSTM_GEMM_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::lstm_gemm_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/matrix_nms.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/matrix_nms.cpp index 2cb99dce385092..640abae4046c2f 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/matrix_nms.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/matrix_nms.cpp @@ -43,6 +43,8 @@ struct matrix_nms_impl : typed_primitive_impl_ocl { using kernel_selector_t = kernel_selector::matrix_nms_kernel_selector; using kernel_params_t = std::pair; + DECLARE_OBJECT_TYPE_SERIALIZATION + std::unique_ptr clone() const override { return make_unique(*this); } @@ -106,3 +108,5 @@ attach_matrix_nms_impl::attach_matrix_nms_impl() { } // namespace detail } // namespace ocl } // namespace cldnn + +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::matrix_nms_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/multiclass_nms.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/multiclass_nms.cpp index 271c3c587137d0..ae6eea65cf8e4c 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/multiclass_nms.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/multiclass_nms.cpp @@ -116,4 +116,4 @@ attach_multiclass_nms_impl::attach_multiclass_nms_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::multiclass_nms_impl, cldnn::object_type::MULTICLASS_NMS_IMPL) \ No newline at end of file +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::multiclass_nms_impl) \ No newline at end of file diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/mutable_data.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/mutable_data.cpp index 86600cae2ab2a3..1cc650329144cf 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/mutable_data.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/mutable_data.cpp @@ -35,4 +35,4 @@ attach_mutable_data_impl::attach_mutable_data_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::mutable_data_impl, cldnn::object_type::MUTABLE_DATA_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::mutable_data_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/mvn.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/mvn.cpp index 1b84b90d9199e6..2c739a0ac441c3 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/mvn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/mvn.cpp @@ -100,4 +100,4 @@ attach_mvn_impl::attach_mvn_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::mvn_impl, cldnn::object_type::MVN_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::mvn_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/non_max_suppression.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/non_max_suppression.cpp index c9edd4524323b6..96b89537a82865 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/non_max_suppression.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/non_max_suppression.cpp @@ -213,4 +213,4 @@ attach_non_max_suppression_impl::attach_non_max_suppression_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::non_max_suppression_impl, cldnn::object_type::NON_MAX_SUPPRESSION_IMPL_OCL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::non_max_suppression_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/non_zero.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/non_zero.cpp index 6993bca663d2bc..78a982a1a53a89 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/non_zero.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/non_zero.cpp @@ -108,5 +108,5 @@ attach_gather_nonzero_impl::attach_gather_nonzero_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::count_nonzero_impl, cldnn::object_type::COUNT_NONZERO_IMPL) -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_nonzero_impl, cldnn::object_type::GATHER_NONZERO_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::count_nonzero_impl) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_nonzero_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/normalize.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/normalize.cpp index ecb2d908052428..aac624dde1e164 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/normalize.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/normalize.cpp @@ -77,4 +77,4 @@ attach_normalize_impl::attach_normalize_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::normalize_impl, cldnn::object_type::NORMALIZE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::normalize_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/one_hot.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/one_hot.cpp index 7e9ad4c51f5b35..d1c33c4c72eae8 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/one_hot.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/one_hot.cpp @@ -66,4 +66,4 @@ attach_one_hot_impl::attach_one_hot_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::one_hot_impl, cldnn::object_type::ONE_HOT_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::one_hot_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/permute.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/permute.cpp index ff66a09e94bb12..cd09fc5cc3e936 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/permute.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/permute.cpp @@ -77,4 +77,4 @@ attach_permute_impl::attach_permute_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::permute_impl, cldnn::object_type::PERMUTE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::permute_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/pooling.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/pooling.cpp index 51a4f030f54423..dffc9b5079b75c 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/pooling.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/pooling.cpp @@ -206,4 +206,4 @@ attach_pooling_impl::attach_pooling_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::pooling_impl, cldnn::object_type::POOLING_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::pooling_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/prior_box.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/prior_box.cpp index d17925b279865a..7c6e911309aafc 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/prior_box.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/prior_box.cpp @@ -99,4 +99,4 @@ attach_prior_box_impl::attach_prior_box_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::prior_box_impl, cldnn::object_type::PRIOR_BOX_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::prior_box_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/pyramid_roi_align.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/pyramid_roi_align.cpp index 96b0bff9c62e1a..146f006e506fb2 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/pyramid_roi_align.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/pyramid_roi_align.cpp @@ -73,4 +73,4 @@ attach_pyramid_roi_align_impl::attach_pyramid_roi_align_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::pyramid_roi_align_impl, cldnn::object_type::PYRAMID_ROI_ALIGN_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::pyramid_roi_align_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/quantize.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/quantize.cpp index e8466e7647e27a..b2ad4926dbb6c7 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/quantize.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/quantize.cpp @@ -203,4 +203,4 @@ attach_quantize_impl::attach_quantize_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::quantize_impl, cldnn::object_type::QUANTIZE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::quantize_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/random_uniform.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/random_uniform.cpp index a2f8e4ee2e1f75..53cbdfbfa67594 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/random_uniform.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/random_uniform.cpp @@ -61,4 +61,4 @@ attach_random_uniform_impl::attach_random_uniform_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::random_uniform_impl, cldnn::object_type::RANDOM_UNIFORM_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::random_uniform_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/range.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/range.cpp index 417e92f283907f..c2c1d2bc797fdb 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/range.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/range.cpp @@ -56,4 +56,4 @@ attach_range_impl::attach_range_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::range_impl, cldnn::object_type::RANGE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::range_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/reduce.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/reduce.cpp index b3a2d889f883d5..cf4aa3892a3bb7 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/reduce.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/reduce.cpp @@ -137,4 +137,4 @@ attach_reduce_impl::attach_reduce_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reduce_impl, cldnn::object_type::REDUCE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reduce_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/region_yolo.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/region_yolo.cpp index 129ccb89a6d862..267902044ef921 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/region_yolo.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/region_yolo.cpp @@ -59,4 +59,4 @@ attach_region_yolo_impl::attach_region_yolo_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::region_yolo_impl, cldnn::object_type::REGION_YOLO_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::region_yolo_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/reorder.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/reorder.cpp index 7c97252703f5b9..3eb1ffe8896b6c 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/reorder.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/reorder.cpp @@ -150,4 +150,4 @@ attach_reorder_impl::attach_reorder_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reorder_impl, cldnn::object_type::REORDER_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reorder_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/reorg_yolo.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/reorg_yolo.cpp index 53ca76294cc481..6f2e50ff59703a 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/reorg_yolo.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/reorg_yolo.cpp @@ -57,4 +57,4 @@ attach_reorg_yolo_impl::attach_reorg_yolo_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reorg_yolo_impl, cldnn::object_type::REORG_YOLO_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reorg_yolo_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/resample.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/resample.cpp index a8bb63fcfd7c48..6e83709366fc2a 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/resample.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/resample.cpp @@ -208,4 +208,4 @@ attach_resample_impl::attach_resample_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::resample_impl, cldnn::object_type::RESAMPLE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::resample_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/reshape.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/reshape.cpp index 05aed4f0e8f69a..af8fe76b3ad747 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/reshape.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/reshape.cpp @@ -43,4 +43,4 @@ attach_reshape_impl::attach_reshape_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reshape_impl, cldnn::object_type::RESHAPE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reshape_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/reverse.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/reverse.cpp index 2f0c27214017ae..2d6b2601ac6dcb 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/reverse.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/reverse.cpp @@ -75,4 +75,4 @@ attach_reverse_impl::attach_reverse_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reverse_impl, cldnn::object_type::REVERSE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reverse_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/reverse_sequence.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/reverse_sequence.cpp index a4db466c40c611..f4b89d9fb0f5c3 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/reverse_sequence.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/reverse_sequence.cpp @@ -56,4 +56,4 @@ attach_reverse_sequence_impl::attach_reverse_sequence_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reverse_sequence_impl, cldnn::object_type::REVERSE_SEQUENCE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::reverse_sequence_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/roi_align.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/roi_align.cpp index 3a1ddc1def06ef..64d210a721d25e 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/roi_align.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/roi_align.cpp @@ -98,4 +98,4 @@ attach_roi_align_impl::attach_roi_align_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::roi_align_impl, cldnn::object_type::ROI_ALIGN_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::roi_align_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/roi_pooling.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/roi_pooling.cpp index 6491f00ce20d1f..b6386e72dd34f0 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/roi_pooling.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/roi_pooling.cpp @@ -109,4 +109,4 @@ attach_roi_pooling_impl::attach_roi_pooling_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::roi_pooling_impl, cldnn::object_type::ROI_POOLING_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::roi_pooling_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/roll.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/roll.cpp index eabf566017aa07..3d2574d836c6ae 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/roll.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/roll.cpp @@ -69,4 +69,4 @@ attach_roll_impl::attach_roll_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::roll_impl, cldnn::object_type::ROLL_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::roll_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_elements_update.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_elements_update.cpp index 60f86bbde7db9b..f393297a0cd35a 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_elements_update.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_elements_update.cpp @@ -99,5 +99,4 @@ attach_scatter_elements_update_impl::attach_scatter_elements_update_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::scatter_elements_update_impl, - cldnn::object_type::SCATTER_ELEMENTS_UPDATE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::scatter_elements_update_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_nd_update.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_nd_update.cpp index 8747bd1a181b17..2a1f66690df02b 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_nd_update.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_nd_update.cpp @@ -141,4 +141,4 @@ attach_scatter_nd_update_impl::attach_scatter_nd_update_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::scatter_nd_update_impl, cldnn::object_type::SCATTER_ND_UPDATE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::scatter_nd_update_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_update.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_update.cpp index 49e9d31259981b..b8b063531928dd 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_update.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/scatter_update.cpp @@ -94,4 +94,4 @@ attach_scatter_update_impl::attach_scatter_update_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::scatter_update_impl, cldnn::object_type::SCATTER_UPDATE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::scatter_update_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/select.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/select.cpp index c128280238abd9..c7c48a44e7b955 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/select.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/select.cpp @@ -87,4 +87,4 @@ attach_select_impl::attach_select_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::select_impl, cldnn::object_type::SELECT_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::select_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/shape_of.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/shape_of.cpp index f95caf65c48e60..844da59e42964e 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/shape_of.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/shape_of.cpp @@ -47,4 +47,4 @@ attach_shape_of_impl::attach_shape_of_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::shape_of_impl, cldnn::object_type::SHAPE_OF_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::shape_of_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/shuffle_channels.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/shuffle_channels.cpp index 99aeb5eb3130bb..674bc32869b7e4 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/shuffle_channels.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/shuffle_channels.cpp @@ -74,4 +74,4 @@ attach_shuffle_channels_impl::attach_shuffle_channels_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::shuffle_channels_impl, cldnn::object_type::SHUFFLE_CHANNELS_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::shuffle_channels_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/slice.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/slice.cpp index fb5905ceb1c7f8..19e537e8fc2800 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/slice.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/slice.cpp @@ -137,4 +137,4 @@ attach_slice_impl::attach_slice_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::slice_impl, cldnn::object_type::SLICE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::slice_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/softmax.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/softmax.cpp index bd0c16f19a896c..1b211f63cb8f36 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/softmax.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/softmax.cpp @@ -77,4 +77,4 @@ attach_softmax_impl::attach_softmax_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::softmax_impl, cldnn::object_type::SOFTMAX_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::softmax_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/space_to_batch.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/space_to_batch.cpp index f29fb6cda50b83..0c7841a9226b07 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/space_to_batch.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/space_to_batch.cpp @@ -68,4 +68,4 @@ attach_space_to_batch_impl::attach_space_to_batch_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::space_to_batch_impl, cldnn::object_type::SPACE_TO_BATCH_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::space_to_batch_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/space_to_depth.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/space_to_depth.cpp index a4963010495e4c..70556e0e08a0af 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/space_to_depth.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/space_to_depth.cpp @@ -68,4 +68,4 @@ attach_space_to_depth_impl::attach_space_to_depth_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::space_to_depth_impl, cldnn::object_type::SPACE_TO_DEPTH_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::space_to_depth_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/strided_slice.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/strided_slice.cpp index 3cbc1d4eb7f783..10f181f17fd7f6 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/strided_slice.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/strided_slice.cpp @@ -165,4 +165,4 @@ attach_strided_slice_impl::attach_strided_slice_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::strided_slice_impl, cldnn::object_type::STRIDED_SLICE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::strided_slice_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/ocl/tile.cpp b/src/plugins/intel_gpu/src/graph/impls/ocl/tile.cpp index b8153a8f9d73f9..d1bcc719e2ace7 100644 --- a/src/plugins/intel_gpu/src/graph/impls/ocl/tile.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/ocl/tile.cpp @@ -76,4 +76,4 @@ attach_tile_impl::attach_tile_impl() { } // namespace ocl } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::tile_impl, cldnn::object_type::TILE_IMPL) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::tile_impl) diff --git a/src/plugins/intel_gpu/src/graph/impls/onednn/concatenation_onednn.cpp b/src/plugins/intel_gpu/src/graph/impls/onednn/concatenation_onednn.cpp index 0ea0e571655e7e..4a410289e908ea 100644 --- a/src/plugins/intel_gpu/src/graph/impls/onednn/concatenation_onednn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/onednn/concatenation_onednn.cpp @@ -152,4 +152,4 @@ attach_concatenation_onednn::attach_concatenation_onednn() { } // namespace onednn } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::concatenation_onednn, cldnn::object_type::CONCATENATION_ONEDNN) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::concatenation_onednn) diff --git a/src/plugins/intel_gpu/src/graph/impls/onednn/convolution_onednn.cpp b/src/plugins/intel_gpu/src/graph/impls/onednn/convolution_onednn.cpp index 593ee455a45fe7..02c00599eec361 100644 --- a/src/plugins/intel_gpu/src/graph/impls/onednn/convolution_onednn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/onednn/convolution_onednn.cpp @@ -266,4 +266,4 @@ attach_convolution_onednn::attach_convolution_onednn() { } // namespace onednn } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::convolution_onednn, cldnn::object_type::CONVOLUTION_ONEDNN) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::convolution_onednn) diff --git a/src/plugins/intel_gpu/src/graph/impls/onednn/deconvolution_onednn.cpp b/src/plugins/intel_gpu/src/graph/impls/onednn/deconvolution_onednn.cpp index bd1c6a1fa15662..2848691fb5a300 100644 --- a/src/plugins/intel_gpu/src/graph/impls/onednn/deconvolution_onednn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/onednn/deconvolution_onednn.cpp @@ -168,4 +168,4 @@ attach_deconvolution_onednn::attach_deconvolution_onednn() { } // namespace onednn } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::deconvolution_onednn, cldnn::object_type::DECONVOLUTION_ONEDNN) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::deconvolution_onednn) diff --git a/src/plugins/intel_gpu/src/graph/impls/onednn/fully_connected_onednn.cpp b/src/plugins/intel_gpu/src/graph/impls/onednn/fully_connected_onednn.cpp index e17c6f8c115d9a..58ad19f0744a15 100644 --- a/src/plugins/intel_gpu/src/graph/impls/onednn/fully_connected_onednn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/onednn/fully_connected_onednn.cpp @@ -219,4 +219,4 @@ attach_fully_connected_onednn::attach_fully_connected_onednn() { } // namespace onednn } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::fully_connected_onednn, cldnn::object_type::FULLY_CONNECTED_ONEDNN) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::fully_connected_onednn) diff --git a/src/plugins/intel_gpu/src/graph/impls/onednn/gemm_onednn.cpp b/src/plugins/intel_gpu/src/graph/impls/onednn/gemm_onednn.cpp index bcf130525feef4..3f51bf59281bed 100644 --- a/src/plugins/intel_gpu/src/graph/impls/onednn/gemm_onednn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/onednn/gemm_onednn.cpp @@ -263,4 +263,4 @@ attach_gemm_onednn::attach_gemm_onednn() { } // namespace onednn } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::gemm_onednn, cldnn::object_type::GEMM_ONEDNN) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::gemm_onednn) diff --git a/src/plugins/intel_gpu/src/graph/impls/onednn/pooling_onednn.cpp b/src/plugins/intel_gpu/src/graph/impls/onednn/pooling_onednn.cpp index 61717bc2083647..f1b3d04969f080 100644 --- a/src/plugins/intel_gpu/src/graph/impls/onednn/pooling_onednn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/onednn/pooling_onednn.cpp @@ -129,4 +129,4 @@ attach_pooling_onednn::attach_pooling_onednn() { } // namespace onednn } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::pooling_onednn, cldnn::object_type::POOLING_ONEDNN) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::pooling_onednn) diff --git a/src/plugins/intel_gpu/src/graph/impls/onednn/reduction_onednn.cpp b/src/plugins/intel_gpu/src/graph/impls/onednn/reduction_onednn.cpp index ef25e17f5d8487..341a2fdb78612b 100644 --- a/src/plugins/intel_gpu/src/graph/impls/onednn/reduction_onednn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/onednn/reduction_onednn.cpp @@ -158,4 +158,4 @@ attach_reduction_onednn::attach_reduction_onednn() { } // namespace onednn } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::reduction_onednn, cldnn::object_type::REDUCTION_ONEDNN) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::reduction_onednn) diff --git a/src/plugins/intel_gpu/src/graph/impls/onednn/reorder_onednn.cpp b/src/plugins/intel_gpu/src/graph/impls/onednn/reorder_onednn.cpp index 3b7906aace2388..14d5b782bed51c 100644 --- a/src/plugins/intel_gpu/src/graph/impls/onednn/reorder_onednn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/onednn/reorder_onednn.cpp @@ -105,4 +105,4 @@ attach_reorder_onednn::attach_reorder_onednn() { } // namespace onednn } // namespace cldnn -BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::reorder_onednn, cldnn::object_type::REORDER_ONEDNN) +BIND_BINARY_BUFFER_WITH_TYPE(cldnn::onednn::reorder_onednn) diff --git a/src/plugins/intel_gpu/src/graph/include/primitive_inst.h b/src/plugins/intel_gpu/src/graph/include/primitive_inst.h index f0cde5363b1f12..a9d4051b74d824 100644 --- a/src/plugins/intel_gpu/src/graph/include/primitive_inst.h +++ b/src/plugins/intel_gpu/src/graph/include/primitive_inst.h @@ -17,7 +17,6 @@ #include "intel_gpu/graph/serialization/binary_buffer.hpp" #include "intel_gpu/graph/serialization/helpers.hpp" #include "intel_gpu/graph/serialization/cl_kernel_data_serializer.hpp" -#include "intel_gpu/graph/serialization/object_types.hpp" #include "intel_gpu/graph/serialization/polymorphic_serializer.hpp" #include "intel_gpu/graph/serialization/string_serializer.hpp" #include "intel_gpu/graph/serialization/layout_serializer.hpp" @@ -51,7 +50,7 @@ struct primitive_impl { virtual std::vector get_internal_buffer_layouts() const = 0; virtual void set_node_params(const program_node&) {} - virtual object_type get_type() const { return object_type::NONE; } + virtual std::string get_type() const { return ""; } virtual void set_arguments(primitive_inst& instance) = 0; virtual void set_arguments(kernel_arguments_data_idx& args_idx) = 0; virtual kernel_arguments_data get_arguments(const primitive_inst& instance) const = 0; diff --git a/src/plugins/intel_gpu/src/graph/primitive_inst.cpp b/src/plugins/intel_gpu/src/graph/primitive_inst.cpp index f468a28e12b684..b7c78db3e56a5b 100644 --- a/src/plugins/intel_gpu/src/graph/primitive_inst.cpp +++ b/src/plugins/intel_gpu/src/graph/primitive_inst.cpp @@ -964,8 +964,8 @@ std::string primitive_inst::get_implementation_name() const { void primitive_inst::save(cldnn::BinaryOutputBuffer& ob) const { if (type() == cldnn::data::type_id() || (type() == cldnn::mutable_data::type_id() && _impl == nullptr)) { - object_type _object_type = object_type::DATA_INST; - ob << cldnn::make_data(&_object_type, sizeof(object_type)); + std::string _object_type = "DATA_INST"; + ob << _object_type; ob << _node->get_primitive()->type_string(); _impl_params->save(ob); ob << _outputs[0]->get_layout(); @@ -983,8 +983,8 @@ void primitive_inst::save(cldnn::BinaryOutputBuffer& ob) const { ob << cldnn::make_data(lock.begin(), data_size); } } else { - object_type _object_type = object_type::EXECUTABLE_INST; - ob << cldnn::make_data(&_object_type, sizeof(object_type)); + std::string _object_type = "EXECUTABLE_INST"; + ob << _object_type; kernel_arguments_data args = _impl->get_arguments(*this); kernel_arguments_data_idx args_idx; @@ -1077,10 +1077,10 @@ int32_t primitive_inst::get_index_in_deps(memory::cptr arg) const { } void primitive_inst::load(cldnn::BinaryInputBuffer& ib) { - object_type _object_type; - ib >> make_data(&_object_type, sizeof(object_type)); + std::string _object_type; + ib >> _object_type; - if (_object_type == object_type::DATA_INST) { + if (_object_type.compare("DATA_INST") == 0) { std::string type_str; ib >> type_str; _type = get_type_id(type_str); @@ -1107,7 +1107,7 @@ void primitive_inst::load(cldnn::BinaryInputBuffer& ib) { ib >> cldnn::make_data(_buf.data(), data_size); _outputs[0]->copy_from(get_network().get_stream(), _buf.data()); } - } else if (_object_type == object_type::EXECUTABLE_INST) { + } else if (_object_type.compare("EXECUTABLE_INST") == 0) { _impl_params.release(); _impl_params = make_unique(); _impl_params->load(ib);