Skip to content

Commit

Permalink
newline at eof
Browse files Browse the repository at this point in the history
  • Loading branch information
e-ddykim committed Nov 18, 2022
1 parent 87cbf8f commit afa2f3b
Show file tree
Hide file tree
Showing 46 changed files with 48 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ struct primitive_info {
CLDNN_DEFINE_TYPE_ID(PType) \
CLDNN_DEFINE_TYPE_STRING(PType)

#define CLDNN_DEFINE_PRIMITIVE_TYPE_ID(PType) \
#define GPU_DEFINE_PRIMITIVE_TYPE_ID(PType) \
primitive_type_id PType::type_id() { \
static primitive_type_base<PType> instance; \
return &instance; \
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/activation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <vector>

namespace cldnn {
CLDNN_DEFINE_PRIMITIVE_TYPE_ID(activation)
GPU_DEFINE_PRIMITIVE_TYPE_ID(activation)

layout activation_inst::calc_output_layout(activation_node const& node, kernel_impl_params const& impl_param) {
assert(static_cast<bool>(impl_param.desc->output_data_type) == false &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::common::wait_for_events_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/cpu/assign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ attach_assign_impl::attach_assign_impl() {
} // namespace cpu
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::assign_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::assign_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::detection_output_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::non_max_suppression_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/cpu/proposal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,4 +461,4 @@ attach_proposal_impl::attach_proposal_impl() {
} // namespace cpu
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::proposal_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::proposal_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/cpu/read_value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::cpu::read_value_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::adaptive_pooling_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/arg_max_min.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::arg_max_min_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::average_unpooling_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::batch_to_space_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/border.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,4 +166,4 @@ attach_border_impl::attach_border_impl() {
} // namespace ocl
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::border_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::border_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/broadcast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ attach_broadcast_impl::attach_broadcast_impl() {
} // namespace ocl
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::broadcast_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::broadcast_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/bucketize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ attach_bucketize_impl::attach_bucketize_impl() {
} // namespace ocl
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::bucketize_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::bucketize_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::convert_color_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::ctc_greedy_decoder_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/ctc_loss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::ctc_loss_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/cum_sum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::cum_sum_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::custom_gpu_primitive_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,4 @@ attach_deconvolution_impl::attach_deconvolution_impl() {
} // namespace ocl
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::deconvolution_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::deconvolution_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,4 @@ attach_deformable_interp_impl::attach_deformable_interp_impl() {
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::deformable_conv_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::deformable_interp_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::deformable_interp_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::depth_to_space_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::detection_output_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/dft.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ attach_dft_impl::attach_dft_impl() {
} // namespace ocl
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::dft_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::dft_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/eltwise.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,4 @@ attach_eltwise_impl::attach_eltwise_impl() {
} // namespace ocl
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::eltwise_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::eltwise_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::embedding_bag_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_detection_output_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_generate_proposals_single_image_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_prior_grid_generator_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_roi_feature_extractor_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::experimental_detectron_topk_rois_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::extract_image_patches_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/eye.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ attach_eye_impl::attach_eye_impl() {
} // namespace ocl
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::eye_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::eye_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::fully_connected_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/gather.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,4 @@ attach_gather_impl::attach_gather_impl() {
} // namespace ocl
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_elements_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/gather_nd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_nd_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/gather_tree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gather_tree_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/gemm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,4 @@ attach_gemm_impl::attach_gemm_impl() {
} // namespace ocl
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gemm_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::gemm_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ namespace detail {
} // namespace ocl
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::generate_proposals_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::generate_proposals_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::generic_layer_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/grid_sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::grid_sample_impl)
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/src/graph/impls/ocl/matrix_nms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ attach_matrix_nms_impl::attach_matrix_nms_impl() {
} // namespace ocl
} // namespace cldnn

BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::matrix_nms_impl)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::matrix_nms_impl)
Original file line number Diff line number Diff line change
Expand Up @@ -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)
BIND_BINARY_BUFFER_WITH_TYPE(cldnn::ocl::multiclass_nms_impl)
6 changes: 3 additions & 3 deletions src/plugins/intel_gpu/src/runtime/kernels_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ std::vector<kernel_id> kernels_cache::add_kernels_source(std::vector<std::shared
}

void kernels_cache::add_kernels(const std::vector<std::string>& kernel_ids, const std::vector<kernel::ptr>& kernels) {
OPENVINO_ASSERT(kernel_ids.size() == kernels.size(), "The sizes of kernel_ids and kernels are different.");
OPENVINO_ASSERT(kernel_ids.size() == kernels.size(), "[GPU] The sizes of kernel_ids and kernels are different.");

for (size_t i = 0; i < kernel_ids.size(); i++) {
const auto& kmap = std::make_pair(kernel_ids[i], kernels[i]);
Expand Down Expand Up @@ -486,7 +486,7 @@ void kernels_cache::compile() {
#endif
}
void kernels_cache::save(BinaryOutputBuffer& ob) const {
OPENVINO_ASSERT(_engine.type() == engine_types::ocl, "Not supported engine type");
OPENVINO_ASSERT(_engine.type() == engine_types::ocl, "[GPU] Not supported engine type");

std::map<std::string, std::string> entry_point_to_id;
for (auto iter = _kernels.begin(); iter != _kernels.end(); iter++) {
Expand Down Expand Up @@ -540,7 +540,7 @@ void kernels_cache::save(BinaryOutputBuffer& ob) const {
}

void kernels_cache::load(BinaryInputBuffer& ib) {
OPENVINO_ASSERT(_engine.type() == engine_types::ocl, "Not supported engine type");
OPENVINO_ASSERT(_engine.type() == engine_types::ocl, "[GPU] Not supported engine type");

std::unique_ptr<ocl::ocl_engine> build_engine =
cldnn::make_unique<ocl::ocl_engine>(_engine.get_device(), runtime_types::ocl, _engine.configuration(), _engine.get_task_executor());
Expand Down

0 comments on commit afa2f3b

Please sign in to comment.