Commit 04b1434d authored by shssf's avatar shssf Committed by Robert Kimball

IntelGPU backend: Broken compilation fixed (#1544)

parent b7ae2c14
......@@ -25,12 +25,11 @@
using namespace ngraph;
using namespace std;
runtime::intelgpu::IntelGPUTensorView::IntelGPUTensorView(const ngraph::element::Type& element_type,
runtime::intelgpu::IntelGPUTensorView::IntelGPUTensorView(const element::Type& element_type,
const Shape& shape,
const cldnn::engine& backend_engine,
void* memory_pointer)
: runtime::TensorView(std::make_shared<ngraph::descriptor::TensorView>(
std::make_shared<ngraph::TensorViewType>(element_type, shape), "external"))
: runtime::TensorView(make_shared<descriptor::TensorView>(element_type, shape, "external"))
{
const cldnn::layout layout = IntelGPULayout::create_cldnn_layout(element_type, shape);
......
......@@ -35,7 +35,7 @@ namespace ngraph
class ngraph::runtime::intelgpu::IntelGPUTensorView : public ngraph::runtime::TensorView
{
public:
IntelGPUTensorView(const ngraph::element::Type& element_type,
IntelGPUTensorView(const element::Type& element_type,
const Shape& shape,
const cldnn::engine& backend_engine,
void* memory_pointer = nullptr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment