diff --git a/src/plugins/intel_gpu/src/graph/adaptive_pooling.cpp b/src/plugins/intel_gpu/src/graph/adaptive_pooling.cpp index 833c0f98fc81e6..bf1a39d5710594 100644 --- a/src/plugins/intel_gpu/src/graph/adaptive_pooling.cpp +++ b/src/plugins/intel_gpu/src/graph/adaptive_pooling.cpp @@ -9,7 +9,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(adaptive_pooling) +GPU_DEFINE_PRIMITIVE_TYPE_ID(adaptive_pooling) layout adaptive_pooling_inst::calc_output_layout(const adaptive_pooling_node& node, kernel_impl_params const& impl_param) { const auto data_layout = impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/arg_max_min.cpp b/src/plugins/intel_gpu/src/graph/arg_max_min.cpp index 13189cbabefc61..b9de9df34344de 100644 --- a/src/plugins/intel_gpu/src/graph/arg_max_min.cpp +++ b/src/plugins/intel_gpu/src/graph/arg_max_min.cpp @@ -13,7 +13,7 @@ #include "topk_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(arg_max_min) +GPU_DEFINE_PRIMITIVE_TYPE_ID(arg_max_min) layout arg_max_min_inst::calc_output_layout(arg_max_min_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/assign.cpp b/src/plugins/intel_gpu/src/graph/assign.cpp index 5943da31aa3a5f..8a0600ff69271a 100644 --- a/src/plugins/intel_gpu/src/graph/assign.cpp +++ b/src/plugins/intel_gpu/src/graph/assign.cpp @@ -9,7 +9,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(assign) +GPU_DEFINE_PRIMITIVE_TYPE_ID(assign) assign_inst::typed_primitive_inst(network& network, const assign_node& node) : parent{network, node, false}, diff --git a/src/plugins/intel_gpu/src/graph/average_unpooling.cpp b/src/plugins/intel_gpu/src/graph/average_unpooling.cpp index 99d491a32a33a7..eb3156d4351bb8 100644 --- a/src/plugins/intel_gpu/src/graph/average_unpooling.cpp +++ b/src/plugins/intel_gpu/src/graph/average_unpooling.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(average_unpooling) +GPU_DEFINE_PRIMITIVE_TYPE_ID(average_unpooling) layout average_unpooling_inst::calc_output_layout(average_unpooling_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/batch_to_space.cpp b/src/plugins/intel_gpu/src/graph/batch_to_space.cpp index afd77c90478a99..f8d5a446f3c6cb 100644 --- a/src/plugins/intel_gpu/src/graph/batch_to_space.cpp +++ b/src/plugins/intel_gpu/src/graph/batch_to_space.cpp @@ -12,7 +12,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(batch_to_space) +GPU_DEFINE_PRIMITIVE_TYPE_ID(batch_to_space) layout batch_to_space_inst::calc_output_layout(batch_to_space_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/binary_convolution.cpp b/src/plugins/intel_gpu/src/graph/binary_convolution.cpp index d57f181a871e24..dea33e35e5a454 100644 --- a/src/plugins/intel_gpu/src/graph/binary_convolution.cpp +++ b/src/plugins/intel_gpu/src/graph/binary_convolution.cpp @@ -12,7 +12,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(binary_convolution) +GPU_DEFINE_PRIMITIVE_TYPE_ID(binary_convolution) layout binary_convolution_inst::calc_output_layout(binary_convolution_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/border.cpp b/src/plugins/intel_gpu/src/graph/border.cpp index 4fc7ad5996f840..8baec60eccef6f 100644 --- a/src/plugins/intel_gpu/src/graph/border.cpp +++ b/src/plugins/intel_gpu/src/graph/border.cpp @@ -12,7 +12,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(border) +GPU_DEFINE_PRIMITIVE_TYPE_ID(border) layout border_inst::calc_output_layout(border_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/broadcast.cpp b/src/plugins/intel_gpu/src/graph/broadcast.cpp index fc6b6a94acda0d..e780b00e014cc2 100644 --- a/src/plugins/intel_gpu/src/graph/broadcast.cpp +++ b/src/plugins/intel_gpu/src/graph/broadcast.cpp @@ -13,7 +13,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(broadcast) +GPU_DEFINE_PRIMITIVE_TYPE_ID(broadcast) layout broadcast_inst::calc_output_layout(broadcast_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/bucketize.cpp b/src/plugins/intel_gpu/src/graph/bucketize.cpp index 098218cfcc4445..78740d10161395 100644 --- a/src/plugins/intel_gpu/src/graph/bucketize.cpp +++ b/src/plugins/intel_gpu/src/graph/bucketize.cpp @@ -11,7 +11,7 @@ #include "to_string_utils.h" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(bucketize) +GPU_DEFINE_PRIMITIVE_TYPE_ID(bucketize) layout bucketize_inst::calc_output_layout(const bucketize_node& node, kernel_impl_params const& impl_param) { auto input_layout = impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/concatenation.cpp b/src/plugins/intel_gpu/src/graph/concatenation.cpp index 4db42f77f0543d..03b53a192547a0 100644 --- a/src/plugins/intel_gpu/src/graph/concatenation.cpp +++ b/src/plugins/intel_gpu/src/graph/concatenation.cpp @@ -12,7 +12,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(concatenation) +GPU_DEFINE_PRIMITIVE_TYPE_ID(concatenation) layout concatenation_inst::calc_output_layout(concatenation_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/condition.cpp b/src/plugins/intel_gpu/src/graph/condition.cpp index a64bd492972a91..c9990b6cbe0d86 100644 --- a/src/plugins/intel_gpu/src/graph/condition.cpp +++ b/src/plugins/intel_gpu/src/graph/condition.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(condition) +GPU_DEFINE_PRIMITIVE_TYPE_ID(condition) /* Calc_output_layout method is called only when output layout is invalidated. diff --git a/src/plugins/intel_gpu/src/graph/convert_color.cpp b/src/plugins/intel_gpu/src/graph/convert_color.cpp index 3e4bb4702fb330..ca6f1e5979c066 100644 --- a/src/plugins/intel_gpu/src/graph/convert_color.cpp +++ b/src/plugins/intel_gpu/src/graph/convert_color.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(convert_color) +GPU_DEFINE_PRIMITIVE_TYPE_ID(convert_color) layout convert_color_inst::calc_output_layout(convert_color_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/convolution.cpp b/src/plugins/intel_gpu/src/graph/convolution.cpp index 44dd25b8729d4c..d3eb13a6594c1c 100644 --- a/src/plugins/intel_gpu/src/graph/convolution.cpp +++ b/src/plugins/intel_gpu/src/graph/convolution.cpp @@ -15,7 +15,7 @@ using namespace ov::intel_gpu; namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(convolution) +GPU_DEFINE_PRIMITIVE_TYPE_ID(convolution) layout convolution_inst::calc_output_layout(convolution_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/crop.cpp b/src/plugins/intel_gpu/src/graph/crop.cpp index 1ed0c135e7d2ea..fcd0ed28bdfc91 100644 --- a/src/plugins/intel_gpu/src/graph/crop.cpp +++ b/src/plugins/intel_gpu/src/graph/crop.cpp @@ -14,7 +14,7 @@ #include "split_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(crop) +GPU_DEFINE_PRIMITIVE_TYPE_ID(crop) layout crop_inst::calc_output_layout(crop_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/ctc_greedy_decoder.cpp b/src/plugins/intel_gpu/src/graph/ctc_greedy_decoder.cpp index 9fd8d191703e6f..f79edd2de7d084 100644 --- a/src/plugins/intel_gpu/src/graph/ctc_greedy_decoder.cpp +++ b/src/plugins/intel_gpu/src/graph/ctc_greedy_decoder.cpp @@ -8,7 +8,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(ctc_greedy_decoder) +GPU_DEFINE_PRIMITIVE_TYPE_ID(ctc_greedy_decoder) layout ctc_greedy_decoder_inst::calc_output_layout(ctc_greedy_decoder_node const& node, kernel_impl_params const& impl_param) { auto input_node_layout = impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/ctc_loss.cpp b/src/plugins/intel_gpu/src/graph/ctc_loss.cpp index a41748af734a33..52d3bdbdc38954 100644 --- a/src/plugins/intel_gpu/src/graph/ctc_loss.cpp +++ b/src/plugins/intel_gpu/src/graph/ctc_loss.cpp @@ -11,7 +11,7 @@ #include "to_string_utils.h" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(ctc_loss) +GPU_DEFINE_PRIMITIVE_TYPE_ID(ctc_loss) layout ctc_loss_inst::calc_output_layout(const ctc_loss_node& node, const kernel_impl_params& impl_param) { auto input_layout = impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/cum_sum.cpp b/src/plugins/intel_gpu/src/graph/cum_sum.cpp index d0ac55d9a15f05..5acb7da9e04186 100644 --- a/src/plugins/intel_gpu/src/graph/cum_sum.cpp +++ b/src/plugins/intel_gpu/src/graph/cum_sum.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(cum_sum) +GPU_DEFINE_PRIMITIVE_TYPE_ID(cum_sum) layout cum_sum_inst::calc_output_layout(cum_sum_node const& node, kernel_impl_params const& impl_param) { return impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/custom_gpu_primitive.cpp b/src/plugins/intel_gpu/src/graph/custom_gpu_primitive.cpp index dcfe31f9e62939..cdd0f5f6aa9354 100644 --- a/src/plugins/intel_gpu/src/graph/custom_gpu_primitive.cpp +++ b/src/plugins/intel_gpu/src/graph/custom_gpu_primitive.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(custom_gpu_primitive) +GPU_DEFINE_PRIMITIVE_TYPE_ID(custom_gpu_primitive) std::string custom_gpu_primitive_inst::to_string(custom_gpu_primitive_node const& node) { auto desc = node.get_primitive(); diff --git a/src/plugins/intel_gpu/src/graph/data.cpp b/src/plugins/intel_gpu/src/graph/data.cpp index 56f17d5ea2f7c2..5d3ece12274bcd 100644 --- a/src/plugins/intel_gpu/src/graph/data.cpp +++ b/src/plugins/intel_gpu/src/graph/data.cpp @@ -13,7 +13,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(data) +GPU_DEFINE_PRIMITIVE_TYPE_ID(data) namespace { memory::ptr attach_or_copy_data(network& network, memory::ptr mem) { diff --git a/src/plugins/intel_gpu/src/graph/deconvolution.cpp b/src/plugins/intel_gpu/src/graph/deconvolution.cpp index e630610564363a..d5d88af713055c 100644 --- a/src/plugins/intel_gpu/src/graph/deconvolution.cpp +++ b/src/plugins/intel_gpu/src/graph/deconvolution.cpp @@ -13,7 +13,7 @@ using namespace ov::intel_gpu; namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(deconvolution) +GPU_DEFINE_PRIMITIVE_TYPE_ID(deconvolution) layout deconvolution_inst::calc_output_layout(deconvolution_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/deformable_convolution.cpp b/src/plugins/intel_gpu/src/graph/deformable_convolution.cpp index 0c0042c2f850e4..3acb451b46dac9 100644 --- a/src/plugins/intel_gpu/src/graph/deformable_convolution.cpp +++ b/src/plugins/intel_gpu/src/graph/deformable_convolution.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(deformable_conv) +GPU_DEFINE_PRIMITIVE_TYPE_ID(deformable_conv) layout deformable_conv_inst::calc_output_layout(deformable_conv_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); @@ -53,7 +53,7 @@ std::string deformable_conv_inst::to_string(deformable_conv_node const& node) { deformable_conv_inst::typed_primitive_inst(network& network, deformable_conv_node const& node) : parent(network, node) { } -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(deformable_interp) +GPU_DEFINE_PRIMITIVE_TYPE_ID(deformable_interp) layout deformable_interp_inst::calc_output_layout(deformable_interp_node const& node, kernel_impl_params const& impl_param) { auto desc = node.get_primitive(); diff --git a/src/plugins/intel_gpu/src/graph/depth_to_space.cpp b/src/plugins/intel_gpu/src/graph/depth_to_space.cpp index 46a4748a1bb395..01c01ccd941d73 100644 --- a/src/plugins/intel_gpu/src/graph/depth_to_space.cpp +++ b/src/plugins/intel_gpu/src/graph/depth_to_space.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(depth_to_space) +GPU_DEFINE_PRIMITIVE_TYPE_ID(depth_to_space) layout depth_to_space_inst::calc_output_layout(depth_to_space_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/detection_output.cpp b/src/plugins/intel_gpu/src/graph/detection_output.cpp index 92343ae6a785e4..a070d5c3b0371c 100644 --- a/src/plugins/intel_gpu/src/graph/detection_output.cpp +++ b/src/plugins/intel_gpu/src/graph/detection_output.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(detection_output) +GPU_DEFINE_PRIMITIVE_TYPE_ID(detection_output) layout detection_output_inst::calc_output_layout(detection_output_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/dft.cpp b/src/plugins/intel_gpu/src/graph/dft.cpp index 23d3b7c16a7ec3..3b0b079646f270 100644 --- a/src/plugins/intel_gpu/src/graph/dft.cpp +++ b/src/plugins/intel_gpu/src/graph/dft.cpp @@ -8,7 +8,7 @@ #include "json_object.h" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(dft) +GPU_DEFINE_PRIMITIVE_TYPE_ID(dft) layout dft_inst::calc_output_layout(const dft_node& node, const kernel_impl_params& impl_param) { const auto primitive = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/eltwise.cpp b/src/plugins/intel_gpu/src/graph/eltwise.cpp index aa3005fc6c89bb..c38963212616a5 100644 --- a/src/plugins/intel_gpu/src/graph/eltwise.cpp +++ b/src/plugins/intel_gpu/src/graph/eltwise.cpp @@ -12,7 +12,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(eltwise) +GPU_DEFINE_PRIMITIVE_TYPE_ID(eltwise) layout eltwise_inst::calc_output_layout(eltwise_node const& node, kernel_impl_params const& impl_param) { size_t primary_input_idx = 0; diff --git a/src/plugins/intel_gpu/src/graph/embedding_bag.cpp b/src/plugins/intel_gpu/src/graph/embedding_bag.cpp index 8200a78b8d7865..e2863bfabb6e1a 100644 --- a/src/plugins/intel_gpu/src/graph/embedding_bag.cpp +++ b/src/plugins/intel_gpu/src/graph/embedding_bag.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(embedding_bag) +GPU_DEFINE_PRIMITIVE_TYPE_ID(embedding_bag) layout embedding_bag_inst::calc_output_layout(embedding_bag_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/experimental_detectron_detection_output.cpp b/src/plugins/intel_gpu/src/graph/experimental_detectron_detection_output.cpp index 2809e34f37f5f7..63cf986939a2e8 100644 --- a/src/plugins/intel_gpu/src/graph/experimental_detectron_detection_output.cpp +++ b/src/plugins/intel_gpu/src/graph/experimental_detectron_detection_output.cpp @@ -10,7 +10,7 @@ #include "primitive_type_base.h" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(experimental_detectron_detection_output) +GPU_DEFINE_PRIMITIVE_TYPE_ID(experimental_detectron_detection_output) layout experimental_detectron_detection_output_inst::calc_output_layout( const experimental_detectron_detection_output_node& node, kernel_impl_params const& impl_param) { diff --git a/src/plugins/intel_gpu/src/graph/experimental_detectron_generate_proposal_single_image.cpp b/src/plugins/intel_gpu/src/graph/experimental_detectron_generate_proposal_single_image.cpp index 9ecb3e3ca549e8..4399a9b4d1243a 100644 --- a/src/plugins/intel_gpu/src/graph/experimental_detectron_generate_proposal_single_image.cpp +++ b/src/plugins/intel_gpu/src/graph/experimental_detectron_generate_proposal_single_image.cpp @@ -9,7 +9,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(experimental_detectron_generate_proposals_single_image) +GPU_DEFINE_PRIMITIVE_TYPE_ID(experimental_detectron_generate_proposals_single_image) layout experimental_detectron_generate_proposals_single_image_inst::calc_output_layout( const experimental_detectron_generate_proposals_single_image_node& node, kernel_impl_params const& impl_param) { diff --git a/src/plugins/intel_gpu/src/graph/experimental_detectron_prior_grid_generator.cpp b/src/plugins/intel_gpu/src/graph/experimental_detectron_prior_grid_generator.cpp index 7104380b73fa04..8f92bf87a5386b 100644 --- a/src/plugins/intel_gpu/src/graph/experimental_detectron_prior_grid_generator.cpp +++ b/src/plugins/intel_gpu/src/graph/experimental_detectron_prior_grid_generator.cpp @@ -8,7 +8,7 @@ #include "json_object.h" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(experimental_detectron_prior_grid_generator) +GPU_DEFINE_PRIMITIVE_TYPE_ID(experimental_detectron_prior_grid_generator) layout experimental_detectron_prior_grid_generator_inst::calc_output_layout( const experimental_detectron_prior_grid_generator_node& node, kernel_impl_params const& impl_param) { diff --git a/src/plugins/intel_gpu/src/graph/experimental_detectron_roi_feature_extractor.cpp b/src/plugins/intel_gpu/src/graph/experimental_detectron_roi_feature_extractor.cpp index 955597f70b134a..5ff14f1d68aa51 100644 --- a/src/plugins/intel_gpu/src/graph/experimental_detectron_roi_feature_extractor.cpp +++ b/src/plugins/intel_gpu/src/graph/experimental_detectron_roi_feature_extractor.cpp @@ -9,7 +9,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(experimental_detectron_roi_feature_extractor) +GPU_DEFINE_PRIMITIVE_TYPE_ID(experimental_detectron_roi_feature_extractor) size_t experimental_detectron_roi_feature_extractor_inst::inputs_memory_count() const { return parent::inputs_memory_count() - 1; diff --git a/src/plugins/intel_gpu/src/graph/experimental_detectron_topk_rois.cpp b/src/plugins/intel_gpu/src/graph/experimental_detectron_topk_rois.cpp index d4b30c3117d636..ce87eb7c085d85 100644 --- a/src/plugins/intel_gpu/src/graph/experimental_detectron_topk_rois.cpp +++ b/src/plugins/intel_gpu/src/graph/experimental_detectron_topk_rois.cpp @@ -9,7 +9,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(experimental_detectron_topk_rois) +GPU_DEFINE_PRIMITIVE_TYPE_ID(experimental_detectron_topk_rois) experimental_detectron_topk_rois_inst::typed_primitive_inst(network& network, experimental_detectron_topk_rois_node const &node) : parent(network, node) { diff --git a/src/plugins/intel_gpu/src/graph/extract_image_patches.cpp b/src/plugins/intel_gpu/src/graph/extract_image_patches.cpp index 0a752e046263b5..a146ec85f29497 100644 --- a/src/plugins/intel_gpu/src/graph/extract_image_patches.cpp +++ b/src/plugins/intel_gpu/src/graph/extract_image_patches.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(extract_image_patches) +GPU_DEFINE_PRIMITIVE_TYPE_ID(extract_image_patches) layout extract_image_patches_inst::calc_output_layout(extract_image_patches_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/eye.cpp b/src/plugins/intel_gpu/src/graph/eye.cpp index f2d0219b775981..270f270c02cd84 100644 --- a/src/plugins/intel_gpu/src/graph/eye.cpp +++ b/src/plugins/intel_gpu/src/graph/eye.cpp @@ -10,7 +10,7 @@ #include "primitive_type_base.h" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(eye) +GPU_DEFINE_PRIMITIVE_TYPE_ID(eye) eye_inst::typed_primitive_inst(network& network, eye_node const& node) : parent(network, node) {} diff --git a/src/plugins/intel_gpu/src/graph/fully_connected.cpp b/src/plugins/intel_gpu/src/graph/fully_connected.cpp index 1043dbf578eafe..570fe7f06c0ac8 100644 --- a/src/plugins/intel_gpu/src/graph/fully_connected.cpp +++ b/src/plugins/intel_gpu/src/graph/fully_connected.cpp @@ -14,7 +14,7 @@ #include "matmul_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(fully_connected) +GPU_DEFINE_PRIMITIVE_TYPE_ID(fully_connected) namespace { bool is_batch_after_spatial(const std::string order) { diff --git a/src/plugins/intel_gpu/src/graph/gather.cpp b/src/plugins/intel_gpu/src/graph/gather.cpp index 237763795067c8..fd8418afb5fb93 100644 --- a/src/plugins/intel_gpu/src/graph/gather.cpp +++ b/src/plugins/intel_gpu/src/graph/gather.cpp @@ -12,7 +12,7 @@ #include "gather_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(gather) +GPU_DEFINE_PRIMITIVE_TYPE_ID(gather) layout gather_inst::calc_output_layout(gather_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/gather_elements.cpp b/src/plugins/intel_gpu/src/graph/gather_elements.cpp index 24383f5ddacc99..3f06b2441ff6c7 100644 --- a/src/plugins/intel_gpu/src/graph/gather_elements.cpp +++ b/src/plugins/intel_gpu/src/graph/gather_elements.cpp @@ -11,7 +11,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(gather_elements) +GPU_DEFINE_PRIMITIVE_TYPE_ID(gather_elements) layout gather_elements_inst::calc_output_layout(gather_elements_node const& node, kernel_impl_params const& impl_param) { auto op = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/gather_nd.cpp b/src/plugins/intel_gpu/src/graph/gather_nd.cpp index 8ab38f4566c462..692b50411d1a13 100644 --- a/src/plugins/intel_gpu/src/graph/gather_nd.cpp +++ b/src/plugins/intel_gpu/src/graph/gather_nd.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(gather_nd) +GPU_DEFINE_PRIMITIVE_TYPE_ID(gather_nd) layout gather_nd_inst::calc_output_layout(gather_nd_node const& node, kernel_impl_params const& impl_param) { auto op = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/gather_tree.cpp b/src/plugins/intel_gpu/src/graph/gather_tree.cpp index 8d4da28255ebf5..498385ead947b0 100644 --- a/src/plugins/intel_gpu/src/graph/gather_tree.cpp +++ b/src/plugins/intel_gpu/src/graph/gather_tree.cpp @@ -11,7 +11,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(gather_tree) +GPU_DEFINE_PRIMITIVE_TYPE_ID(gather_tree) layout gather_tree_inst::calc_output_layout(gather_tree_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/gemm.cpp b/src/plugins/intel_gpu/src/graph/gemm.cpp index 8c2f7c328fb09f..8b3f9e5ac904e6 100644 --- a/src/plugins/intel_gpu/src/graph/gemm.cpp +++ b/src/plugins/intel_gpu/src/graph/gemm.cpp @@ -14,7 +14,7 @@ #include "matmul_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(gemm) +GPU_DEFINE_PRIMITIVE_TYPE_ID(gemm) layout gemm_inst::calc_output_layout(gemm_node const& node, kernel_impl_params const& impl_param) { auto prim = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/generate_proposals.cpp b/src/plugins/intel_gpu/src/graph/generate_proposals.cpp index 21ae399d2ded62..f0a13313f3fcae 100644 --- a/src/plugins/intel_gpu/src/graph/generate_proposals.cpp +++ b/src/plugins/intel_gpu/src/graph/generate_proposals.cpp @@ -9,7 +9,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(generate_proposals) +GPU_DEFINE_PRIMITIVE_TYPE_ID(generate_proposals) layout generate_proposals_inst::calc_output_layout(const generate_proposals_node& node, kernel_impl_params const& impl_param) { const layout data_layout = impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/generic_layer.cpp b/src/plugins/intel_gpu/src/graph/generic_layer.cpp index 7d5be4ee1c9e52..a452dab4cc188a 100644 --- a/src/plugins/intel_gpu/src/graph/generic_layer.cpp +++ b/src/plugins/intel_gpu/src/graph/generic_layer.cpp @@ -13,7 +13,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(generic_layer) +GPU_DEFINE_PRIMITIVE_TYPE_ID(generic_layer) generic_layer_node::typed_program_node(const std::shared_ptr prim, program& prog) : parent(prim, prog) { diff --git a/src/plugins/intel_gpu/src/graph/grid_sample.cpp b/src/plugins/intel_gpu/src/graph/grid_sample.cpp index 26dde9a821f489..9fc3575d9395e1 100644 --- a/src/plugins/intel_gpu/src/graph/grid_sample.cpp +++ b/src/plugins/intel_gpu/src/graph/grid_sample.cpp @@ -9,7 +9,7 @@ #include "primitive_type_base.h" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(grid_sample) +GPU_DEFINE_PRIMITIVE_TYPE_ID(grid_sample) layout grid_sample_inst::calc_output_layout(const grid_sample_node& node, const kernel_impl_params& impl_param) { const auto data_layout = impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/grn.cpp b/src/plugins/intel_gpu/src/graph/grn.cpp index 231b8aa275fdab..e68f17554516ad 100644 --- a/src/plugins/intel_gpu/src/graph/grn.cpp +++ b/src/plugins/intel_gpu/src/graph/grn.cpp @@ -8,7 +8,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(grn) +GPU_DEFINE_PRIMITIVE_TYPE_ID(grn) layout grn_inst::calc_output_layout(grn_node const& node, kernel_impl_params const& impl_param) { auto input_node_layout = impl_param.get_non_padded_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/input_layout.cpp b/src/plugins/intel_gpu/src/graph/input_layout.cpp index 23b94c4f15eca8..e884ae184e7210 100644 --- a/src/plugins/intel_gpu/src/graph/input_layout.cpp +++ b/src/plugins/intel_gpu/src/graph/input_layout.cpp @@ -25,7 +25,7 @@ bool has_optimized_users(input_layout_node const& node) { } // namespace namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(input_layout) +GPU_DEFINE_PRIMITIVE_TYPE_ID(input_layout) input_layout_node::typed_program_node(const std::shared_ptr dprim, program& prog) : parent(dprim, prog) { diff --git a/src/plugins/intel_gpu/src/graph/loop.cpp b/src/plugins/intel_gpu/src/graph/loop.cpp index d4ce062744ce5e..516d452031f843 100644 --- a/src/plugins/intel_gpu/src/graph/loop.cpp +++ b/src/plugins/intel_gpu/src/graph/loop.cpp @@ -14,7 +14,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(loop) +GPU_DEFINE_PRIMITIVE_TYPE_ID(loop) static bool check_if_axis_is_set_properly(loop_node const & node) { const auto& input_primitive_maps = node.get_input_primitive_maps(); diff --git a/src/plugins/intel_gpu/src/graph/lrn.cpp b/src/plugins/intel_gpu/src/graph/lrn.cpp index 6981a312f371dd..9444e357245740 100644 --- a/src/plugins/intel_gpu/src/graph/lrn.cpp +++ b/src/plugins/intel_gpu/src/graph/lrn.cpp @@ -9,7 +9,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(lrn) +GPU_DEFINE_PRIMITIVE_TYPE_ID(lrn) layout lrn_inst::calc_output_layout(lrn_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/lstm.cpp b/src/plugins/intel_gpu/src/graph/lstm.cpp index a160f98308ae2d..eba2522110c44e 100644 --- a/src/plugins/intel_gpu/src/graph/lstm.cpp +++ b/src/plugins/intel_gpu/src/graph/lstm.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(lstm) +GPU_DEFINE_PRIMITIVE_TYPE_ID(lstm) layout lstm_inst::calc_output_layout(lstm_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/lstm_dynamic.cpp b/src/plugins/intel_gpu/src/graph/lstm_dynamic.cpp index 68045acd815fdf..282f20cb2aae4a 100644 --- a/src/plugins/intel_gpu/src/graph/lstm_dynamic.cpp +++ b/src/plugins/intel_gpu/src/graph/lstm_dynamic.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(lstm_dynamic) +GPU_DEFINE_PRIMITIVE_TYPE_ID(lstm_dynamic) // input_tensor: [b: batch, f: max_sequence_length, x: input_size, y: direction] // weights_tensor: [b: 1, f: direction, x: input_size, y: 4 * hidden_size] diff --git a/src/plugins/intel_gpu/src/graph/lstm_dynamic_input.cpp b/src/plugins/intel_gpu/src/graph/lstm_dynamic_input.cpp index d82bfd494d8fa8..ff91a43107a6a6 100644 --- a/src/plugins/intel_gpu/src/graph/lstm_dynamic_input.cpp +++ b/src/plugins/intel_gpu/src/graph/lstm_dynamic_input.cpp @@ -11,7 +11,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(lstm_dynamic_input) +GPU_DEFINE_PRIMITIVE_TYPE_ID(lstm_dynamic_input) // input_tensor: [b: batch, f: max_sequence_length, x: input_size, y: direction] // weights_tensor: [b: 1, f: direction, x: input_size, y: 4 * hidden_size] // output_tensor: [b: batch, f: max_sequence_length, x: 4 * hidden_size, y: direction] diff --git a/src/plugins/intel_gpu/src/graph/lstm_dynamic_timeloop.cpp b/src/plugins/intel_gpu/src/graph/lstm_dynamic_timeloop.cpp index c1861c3b9f6b38..dfe062deeda739 100644 --- a/src/plugins/intel_gpu/src/graph/lstm_dynamic_timeloop.cpp +++ b/src/plugins/intel_gpu/src/graph/lstm_dynamic_timeloop.cpp @@ -11,7 +11,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(lstm_dynamic_timeloop) +GPU_DEFINE_PRIMITIVE_TYPE_ID(lstm_dynamic_timeloop) program_node& lstm_dynamic_timeloop_node::get_dependency_by_name(std::string val) const { return get_dependency(get_dependency_idx(val)); diff --git a/src/plugins/intel_gpu/src/graph/lstm_elt.cpp b/src/plugins/intel_gpu/src/graph/lstm_elt.cpp index 13000501ec3f83..60702247f73faa 100644 --- a/src/plugins/intel_gpu/src/graph/lstm_elt.cpp +++ b/src/plugins/intel_gpu/src/graph/lstm_elt.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(lstm_elt) +GPU_DEFINE_PRIMITIVE_TYPE_ID(lstm_elt) layout lstm_elt_inst::calc_output_layout(lstm_elt_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/lstm_gemm.cpp b/src/plugins/intel_gpu/src/graph/lstm_gemm.cpp index 194226e10b048c..60392acd7a50c3 100644 --- a/src/plugins/intel_gpu/src/graph/lstm_gemm.cpp +++ b/src/plugins/intel_gpu/src/graph/lstm_gemm.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(lstm_gemm) +GPU_DEFINE_PRIMITIVE_TYPE_ID(lstm_gemm) layout lstm_gemm_inst::calc_output_layout(lstm_gemm_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/matrix_nms.cpp b/src/plugins/intel_gpu/src/graph/matrix_nms.cpp index 0d5f39385d911e..c2c927137ea834 100644 --- a/src/plugins/intel_gpu/src/graph/matrix_nms.cpp +++ b/src/plugins/intel_gpu/src/graph/matrix_nms.cpp @@ -11,7 +11,7 @@ #include "primitive_type_base.h" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(matrix_nms) +GPU_DEFINE_PRIMITIVE_TYPE_ID(matrix_nms) layout matrix_nms_inst::calc_output_layout(const matrix_nms_node& node, const kernel_impl_params& impl_param) { const auto primitive = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/multiclass_nms.cpp b/src/plugins/intel_gpu/src/graph/multiclass_nms.cpp index 2002aceb36ff96..394ea4bac47cc3 100644 --- a/src/plugins/intel_gpu/src/graph/multiclass_nms.cpp +++ b/src/plugins/intel_gpu/src/graph/multiclass_nms.cpp @@ -10,7 +10,7 @@ #include "primitive_type_base.h" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(multiclass_nms) +GPU_DEFINE_PRIMITIVE_TYPE_ID(multiclass_nms) layout multiclass_nms_inst::calc_output_layout(const multiclass_nms_node& node, const kernel_impl_params& impl_param) { const auto input_layout = impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/mutable_data.cpp b/src/plugins/intel_gpu/src/graph/mutable_data.cpp index 71f1304fc6ed81..60755e483cfbcc 100644 --- a/src/plugins/intel_gpu/src/graph/mutable_data.cpp +++ b/src/plugins/intel_gpu/src/graph/mutable_data.cpp @@ -14,7 +14,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(mutable_data) +GPU_DEFINE_PRIMITIVE_TYPE_ID(mutable_data) namespace { memory::ptr attach_or_copy_data(network& network, memory::ptr mem, bool reuse) { diff --git a/src/plugins/intel_gpu/src/graph/mvn.cpp b/src/plugins/intel_gpu/src/graph/mvn.cpp index 4d205cf4eea377..fc1a23a34ab735 100644 --- a/src/plugins/intel_gpu/src/graph/mvn.cpp +++ b/src/plugins/intel_gpu/src/graph/mvn.cpp @@ -8,7 +8,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(mvn) +GPU_DEFINE_PRIMITIVE_TYPE_ID(mvn) layout mvn_inst::calc_output_layout(mvn_node const& node, kernel_impl_params const& impl_param) { auto input_node_layout = impl_param.get_non_padded_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/non_max_suppression.cpp b/src/plugins/intel_gpu/src/graph/non_max_suppression.cpp index 149aaee5013c72..1f6c7d72f5032f 100644 --- a/src/plugins/intel_gpu/src/graph/non_max_suppression.cpp +++ b/src/plugins/intel_gpu/src/graph/non_max_suppression.cpp @@ -11,7 +11,7 @@ #include "nms_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(non_max_suppression) +GPU_DEFINE_PRIMITIVE_TYPE_ID(non_max_suppression) layout non_max_suppression_inst::calc_output_layout(non_max_suppression_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/non_zero.cpp b/src/plugins/intel_gpu/src/graph/non_zero.cpp index 48616da55deab6..32c173ef73e216 100644 --- a/src/plugins/intel_gpu/src/graph/non_zero.cpp +++ b/src/plugins/intel_gpu/src/graph/non_zero.cpp @@ -16,7 +16,7 @@ namespace cldnn { // ----------------------------------------------- // count_nonzero // ----------------------------------------------- -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(count_nonzero) +GPU_DEFINE_PRIMITIVE_TYPE_ID(count_nonzero) layout count_nonzero_inst::calc_output_layout(count_nonzero_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(node.get_primitive()->output_data_type) == false && @@ -57,7 +57,7 @@ void count_nonzero_inst::on_execute() { // ----------------------------------------------- // gather_nonzero // ----------------------------------------------- -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(gather_nonzero) +GPU_DEFINE_PRIMITIVE_TYPE_ID(gather_nonzero) layout gather_nonzero_inst::calc_output_layout(gather_nonzero_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(node.get_primitive()->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/normalize.cpp b/src/plugins/intel_gpu/src/graph/normalize.cpp index c7d4cbc4eaac9f..5f70c59093e56b 100644 --- a/src/plugins/intel_gpu/src/graph/normalize.cpp +++ b/src/plugins/intel_gpu/src/graph/normalize.cpp @@ -9,7 +9,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(normalize) +GPU_DEFINE_PRIMITIVE_TYPE_ID(normalize) layout normalize_inst::calc_output_layout(normalize_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/one_hot.cpp b/src/plugins/intel_gpu/src/graph/one_hot.cpp index 46ebca345fc27c..3dd48a8a7adcd2 100644 --- a/src/plugins/intel_gpu/src/graph/one_hot.cpp +++ b/src/plugins/intel_gpu/src/graph/one_hot.cpp @@ -13,7 +13,7 @@ #include "one_hot_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(one_hot) +GPU_DEFINE_PRIMITIVE_TYPE_ID(one_hot) static bool is_output_bfzyx(const layout& input, int32_t axis) { if (input.format == format::bfzyx) diff --git a/src/plugins/intel_gpu/src/graph/permute.cpp b/src/plugins/intel_gpu/src/graph/permute.cpp index 52296081152fe8..d25afad5acd157 100644 --- a/src/plugins/intel_gpu/src/graph/permute.cpp +++ b/src/plugins/intel_gpu/src/graph/permute.cpp @@ -13,7 +13,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(permute) +GPU_DEFINE_PRIMITIVE_TYPE_ID(permute) layout permute_inst::calc_output_layout(permute_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/pooling.cpp b/src/plugins/intel_gpu/src/graph/pooling.cpp index db86d6acf3b78c..581bae675a0c4f 100644 --- a/src/plugins/intel_gpu/src/graph/pooling.cpp +++ b/src/plugins/intel_gpu/src/graph/pooling.cpp @@ -16,7 +16,7 @@ using namespace ov::intel_gpu; namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(pooling) +GPU_DEFINE_PRIMITIVE_TYPE_ID(pooling) layout pooling_inst::calc_output_layout(parent::typed_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/prior_box.cpp b/src/plugins/intel_gpu/src/graph/prior_box.cpp index fdf1af812b6e71..50b6f7e643a16d 100644 --- a/src/plugins/intel_gpu/src/graph/prior_box.cpp +++ b/src/plugins/intel_gpu/src/graph/prior_box.cpp @@ -14,7 +14,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(prior_box) +GPU_DEFINE_PRIMITIVE_TYPE_ID(prior_box) namespace { template diff --git a/src/plugins/intel_gpu/src/graph/proposal.cpp b/src/plugins/intel_gpu/src/graph/proposal.cpp index 5918ddf4af61e5..c8a6e4b5de6530 100644 --- a/src/plugins/intel_gpu/src/graph/proposal.cpp +++ b/src/plugins/intel_gpu/src/graph/proposal.cpp @@ -20,7 +20,7 @@ static void generate_anchors(unsigned base_size, bool shift_anchors, bool round_ratios); -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(proposal) +GPU_DEFINE_PRIMITIVE_TYPE_ID(proposal) layout proposal_inst::calc_output_layout(proposal_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/pyramid_roi_align.cpp b/src/plugins/intel_gpu/src/graph/pyramid_roi_align.cpp index 1427ea1e9148e7..4a20c26d490fd9 100644 --- a/src/plugins/intel_gpu/src/graph/pyramid_roi_align.cpp +++ b/src/plugins/intel_gpu/src/graph/pyramid_roi_align.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(pyramid_roi_align) +GPU_DEFINE_PRIMITIVE_TYPE_ID(pyramid_roi_align) layout pyramid_roi_align_inst::calc_output_layout(pyramid_roi_align_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/quantize.cpp b/src/plugins/intel_gpu/src/graph/quantize.cpp index 1d718541d2bec1..fb49cbf11566f5 100644 --- a/src/plugins/intel_gpu/src/graph/quantize.cpp +++ b/src/plugins/intel_gpu/src/graph/quantize.cpp @@ -12,7 +12,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(quantize) +GPU_DEFINE_PRIMITIVE_TYPE_ID(quantize) layout quantize_inst::calc_output_layout(quantize_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/random_uniform.cpp b/src/plugins/intel_gpu/src/graph/random_uniform.cpp index df6d8ecb0ab4fa..29603cab7b6a8c 100644 --- a/src/plugins/intel_gpu/src/graph/random_uniform.cpp +++ b/src/plugins/intel_gpu/src/graph/random_uniform.cpp @@ -9,7 +9,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(random_uniform) +GPU_DEFINE_PRIMITIVE_TYPE_ID(random_uniform) random_uniform_inst::typed_primitive_inst(network& network, random_uniform_node const &node) : parent(network, node) { diff --git a/src/plugins/intel_gpu/src/graph/range.cpp b/src/plugins/intel_gpu/src/graph/range.cpp index a962263169b390..86459ebb0dd020 100644 --- a/src/plugins/intel_gpu/src/graph/range.cpp +++ b/src/plugins/intel_gpu/src/graph/range.cpp @@ -18,7 +18,7 @@ std::string lexical_cast(const json_base& j, int offset = 1) { } } // namespace -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(range) +GPU_DEFINE_PRIMITIVE_TYPE_ID(range) layout range_inst::calc_output_layout(range_node const& node, kernel_impl_params const& impl_param) { return impl_param.typed_desc()->output_layout; diff --git a/src/plugins/intel_gpu/src/graph/read_value.cpp b/src/plugins/intel_gpu/src/graph/read_value.cpp index 6b43e35eada980..bcced0f3a542e1 100644 --- a/src/plugins/intel_gpu/src/graph/read_value.cpp +++ b/src/plugins/intel_gpu/src/graph/read_value.cpp @@ -9,7 +9,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(read_value) +GPU_DEFINE_PRIMITIVE_TYPE_ID(read_value) read_value_inst::typed_primitive_inst(network& network, const read_value_node& node) : parent(network, node, false), diff --git a/src/plugins/intel_gpu/src/graph/reduce.cpp b/src/plugins/intel_gpu/src/graph/reduce.cpp index 6b0c23b1ac11ee..a063c06a159bf6 100644 --- a/src/plugins/intel_gpu/src/graph/reduce.cpp +++ b/src/plugins/intel_gpu/src/graph/reduce.cpp @@ -14,7 +14,7 @@ #include "reduce_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(reduce) +GPU_DEFINE_PRIMITIVE_TYPE_ID(reduce) static std::vector convert_axes(std::vector axes, size_t rank) { std::vector converted_axes; diff --git a/src/plugins/intel_gpu/src/graph/region_yolo.cpp b/src/plugins/intel_gpu/src/graph/region_yolo.cpp index eed4a5900ccec4..b470eccd526f3d 100644 --- a/src/plugins/intel_gpu/src/graph/region_yolo.cpp +++ b/src/plugins/intel_gpu/src/graph/region_yolo.cpp @@ -8,7 +8,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(region_yolo) +GPU_DEFINE_PRIMITIVE_TYPE_ID(region_yolo) layout region_yolo_inst::calc_output_layout(region_yolo_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/reorder.cpp b/src/plugins/intel_gpu/src/graph/reorder.cpp index b2b02b2e8c14bd..cf57879291f44f 100644 --- a/src/plugins/intel_gpu/src/graph/reorder.cpp +++ b/src/plugins/intel_gpu/src/graph/reorder.cpp @@ -14,7 +14,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(reorder) +GPU_DEFINE_PRIMITIVE_TYPE_ID(reorder) layout reorder_inst::calc_output_layout(reorder_node const& node, kernel_impl_params const& impl_param) { auto input_layout = impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/reorg_yolo.cpp b/src/plugins/intel_gpu/src/graph/reorg_yolo.cpp index f508ded049a2d6..939386fc4c8784 100644 --- a/src/plugins/intel_gpu/src/graph/reorg_yolo.cpp +++ b/src/plugins/intel_gpu/src/graph/reorg_yolo.cpp @@ -8,7 +8,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(reorg_yolo) +GPU_DEFINE_PRIMITIVE_TYPE_ID(reorg_yolo) layout reorg_yolo_inst::calc_output_layout(reorg_yolo_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/resample.cpp b/src/plugins/intel_gpu/src/graph/resample.cpp index 9677787d549370..27061cf1080782 100644 --- a/src/plugins/intel_gpu/src/graph/resample.cpp +++ b/src/plugins/intel_gpu/src/graph/resample.cpp @@ -12,7 +12,7 @@ #include "interpolate_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(resample) +GPU_DEFINE_PRIMITIVE_TYPE_ID(resample) layout resample_inst::calc_output_layout(resample_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/reshape.cpp b/src/plugins/intel_gpu/src/graph/reshape.cpp index 2c0803f43c739a..06d25e9b29de9b 100644 --- a/src/plugins/intel_gpu/src/graph/reshape.cpp +++ b/src/plugins/intel_gpu/src/graph/reshape.cpp @@ -15,7 +15,7 @@ #include "unsqueeze_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(reshape) +GPU_DEFINE_PRIMITIVE_TYPE_ID(reshape) layout reshape_inst::calc_output_layout(reshape_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/reverse.cpp b/src/plugins/intel_gpu/src/graph/reverse.cpp index d64dea885097d5..11388ecadb4f11 100644 --- a/src/plugins/intel_gpu/src/graph/reverse.cpp +++ b/src/plugins/intel_gpu/src/graph/reverse.cpp @@ -9,7 +9,7 @@ #include "reverse_inst.h" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(reverse) +GPU_DEFINE_PRIMITIVE_TYPE_ID(reverse) layout reverse_inst::calc_output_layout(reverse_node const& node, kernel_impl_params const& impl_param) { return impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/reverse_sequence.cpp b/src/plugins/intel_gpu/src/graph/reverse_sequence.cpp index 9ba8a4d367f413..cbb99ebed30078 100644 --- a/src/plugins/intel_gpu/src/graph/reverse_sequence.cpp +++ b/src/plugins/intel_gpu/src/graph/reverse_sequence.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(reverse_sequence) +GPU_DEFINE_PRIMITIVE_TYPE_ID(reverse_sequence) layout reverse_sequence_inst::calc_output_layout(reverse_sequence_node const& node, kernel_impl_params const& impl_param) { auto input_layout = impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/roi_align.cpp b/src/plugins/intel_gpu/src/graph/roi_align.cpp index fc9925a910edbc..2ae803582552c8 100644 --- a/src/plugins/intel_gpu/src/graph/roi_align.cpp +++ b/src/plugins/intel_gpu/src/graph/roi_align.cpp @@ -9,7 +9,7 @@ #include "openvino/core/enum_names.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(roi_align) +GPU_DEFINE_PRIMITIVE_TYPE_ID(roi_align) roi_align_inst::typed_primitive_inst(network& network, roi_align_node const& node) : parent(network, node) {} diff --git a/src/plugins/intel_gpu/src/graph/roi_pooling.cpp b/src/plugins/intel_gpu/src/graph/roi_pooling.cpp index d0a3a7d268d5be..c64146fc1d1d7d 100644 --- a/src/plugins/intel_gpu/src/graph/roi_pooling.cpp +++ b/src/plugins/intel_gpu/src/graph/roi_pooling.cpp @@ -9,7 +9,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(roi_pooling) +GPU_DEFINE_PRIMITIVE_TYPE_ID(roi_pooling) layout roi_pooling_inst::calc_output_layout(roi_pooling_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/roll.cpp b/src/plugins/intel_gpu/src/graph/roll.cpp index 46c5fef6c36fdd..e42c3302c5c080 100644 --- a/src/plugins/intel_gpu/src/graph/roll.cpp +++ b/src/plugins/intel_gpu/src/graph/roll.cpp @@ -9,7 +9,7 @@ #include "roll_inst.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(roll) +GPU_DEFINE_PRIMITIVE_TYPE_ID(roll) layout roll_inst::calc_output_layout(const roll_node& node, kernel_impl_params const& impl_param) { return impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/scatter_elements_update.cpp b/src/plugins/intel_gpu/src/graph/scatter_elements_update.cpp index 693f0fdd001806..cd60b1539ba46a 100644 --- a/src/plugins/intel_gpu/src/graph/scatter_elements_update.cpp +++ b/src/plugins/intel_gpu/src/graph/scatter_elements_update.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(scatter_elements_update) +GPU_DEFINE_PRIMITIVE_TYPE_ID(scatter_elements_update) layout scatter_elements_update_inst::calc_output_layout(scatter_elements_update_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/scatter_nd_update.cpp b/src/plugins/intel_gpu/src/graph/scatter_nd_update.cpp index 7259e1c8ec4cff..c9ae82a5ba2c4b 100644 --- a/src/plugins/intel_gpu/src/graph/scatter_nd_update.cpp +++ b/src/plugins/intel_gpu/src/graph/scatter_nd_update.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(scatter_nd_update) +GPU_DEFINE_PRIMITIVE_TYPE_ID(scatter_nd_update) layout scatter_nd_update_inst::calc_output_layout(scatter_nd_update_node const& node, kernel_impl_params const& impl_param) { auto input_layout = impl_param.get_input_layout(); diff --git a/src/plugins/intel_gpu/src/graph/scatter_update.cpp b/src/plugins/intel_gpu/src/graph/scatter_update.cpp index 6f8e8f285ffe9f..1b72ab9ca2355f 100644 --- a/src/plugins/intel_gpu/src/graph/scatter_update.cpp +++ b/src/plugins/intel_gpu/src/graph/scatter_update.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(scatter_update) +GPU_DEFINE_PRIMITIVE_TYPE_ID(scatter_update) layout scatter_update_inst::calc_output_layout(scatter_update_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/select.cpp b/src/plugins/intel_gpu/src/graph/select.cpp index 6e38ca3098768a..9d46fa91e63c11 100644 --- a/src/plugins/intel_gpu/src/graph/select.cpp +++ b/src/plugins/intel_gpu/src/graph/select.cpp @@ -12,7 +12,7 @@ #include "select_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(select) +GPU_DEFINE_PRIMITIVE_TYPE_ID(select) layout select_inst::calc_output_layout(select_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/shape_of.cpp b/src/plugins/intel_gpu/src/graph/shape_of.cpp index 777380fe1e7cee..3098f91a329766 100644 --- a/src/plugins/intel_gpu/src/graph/shape_of.cpp +++ b/src/plugins/intel_gpu/src/graph/shape_of.cpp @@ -11,7 +11,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(shape_of) +GPU_DEFINE_PRIMITIVE_TYPE_ID(shape_of) layout shape_of_inst::calc_output_layout(shape_of_node const& node, kernel_impl_params const& impl_param) { auto prim = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/shuffle_channels.cpp b/src/plugins/intel_gpu/src/graph/shuffle_channels.cpp index 1e281bcbdd2953..8444c299608e36 100644 --- a/src/plugins/intel_gpu/src/graph/shuffle_channels.cpp +++ b/src/plugins/intel_gpu/src/graph/shuffle_channels.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(shuffle_channels) +GPU_DEFINE_PRIMITIVE_TYPE_ID(shuffle_channels) layout shuffle_channels_inst::calc_output_layout(shuffle_channels_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/slice.cpp b/src/plugins/intel_gpu/src/graph/slice.cpp index 5bd3c7cc66b089..7192832a1511c6 100644 --- a/src/plugins/intel_gpu/src/graph/slice.cpp +++ b/src/plugins/intel_gpu/src/graph/slice.cpp @@ -8,7 +8,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(slice) +GPU_DEFINE_PRIMITIVE_TYPE_ID(slice) slice_inst::typed_primitive_inst(network& network, slice_node const& node) : parent(network, node) {} diff --git a/src/plugins/intel_gpu/src/graph/softmax.cpp b/src/plugins/intel_gpu/src/graph/softmax.cpp index fad72c193431a1..50be812bb6b2bd 100644 --- a/src/plugins/intel_gpu/src/graph/softmax.cpp +++ b/src/plugins/intel_gpu/src/graph/softmax.cpp @@ -8,7 +8,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(softmax) +GPU_DEFINE_PRIMITIVE_TYPE_ID(softmax) layout softmax_inst::calc_output_layout(softmax_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/space_to_batch.cpp b/src/plugins/intel_gpu/src/graph/space_to_batch.cpp index 4a5641b4f53198..15134a37eb0d47 100644 --- a/src/plugins/intel_gpu/src/graph/space_to_batch.cpp +++ b/src/plugins/intel_gpu/src/graph/space_to_batch.cpp @@ -12,7 +12,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(space_to_batch) +GPU_DEFINE_PRIMITIVE_TYPE_ID(space_to_batch) layout space_to_batch_inst::calc_output_layout(space_to_batch_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/space_to_depth.cpp b/src/plugins/intel_gpu/src/graph/space_to_depth.cpp index ee47c07abed235..b171e24a7d7458 100644 --- a/src/plugins/intel_gpu/src/graph/space_to_depth.cpp +++ b/src/plugins/intel_gpu/src/graph/space_to_depth.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(space_to_depth) +GPU_DEFINE_PRIMITIVE_TYPE_ID(space_to_depth) layout space_to_depth_inst::calc_output_layout(space_to_depth_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/split.cpp b/src/plugins/intel_gpu/src/graph/split.cpp index a2f1286212adf3..70498abe6c8778 100644 --- a/src/plugins/intel_gpu/src/graph/split.cpp +++ b/src/plugins/intel_gpu/src/graph/split.cpp @@ -10,7 +10,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(split) +GPU_DEFINE_PRIMITIVE_TYPE_ID(split) layout split_inst::calc_output_layout(split_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false && diff --git a/src/plugins/intel_gpu/src/graph/strided_slice.cpp b/src/plugins/intel_gpu/src/graph/strided_slice.cpp index c5dc2859710184..341e22ead86490 100644 --- a/src/plugins/intel_gpu/src/graph/strided_slice.cpp +++ b/src/plugins/intel_gpu/src/graph/strided_slice.cpp @@ -13,7 +13,7 @@ #include "strided_slice_shape_inference.hpp" namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(strided_slice) +GPU_DEFINE_PRIMITIVE_TYPE_ID(strided_slice) layout strided_slice_inst::calc_output_layout(strided_slice_node const& node, kernel_impl_params const& impl_param) { auto desc = impl_param.typed_desc(); diff --git a/src/plugins/intel_gpu/src/graph/tile.cpp b/src/plugins/intel_gpu/src/graph/tile.cpp index 7a5d7896027ad0..da6e556a5aa623 100644 --- a/src/plugins/intel_gpu/src/graph/tile.cpp +++ b/src/plugins/intel_gpu/src/graph/tile.cpp @@ -13,7 +13,7 @@ #include namespace cldnn { -CLDNN_DEFINE_PRIMITIVE_TYPE_ID(tile) +GPU_DEFINE_PRIMITIVE_TYPE_ID(tile) layout tile_inst::calc_output_layout(tile_node const& node, kernel_impl_params const& impl_param) { assert(static_cast(impl_param.desc->output_data_type) == false &&