[GPU] Simplify namespaces in the plugin part (#12121)
This commit is contained in:
committed by
GitHub
parent
ed812bdf68
commit
a185299ba4
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/plugin/infer_request.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
class AsyncInferRequest : public InferenceEngine::AsyncInferRequestThreadSafeDefault {
|
||||
@@ -32,5 +31,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "ngraph/type/element_type.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
#define TensorValue(val) static_cast<cldnn::tensor::value_type>(val)
|
||||
@@ -206,5 +205,4 @@ inline InferenceEngine::Layout InferenceEngineLayoutFromOVLayout(ov::Layout l) {
|
||||
}
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
#include "intel_gpu/plugin/remote_context.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
class CompiledModel : public InferenceEngine::ExecutableNetworkThreadSafeDefault {
|
||||
@@ -46,5 +45,4 @@ public:
|
||||
};
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "intel_gpu/runtime/tensor.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
using CustomLayerPtr = std::shared_ptr<class CustomLayer>;
|
||||
@@ -85,5 +84,4 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include <threading/ie_cpu_streams_executor.hpp>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
|
||||
@@ -109,5 +108,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "intel_gpu/plugin/program.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
class Graph {
|
||||
@@ -112,5 +111,4 @@ protected:
|
||||
};
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <threading/ie_istreams_executor.hpp>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
struct buf_info {
|
||||
@@ -111,5 +110,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include <openvino/itt.hpp>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
namespace itt {
|
||||
namespace domains {
|
||||
@@ -20,5 +19,4 @@ namespace domains {
|
||||
} // namespace domains
|
||||
} // namespace itt
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "intel_gpu/plugin/remote_context.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
using CustomLayerPtr = std::shared_ptr<class CustomLayer>;
|
||||
@@ -90,5 +89,4 @@ public:
|
||||
};
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -42,7 +42,6 @@ void __register ## _ ## op_name ## _ ## op_version() {
|
||||
}
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
std::string layer_type_lower(const ngraph::Node* op);
|
||||
@@ -194,5 +193,4 @@ void CreateElementwiseOp(Program& p, const std::shared_ptr<ngraph::Node>& node,
|
||||
bool IsNodeOnConstPath(const std::shared_ptr<ngraph::Node>& node);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include <atomic>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
class RemoteAllocator;
|
||||
|
||||
@@ -583,5 +582,4 @@ inline ExecutionContextImpl* getContextImpl(InferenceEngine::gpu::ClContext::Ptr
|
||||
}
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/plugin/device_config.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
class TransformationsPipeline {
|
||||
@@ -26,5 +25,4 @@ private:
|
||||
};
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <functional>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
class VariableState : public InferenceEngine::IVariableStateInternal {
|
||||
@@ -45,6 +44,5 @@ private:
|
||||
std::shared_ptr<cldnn::engine> engine_;
|
||||
};
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
} // namespace intel_gpu
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "json_object.h"
|
||||
#include <string>
|
||||
|
||||
using namespace ov::runtime::intel_gpu;
|
||||
using namespace ov::intel_gpu;
|
||||
|
||||
namespace cldnn {
|
||||
primitive_type_id convolution::type_id() {
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "json_object.h"
|
||||
#include <string>
|
||||
|
||||
using namespace ov::runtime::intel_gpu;
|
||||
using namespace ov::intel_gpu;
|
||||
|
||||
namespace cldnn {
|
||||
primitive_type_id deconvolution::type_id() {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
using namespace cldnn;
|
||||
using namespace ov::runtime::intel_gpu;
|
||||
using namespace ov::intel_gpu;
|
||||
|
||||
void prepare_padding::run(program& p) {
|
||||
if (output_size_handling_enabled) {
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include <stdexcept>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
using cldnn::tensor;
|
||||
@@ -443,5 +442,4 @@ inline padding calc_sliding_window_needed_input_padding(const layout& actual_inp
|
||||
}
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "json_object.h"
|
||||
#include <string>
|
||||
|
||||
using namespace ov::runtime::intel_gpu;
|
||||
using namespace ov::intel_gpu;
|
||||
|
||||
namespace cldnn {
|
||||
primitive_type_id pooling::type_id() {
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
using namespace ov::runtime::intel_gpu;
|
||||
using namespace ov::intel_gpu;
|
||||
|
||||
program::program(engine& engine_ref,
|
||||
topology const& topology,
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include <memory>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
AsyncInferRequest::AsyncInferRequest(const InferRequest::Ptr &inferRequest,
|
||||
@@ -58,5 +57,4 @@ AsyncInferRequest::~AsyncInferRequest() {
|
||||
}
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -30,7 +30,6 @@ using namespace InferenceEngine;
|
||||
using namespace InferenceEngine::details;
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
CompiledModel::CompiledModel(InferenceEngine::CNNNetwork &network, std::shared_ptr<InferenceEngine::RemoteContext> context, Config config) :
|
||||
@@ -237,5 +236,4 @@ std::shared_ptr<InferenceEngine::RemoteContext> CompiledModel::GetContext() cons
|
||||
}
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -30,7 +30,6 @@ using namespace XMLParseUtils;
|
||||
CheckAndReturnError(GetIntAttr(node, attr, -1) != (value), "Wrong attribute value! expected: " << value << " found: " << GetIntAttr(node, attr, -1))
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
void CustomLayer::LoadSingleLayer(const pugi::xml_node & node) {
|
||||
@@ -281,5 +280,4 @@ void CustomLayer::LoadFromFile(const std::string configFile, CustomLayerMap& cus
|
||||
}
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
using namespace InferenceEngine;
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void createDirectory(std::string _path) {
|
||||
@@ -570,5 +569,4 @@ Config& Configs::GetDefaultDeviceConfig() {
|
||||
IE_SUPPRESS_DEPRECATED_END
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -39,7 +39,6 @@ using namespace InferenceEngine;
|
||||
using namespace InferenceEngine::details;
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
Graph::Graph(InferenceEngine::CNNNetwork& network, gpu::ClContext::Ptr context, Config config, uint16_t stream_id)
|
||||
@@ -783,5 +782,4 @@ InferenceEngine::SizeVector Graph::GetOutputSize(std::string outName) const {
|
||||
}
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -49,7 +49,7 @@ void convertAndCopy(const InferenceEngine::Blob* src, dst_t* dst) {
|
||||
}
|
||||
|
||||
template<typename src_dt, typename dst_dt>
|
||||
void copyResultToOutputBlob(cldnn::memory::ptr src, Blob::Ptr dst, ov::runtime::intel_gpu::buf_info* bi, cldnn::stream& stream) {
|
||||
void copyResultToOutputBlob(cldnn::memory::ptr src, Blob::Ptr dst, ov::intel_gpu::buf_info* bi, cldnn::stream& stream) {
|
||||
size_t n = (bi == nullptr) ? dst->size() : bi->buf_size;
|
||||
size_t offset = (bi == nullptr) ? 0 : bi->buf_offset;
|
||||
|
||||
@@ -91,7 +91,7 @@ inline void checkAlloc(const Blob::Ptr& blob, const std::string& err_str) {
|
||||
if (!blob->is<gpu::ClBlob>()) {
|
||||
not_allocated = (blob->buffer() == nullptr);
|
||||
} else {
|
||||
not_allocated = !ov::runtime::intel_gpu::getBlobImpl(blob->as<gpu::ClBlob>())->is_allocated();
|
||||
not_allocated = !ov::intel_gpu::getBlobImpl(blob->as<gpu::ClBlob>())->is_allocated();
|
||||
}
|
||||
if (not_allocated) {
|
||||
IE_THROW(NotAllocated) << err_str;
|
||||
@@ -175,7 +175,6 @@ bool same_host_mem(cldnn::memory::ptr memPtr, uint8_t* hostPtr) {
|
||||
} // namespace
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
// ----------------------------------------------------------------------------------------- //
|
||||
@@ -1277,5 +1276,4 @@ std::vector<std::shared_ptr<InferenceEngine::IVariableStateInternal>> InferReque
|
||||
}
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/adaptive_pooling.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateAdaptiveAvgPoolOp(Program& p, const std::shared_ptr<ngraph::op::v8::AdaptiveAvgPool>& op) {
|
||||
@@ -74,5 +73,4 @@ REGISTER_FACTORY_IMPL(v8, AdaptiveAvgPool);
|
||||
REGISTER_FACTORY_IMPL(v8, AdaptiveMaxPool);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/batch_to_space.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateBatchToSpaceOp(Program& p, const std::shared_ptr<ngraph::op::v1::BatchToSpace>& op) {
|
||||
@@ -54,5 +53,4 @@ static void CreateBatchToSpaceOp(Program& p, const std::shared_ptr<ngraph::op::v
|
||||
REGISTER_FACTORY_IMPL(v1, BatchToSpace);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "intel_gpu/primitives/reshape.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateCommonBroadcastOp(Program& p, const std::shared_ptr<ngraph::Node>& op, const ngraph::AxisSet axis_mapping) {
|
||||
@@ -122,5 +121,4 @@ REGISTER_FACTORY_IMPL(v1, Broadcast);
|
||||
REGISTER_FACTORY_IMPL(v3, Broadcast);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/plugin/program.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
namespace {
|
||||
@@ -32,5 +31,4 @@ void CreateBucketizeOp(Program& p, const std::shared_ptr<ngraph::op::v3::Bucketi
|
||||
REGISTER_FACTORY_IMPL(v3, Bucketize);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/concatenation.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateConcatOp(Program& p, const std::shared_ptr<ngraph::op::v0::Concat>& op) {
|
||||
@@ -34,5 +33,4 @@ static void CreateConcatOp(Program& p, const std::shared_ptr<ngraph::op::v0::Con
|
||||
REGISTER_FACTORY_IMPL(v0, Concat);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "intel_gpu/runtime/debug_configuration.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static cldnn::tensor getConstTensor(const ngraph::Shape constDims) {
|
||||
@@ -238,5 +237,4 @@ void createClDnnConstant(Program& p, const ngraph::Shape& constDims, const std::
|
||||
REGISTER_FACTORY_IMPL(v0, Constant);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/reorder.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateConvertLikeOp(Program& p, const std::shared_ptr<ngraph::op::v1::ConvertLike>& op) {
|
||||
@@ -55,5 +54,4 @@ REGISTER_FACTORY_IMPL(v0, Convert);
|
||||
REGISTER_FACTORY_IMPL(v1, ConvertLike);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "openvino/core/preprocess/input_tensor_info.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateCommonConvertColorOp(Program& p, const std::shared_ptr<ngraph::Node>& op,
|
||||
@@ -90,5 +89,4 @@ REGISTER_FACTORY_IMPL(v8, I420toRGB);
|
||||
REGISTER_FACTORY_IMPL(v8, I420toBGR);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#include "intel_gpu/primitives/reorder.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateGroupConvolutionOp(Program& p, const std::shared_ptr<ngraph::op::v1::GroupConvolution>& op) {
|
||||
@@ -380,5 +379,4 @@ REGISTER_FACTORY_IMPL(v8, DeformableConvolution);
|
||||
REGISTER_FACTORY_IMPL(v1, BinaryConvolution);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include "transformations/utils/utils.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateCommonCTCGreedyDecoderOp(Program& p, const std::shared_ptr<ngraph::Node>& op, bool ctc_merge_repeated) {
|
||||
@@ -134,5 +133,4 @@ REGISTER_FACTORY_IMPL(v0, CTCGreedyDecoder);
|
||||
REGISTER_FACTORY_IMPL(v6, CTCGreedyDecoderSeqLen);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/cum_sum.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static inline cldnn::cum_sum::cum_sum_axis GetCumSumAxis(int32_t axis, uint32_t rank) {
|
||||
@@ -75,5 +74,4 @@ static void CreateCumSumOp(Program& p, const std::shared_ptr<ngraph::op::v0::Cum
|
||||
REGISTER_FACTORY_IMPL(v0, CumSum);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "intel_gpu/primitives/reorder.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
template<typename T>
|
||||
@@ -258,5 +257,4 @@ void CreateCustomOp(Program& p, const std::shared_ptr<ngraph::Node>& op, CustomL
|
||||
}
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/depth_to_space.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static cldnn::depth_to_space_mode GetDepthMode(ngraph::op::v0::DepthToSpace::DepthToSpaceMode mode) {
|
||||
@@ -45,5 +44,4 @@ static void CreateDepthToSpaceOp(Program& p, const std::shared_ptr<ngraph::op::v
|
||||
REGISTER_FACTORY_IMPL(v0, DepthToSpace);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/detection_output.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static cldnn::prior_box_code_type PriorBoxCodeFromString(const std::string& str) {
|
||||
@@ -87,5 +86,4 @@ static void CreateDetectionOutputOp(Program& p, const std::shared_ptr<ngraph::op
|
||||
REGISTER_FACTORY_IMPL(v0, DetectionOutput);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <ngraph/op/dft.hpp>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
namespace {
|
||||
@@ -50,5 +49,4 @@ REGISTER_FACTORY_IMPL(v7, DFT);
|
||||
REGISTER_FACTORY_IMPL(v7, IDFT);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "intel_gpu/primitives/reshape.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
void CreateElementwiseOp(Program& p, const std::shared_ptr<ngraph::Node>& op, cldnn::eltwise_mode mode) {
|
||||
@@ -197,5 +196,4 @@ REGISTER_FACTORY_IMPL(v1, FloorMod);
|
||||
REGISTER_FACTORY_IMPL(v1, Mod);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "transformations/utils/utils.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateEmbeddingBagOffsetsSumOp(Program& p, const std::shared_ptr<ngraph::op::v3::EmbeddingBagOffsetsSum>& op) {
|
||||
@@ -179,5 +178,4 @@ REGISTER_FACTORY_IMPL(v3, EmbeddingBagPackedSum);
|
||||
REGISTER_FACTORY_IMPL(v3, EmbeddingSegmentsSum);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/mutable_data.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateExperimentalDetectronDetectionOutputOp(
|
||||
@@ -97,5 +96,4 @@ static void CreateExperimentalDetectronDetectionOutputOp(
|
||||
REGISTER_FACTORY_IMPL(v6, ExperimentalDetectronDetectionOutput);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/experimental_detectron_generate_proposals_single_image.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateExperimentalDetectronGenerateProposalsSingleImageOp(
|
||||
@@ -62,5 +61,4 @@ static void CreateExperimentalDetectronGenerateProposalsSingleImageOp(
|
||||
REGISTER_FACTORY_IMPL(v6, ExperimentalDetectronGenerateProposalsSingleImage);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <ngraph/op/experimental_detectron_prior_grid_generator.hpp>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
namespace {
|
||||
cldnn::tensor mkTensor(const ov::Shape& shape) {
|
||||
@@ -50,5 +49,4 @@ static void CreateExperimentalDetectronPriorGridGeneratorOp(
|
||||
REGISTER_FACTORY_IMPL(v6, ExperimentalDetectronPriorGridGenerator);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/experimental_detectron_roi_feature_extractor.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateExperimentalDetectronROIFeatureExtractorOp(Program& p, const std::shared_ptr<ngraph::op::v6::ExperimentalDetectronROIFeatureExtractor>& op) {
|
||||
@@ -57,5 +56,4 @@ static void CreateExperimentalDetectronROIFeatureExtractorOp(Program& p, const s
|
||||
REGISTER_FACTORY_IMPL(v6, ExperimentalDetectronROIFeatureExtractor);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/arg_max_min.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
namespace {
|
||||
@@ -45,6 +44,5 @@ void CreateExperimentalDetectronTopKROIsOp(Program &p,
|
||||
|
||||
REGISTER_FACTORY_IMPL(v6, ExperimentalDetectronTopKROIs);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
} // namespace intel_gpu
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/extract_image_patches.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static inline std::string PadToString(ngraph::op::PadType pad) {
|
||||
@@ -50,5 +49,4 @@ static void CreateExtractImagePatchesOp(Program& p, const std::shared_ptr<ngraph
|
||||
REGISTER_FACTORY_IMPL(v3, ExtractImagePatches);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/quantize.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateFakeQuantizeOp(Program& p, const std::shared_ptr<ngraph::op::v0::FakeQuantize>& op) {
|
||||
@@ -43,5 +42,4 @@ static void CreateFakeQuantizeOp(Program& p, const std::shared_ptr<ngraph::op::v
|
||||
REGISTER_FACTORY_IMPL(v0, FakeQuantize);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/reorder.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateGatherTreeOp(Program& p, const std::shared_ptr<ngraph::op::v1::GatherTree>& op) {
|
||||
@@ -58,5 +57,4 @@ static void CreateGatherTreeOp(Program& p, const std::shared_ptr<ngraph::op::v1:
|
||||
REGISTER_FACTORY_IMPL(v1, GatherTree);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/reorder.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
template <typename T>
|
||||
@@ -81,5 +80,4 @@ static void CreateGatherOp(Program& p, const std::shared_ptr<ngraph::op::v8::Gat
|
||||
REGISTER_FACTORY_IMPL(v8, Gather);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/gather_elements.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static cldnn::gather_elements::gather_elements_axis GetGatherAxis(int axis, unsigned rank) {
|
||||
@@ -67,5 +66,4 @@ static void CreateGatherElementsOp(Program& p, const std::shared_ptr<ngraph::op:
|
||||
REGISTER_FACTORY_IMPL(v6, GatherElements);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/gather_nd.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateGatherNDOp(Program& p, const std::shared_ptr<ngraph::op::v5::GatherND>& op) {
|
||||
@@ -65,5 +64,4 @@ static void CreateGatherNDOp(Program& p, const std::shared_ptr<ngraph::op::v8::G
|
||||
REGISTER_FACTORY_IMPL(v8, GatherND);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/grn.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateGRNOp(Program& p, const std::shared_ptr<ngraph::op::v0::GRN>& op) {
|
||||
@@ -31,5 +30,4 @@ static void CreateGRNOp(Program& p, const std::shared_ptr<ngraph::op::v0::GRN>&
|
||||
REGISTER_FACTORY_IMPL(v0, GRN);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "intel_gpu/primitives/resample.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static cldnn::coordinate_transformation_mode GetCoordinateTransformationMode(ngraph::op::v4::Interpolate::CoordinateTransformMode mode) {
|
||||
@@ -205,5 +204,4 @@ static void CreateInterpolateOp(Program& p, const std::shared_ptr<ngraph::op::v4
|
||||
REGISTER_FACTORY_IMPL(v4, Interpolate);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
using Loop = ngraph::op::v5::Loop;
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
template<class DATA_TYPE>
|
||||
@@ -227,5 +226,4 @@ static void CreateLoopOp(Program& p, const std::shared_ptr<Loop>& op) {
|
||||
REGISTER_FACTORY_IMPL(v5, Loop);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/lrn.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static cldnn::lrn_norm_region GetNormRegion(std::vector<int64_t> axis_value) {
|
||||
@@ -50,5 +49,4 @@ static void CreateLRNOp(Program& p, const std::shared_ptr<ngraph::op::v0::LRN>&
|
||||
REGISTER_FACTORY_IMPL(v0, LRN);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include "intel_gpu/primitives/permute.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
/*
|
||||
@@ -312,5 +311,4 @@ static void CreateMatMulOp(Program& p, const std::shared_ptr<ngraph::op::v0::Mat
|
||||
REGISTER_FACTORY_IMPL(v0, MatMul);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <algorithm>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateCommonMVNOp(Program& p, const std::shared_ptr<ngraph::Node>& op,
|
||||
@@ -68,5 +67,4 @@ REGISTER_FACTORY_IMPL(v0, MVN);
|
||||
REGISTER_FACTORY_IMPL(v6, MVN);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "intel_gpu/runtime/debug_configuration.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static bool GetCenterPointBox(ngraph::op::v5::NonMaxSuppression::BoxEncodingType encoding) {
|
||||
@@ -178,5 +177,4 @@ static void CreateNonMaxSuppressionIEInternalOp(Program& p, const std::shared_pt
|
||||
REGISTER_FACTORY_IMPL(internal, NonMaxSuppressionIEInternal);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "intel_gpu/primitives/data.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateNormalizeL2Op(Program& p, const std::shared_ptr<ngraph::op::v0::NormalizeL2>& op) {
|
||||
@@ -64,5 +63,4 @@ static void CreateNormalizeL2Op(Program& p, const std::shared_ptr<ngraph::op::v0
|
||||
REGISTER_FACTORY_IMPL(v0, NormalizeL2);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/one_hot.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateOneHotOp(Program& p, const std::shared_ptr<ngraph::op::v1::OneHot>& op) {
|
||||
@@ -75,5 +74,4 @@ static void CreateOneHotOp(Program& p, const std::shared_ptr<ngraph::op::v1::One
|
||||
REGISTER_FACTORY_IMPL(v1, OneHot);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/border.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static cldnn::border_type GetBorderType(ngraph::op::PadMode mode) {
|
||||
@@ -76,5 +75,4 @@ static void CreatePadOp(Program& p, const std::shared_ptr<ngraph::op::v1::Pad>&
|
||||
REGISTER_FACTORY_IMPL(v1, Pad);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
using namespace InferenceEngine;
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateParameterOp(Program& p, const std::shared_ptr<ngraph::op::v0::Parameter>& op) {
|
||||
@@ -338,5 +337,4 @@ static void CreateParameterOp(Program& p, const std::shared_ptr<ngraph::op::v0::
|
||||
REGISTER_FACTORY_IMPL(v0, Parameter);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "intel_gpu/primitives/pooling.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateAvgPoolOp(Program& p, const std::shared_ptr<ngraph::op::v1::AvgPool>& op) {
|
||||
@@ -144,5 +143,4 @@ REGISTER_FACTORY_IMPL(v8, MaxPool);
|
||||
REGISTER_FACTORY_IMPL(v1, AvgPool);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/prior_box.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreatePriorBoxClusteredOp(Program& p, const std::shared_ptr<ngraph::op::v0::PriorBoxClustered>& op) {
|
||||
@@ -117,5 +116,4 @@ REGISTER_FACTORY_IMPL(v0, PriorBoxClustered);
|
||||
REGISTER_FACTORY_IMPL(v0, PriorBox);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "intel_gpu/runtime/debug_configuration.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateProposalOp(Program& p, const std::shared_ptr<ngraph::op::v0::Proposal>& op) {
|
||||
@@ -156,5 +155,4 @@ REGISTER_FACTORY_IMPL(v0, Proposal);
|
||||
REGISTER_FACTORY_IMPL(v4, Proposal);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
namespace {
|
||||
@@ -34,6 +33,5 @@ void CreateRandomUniformOp(Program &p, const std::shared_ptr<ngraph::op::v8::Ran
|
||||
|
||||
REGISTER_FACTORY_IMPL(v8, RandomUniform);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
} // namespace intel_gpu
|
||||
} // namespace ov
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <ngraph/op/range.hpp>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateRangeOp(Program &p, const std::shared_ptr<ngraph::op::v4::Range> &op) {
|
||||
@@ -31,5 +30,4 @@ static void CreateRangeOp(Program &p, const std::shared_ptr<ngraph::op::v4::Rang
|
||||
REGISTER_FACTORY_IMPL(v4, Range);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
#include "intel_gpu/primitives/reshape.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateReduceOp(Program& p, const std::shared_ptr<ngraph::Node>& op, cldnn::reduce_mode mode, bool keep_dims) {
|
||||
@@ -176,5 +175,4 @@ REGISTER_FACTORY_IMPL(v4, ReduceL1);
|
||||
REGISTER_FACTORY_IMPL(v4, ReduceL2);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/region_yolo.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateRegionYoloOp(Program& p, const std::shared_ptr<ngraph::op::v0::RegionYolo>& op) {
|
||||
@@ -40,5 +39,4 @@ static void CreateRegionYoloOp(Program& p, const std::shared_ptr<ngraph::op::v0:
|
||||
REGISTER_FACTORY_IMPL(v0, RegionYolo);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/reorg_yolo.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateReorgYoloOp(Program& p, const std::shared_ptr<ngraph::op::v0::ReorgYolo>& op) {
|
||||
@@ -32,5 +31,4 @@ static void CreateReorgYoloOp(Program& p, const std::shared_ptr<ngraph::op::v0::
|
||||
REGISTER_FACTORY_IMPL(v0, ReorgYolo);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "intel_gpu/primitives/reorder.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateCommonReshapeOp(Program& p, const std::shared_ptr<ngraph::Node>& op) {
|
||||
@@ -77,5 +76,4 @@ REGISTER_FACTORY_IMPL(v0, Squeeze);
|
||||
REGISTER_FACTORY_IMPL(v0, Unsqueeze);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
using namespace InferenceEngine;
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateResultOp(Program& p, const std::shared_ptr<ngraph::op::v0::Result>& op) {
|
||||
@@ -83,5 +82,4 @@ static void CreateResultOp(Program& p, const std::shared_ptr<ngraph::op::v0::Res
|
||||
REGISTER_FACTORY_IMPL(v0, Result);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include "ngraph/op/reverse_sequence.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateReverseOp(Program& p, const std::shared_ptr<ngraph::op::v1::Reverse>& op) {
|
||||
@@ -28,5 +27,4 @@ static void CreateReverseOp(Program& p, const std::shared_ptr<ngraph::op::v1::Re
|
||||
REGISTER_FACTORY_IMPL(v1, Reverse);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/reverse_sequence.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateReverseSequenceOp(Program& p, const std::shared_ptr<ngraph::op::v0::ReverseSequence>& op) {
|
||||
@@ -34,5 +33,4 @@ static void CreateReverseSequenceOp(Program& p, const std::shared_ptr<ngraph::op
|
||||
REGISTER_FACTORY_IMPL(v0, ReverseSequence);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include "intel_gpu/primitives/concatenation.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
static cldnn::activation_func GetActivationFunc(std::string name) {
|
||||
static const std::map<std::string, cldnn::activation_func> name_mapping = {
|
||||
@@ -356,5 +355,4 @@ REGISTER_FACTORY_IMPL(v4, LSTMCell);
|
||||
REGISTER_FACTORY_IMPL(v5, LSTMSequence);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <memory>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
namespace {
|
||||
@@ -42,5 +41,4 @@ void CreateROIAlignOp(Program& p, const std::shared_ptr<ngraph::op::v3::ROIAlign
|
||||
REGISTER_FACTORY_IMPL(v3, ROIAlign);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "intel_gpu/primitives/roi_pooling.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static cldnn::pooling_mode GetPoolingMode(std::string method) {
|
||||
@@ -129,5 +128,4 @@ REGISTER_FACTORY_IMPL(v0, PSROIPooling);
|
||||
REGISTER_FACTORY_IMPL(v0, ROIPooling);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/plugin/program.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
namespace {
|
||||
@@ -71,5 +70,4 @@ void CreateRollOp(Program& p, const std::shared_ptr<ngraph::op::v7::Roll>& op) {
|
||||
REGISTER_FACTORY_IMPL(v7, Roll);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/scatter_elements_update.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static inline cldnn::scatter_elements_update::scatter_elements_update_axis GetScatterElementsUpdateAxis(int axis, unsigned rank) {
|
||||
@@ -69,5 +68,4 @@ static void CreateScatterElementsUpdateOp(Program& p, const std::shared_ptr<ngra
|
||||
REGISTER_FACTORY_IMPL(v3, ScatterElementsUpdate);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/scatter_nd_update.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateScatterNDUpdateOp(Program& p, const std::shared_ptr<ngraph::op::v3::ScatterNDUpdate>& op) {
|
||||
@@ -49,5 +48,4 @@ static void CreateScatterNDUpdateOp(Program& p, const std::shared_ptr<ngraph::op
|
||||
REGISTER_FACTORY_IMPL(v3, ScatterNDUpdate);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/scatter_update.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static inline cldnn::scatter_update::scatter_update_axis GetScatterUpdateAxis(int axis, unsigned rank) {
|
||||
@@ -69,5 +68,4 @@ static void CreateScatterUpdateOp(Program& p, const std::shared_ptr<ngraph::op::
|
||||
REGISTER_FACTORY_IMPL(v3, ScatterUpdate);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "intel_gpu/primitives/reshape.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateSelectOp(Program& p, const std::shared_ptr<ngraph::op::v1::Select>& op) {
|
||||
@@ -92,5 +91,4 @@ static void CreateSelectOp(Program& p, const std::shared_ptr<ngraph::op::v1::Sel
|
||||
REGISTER_FACTORY_IMPL(v1, Select);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/shape_of.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateShapeOfOpCommon(Program& p, const std::shared_ptr<ngraph::Node>& op) {
|
||||
@@ -40,5 +39,4 @@ REGISTER_FACTORY_IMPL(v0, ShapeOf);
|
||||
REGISTER_FACTORY_IMPL(v3, ShapeOf);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/shuffle_channels.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateShuffleChannelsOp(Program& p, const std::shared_ptr<ngraph::op::v0::ShuffleChannels>& op) {
|
||||
@@ -48,5 +47,4 @@ static void CreateShuffleChannelsOp(Program& p, const std::shared_ptr<ngraph::op
|
||||
REGISTER_FACTORY_IMPL(v0, ShuffleChannels);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include <memory>
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
namespace {
|
||||
@@ -33,5 +32,4 @@ static void CreateSliceOp(Program& p, const std::shared_ptr<ngraph::op::v8::Slic
|
||||
REGISTER_FACTORY_IMPL(v8, Slice);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "intel_gpu/primitives/activation.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static cldnn::softmax::dimension_t GetSoftmaxAxis(int64_t axis, size_t rank) {
|
||||
@@ -75,5 +74,4 @@ REGISTER_FACTORY_IMPL(v1, Softmax);
|
||||
REGISTER_FACTORY_IMPL(v5, LogSoftmax);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/space_to_batch.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateSpaceToBatchOp(Program& p, const std::shared_ptr<ngraph::op::v1::SpaceToBatch>& op) {
|
||||
@@ -54,5 +53,4 @@ static void CreateSpaceToBatchOp(Program& p, const std::shared_ptr<ngraph::op::v
|
||||
REGISTER_FACTORY_IMPL(v1, SpaceToBatch);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/space_to_depth.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static cldnn::space_to_depth::depth_mode GetDepthMode(ngraph::op::v0::SpaceToDepth::SpaceToDepthMode mode) {
|
||||
@@ -39,5 +38,4 @@ static void CreateSpaceToDepthOp(Program& p, const std::shared_ptr<ngraph::op::v
|
||||
REGISTER_FACTORY_IMPL(v0, SpaceToDepth);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include "intel_gpu/primitives/crop.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateCommonSplitOp(Program& p, const std::shared_ptr<ngraph::Node>& op) {
|
||||
@@ -74,5 +73,4 @@ REGISTER_FACTORY_IMPL(v1, Split);
|
||||
REGISTER_FACTORY_IMPL(v1, VariadicSplit);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "intel_gpu/primitives/crop.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateStridedSliceOp(Program& p, const std::shared_ptr<ngraph::op::v1::StridedSlice>& op) {
|
||||
@@ -253,5 +252,4 @@ static void CreateStridedSliceOp(Program& p, const std::shared_ptr<ngraph::op::v
|
||||
REGISTER_FACTORY_IMPL(v1, StridedSlice);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
using TensorIterator = ngraph::op::v0::TensorIterator;
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
template<class DATA_TYPE>
|
||||
@@ -201,5 +200,4 @@ static void CreateTensorIteratorOp(Program &p, const std::shared_ptr<TensorItera
|
||||
REGISTER_FACTORY_IMPL(v0, TensorIterator);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "intel_gpu/primitives/tile.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateTileOp(Program& p, const std::shared_ptr<ngraph::op::v0::Tile>& op) {
|
||||
@@ -30,5 +29,4 @@ static void CreateTileOp(Program& p, const std::shared_ptr<ngraph::op::v0::Tile>
|
||||
REGISTER_FACTORY_IMPL(v0, Tile);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "intel_gpu/runtime/debug_configuration.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static cldnn::arg_max_min::axis_name GetAxis(int32_t axis, size_t in_rank) {
|
||||
@@ -133,5 +132,4 @@ static void CreateTopKOp(Program& p, const std::shared_ptr<ngraph::op::v1::TopK>
|
||||
REGISTER_FACTORY_IMPL(v1, TopK);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "intel_gpu/primitives/reorder.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
static void CreateTransposeOp(Program& p, const std::shared_ptr<ngraph::op::v1::Transpose>& op) {
|
||||
@@ -79,5 +78,4 @@ static void CreateTransposeOp(Program& p, const std::shared_ptr<ngraph::op::v1::
|
||||
REGISTER_FACTORY_IMPL(v1, Transpose);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include "intel_gpu/primitives/activation.hpp"
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
void CreateUnaryEltwiseOp(Program& p, const std::shared_ptr<ngraph::Node>& op,
|
||||
@@ -329,5 +328,4 @@ REGISTER_FACTORY_IMPL(v5, Round);
|
||||
REGISTER_FACTORY_IMPL(v9, SoftSign);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
namespace {
|
||||
@@ -53,6 +52,5 @@ void CreateAssignOp(Program& p, const std::shared_ptr<ngraph::op::v6::Assign>& o
|
||||
REGISTER_FACTORY_IMPL(v6, Assign);
|
||||
REGISTER_FACTORY_IMPL(v6, ReadValue);
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
} // namespace intel_gpu
|
||||
} // namespace ov
|
||||
|
||||
@@ -54,7 +54,6 @@ using namespace InferenceEngine::gpu;
|
||||
using namespace InferenceEngine::details;
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
#define FACTORY_DECLARATION(op_version, op_name) \
|
||||
@@ -1091,8 +1090,7 @@ Parameter Plugin::GetMetric(const std::string& name, const std::map<std::string,
|
||||
}
|
||||
}
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
static const Version version = { {2, 1}, CI_BUILD_NUMBER, "Intel GPU plugin" };
|
||||
IE_DEFINE_PLUGIN_CREATE_FUNCTION(ov::runtime::intel_gpu::Plugin, version)
|
||||
IE_DEFINE_PLUGIN_CREATE_FUNCTION(ov::intel_gpu::Plugin, version)
|
||||
|
||||
@@ -14,7 +14,6 @@ using namespace InferenceEngine;
|
||||
using namespace InferenceEngine::details;
|
||||
|
||||
namespace ov {
|
||||
namespace runtime {
|
||||
namespace intel_gpu {
|
||||
|
||||
const cldnn::primitive_id Program::m_preProcessTag("_cldnn_input_preprocess");
|
||||
@@ -519,5 +518,4 @@ bool IsNodeOnConstPath(const std::shared_ptr<ngraph::Node>& node) {
|
||||
}
|
||||
|
||||
} // namespace intel_gpu
|
||||
} // namespace runtime
|
||||
} // namespace ov
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user