Skip to content

Commit

Permalink
Fixed gcc build issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Kamenev authored and Alexey Kamenev committed Feb 29, 2016
1 parent 834fab9 commit 9db0cd3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/Math/ConvolutionEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ class DefaultConvolutionEngine : public ConvolutionEngine<ElemType>
}

protected:
using Base::m_deviceId;
using Base::m_imageLayout;

void EnsureCompatible() override
{
if (m_imageLayout != ImageLayoutKind::HWC)
Expand Down Expand Up @@ -547,6 +550,9 @@ class DefaultPoolingEngine : public PoolingEngine<ElemType>
}

protected:
using Base::m_deviceId;
using Base::m_imageLayout;

void EnsureCompatible() override
{
if (m_imageLayout != ImageLayoutKind::HWC)
Expand Down
6 changes: 6 additions & 0 deletions Source/Math/CuDnnConvolutionEngine.cu
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ public:
}

protected:
using Base::m_deviceId;
using Base::m_imageLayout;

void EnsureCompatible() override
{
if (m_imageLayout != ImageLayoutKind::CHW)
Expand Down Expand Up @@ -531,6 +534,9 @@ public:
}

protected:
using Base::m_deviceId;
using Base::m_imageLayout;

void EnsureCompatible() override
{
if (m_imageLayout != ImageLayoutKind::CHW)
Expand Down

0 comments on commit 9db0cd3

Please sign in to comment.