Skip to content

Commit

Permalink
updated CLDNN with GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
e-ddykim committed Nov 17, 2022
1 parent 30a0520 commit 2c6ecac
Show file tree
Hide file tree
Showing 93 changed files with 95 additions and 95 deletions.
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/adaptive_pooling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <string>

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();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/arg_max_min.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<arg_max_min>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/assign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <data_inst.h>

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},
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/average_unpooling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>

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<bool>(impl_param.desc->output_data_type) == false &&
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/batch_to_space.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <vector>

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<batch_to_space>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/binary_convolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <string>

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<binary_convolution>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/border.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <algorithm>

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<bool>(impl_param.desc->output_data_type) == false &&
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/broadcast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <set>

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<bool>(impl_param.desc->output_data_type) == false &&
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/bucketize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/concatenation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <list>

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<concatenation>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/condition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>

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.
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/convert_color.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>

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<convert_color>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/convolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<convolution>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/crop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool>(impl_param.desc->output_data_type) == false &&
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/ctc_greedy_decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <string>

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();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/ctc_loss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/cum_sum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>

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();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/custom_gpu_primitive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>

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();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <algorithm>

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) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/deconvolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool>(impl_param.desc->output_data_type) == false &&
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/intel_gpu/src/graph/deformable_convolution.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>

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<deformable_conv>();
Expand Down Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/depth_to_space.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>

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<depth_to_space>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/detection_output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>

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<bool>(impl_param.desc->output_data_type) == false &&
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/dft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<dft>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/eltwise.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <algorithm>

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;
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/embedding_bag.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>

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<embedding_bag>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <string>

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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <string>

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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <data_inst.h>

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) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/extract_image_patches.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>

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<extract_image_patches>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/eye.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/fully_connected.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/gather.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<gather>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/gather_elements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <string>

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<gather_elements>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/gather_nd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string>

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<gather_nd>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/gather_tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <algorithm>

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<bool>(impl_param.desc->output_data_type) == false &&
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/gemm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<gemm>();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/generate_proposals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <string>

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();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/generic_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <memory>

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<generic_layer> prim, program& prog)
: parent(prim, prog) {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/grid_sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/grn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <string>

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();
Expand Down
Loading

0 comments on commit 2c6ecac

Please sign in to comment.