diff --git a/Math/Math/GPUDummy.cpp b/Math/Math/GPUDummy.cpp index f0648237b..6cbcfec0a 100644 --- a/Math/Math/GPUDummy.cpp +++ b/Math/Math/GPUDummy.cpp @@ -119,7 +119,7 @@ namespace Microsoft { namespace MSR { namespace CNTK { } template - void GPUSparseMatrix::Resize(const size_t numRows, const size_t numCols, int size) + void GPUSparseMatrix::Resize(const size_t numRows, const size_t numCols, size_t size) {} //Reset matrix so it can be reused @@ -1085,6 +1085,7 @@ namespace Microsoft { namespace MSR { namespace CNTK { return *this; } +#if 0 template GPUMatrix& GPUMatrix::InplaceSoftmax (const bool isColWise) { @@ -1096,6 +1097,7 @@ namespace Microsoft { namespace MSR { namespace CNTK { { return *this; } +#endif template GPUMatrix& GPUMatrix::InplaceSqrt() @@ -1426,8 +1428,7 @@ namespace Microsoft { namespace MSR { namespace CNTK { const size_t kernelWidth, const size_t kernelHeight, const size_t horizontalSubsample, const size_t verticalSubsample, const bool zeroPadding) const { - GPUMatrix mat; - return mat; + return inputSubBatch; } template @@ -1651,7 +1652,7 @@ int GPUWatcher::GetGPUIdWithTheMostFreeMemory() } -size_t GPUWatcher::GetFreeMemoryOnCUDADevice(int devId) +size_t GPUWatcher::GetFreeMemoryOnCUDADevice(int /*devId*/) { return 0; } diff --git a/Math/Math/GPUMatrix.cuh b/Math/Math/GPUMatrix.cuh index 91394d5a1..f5f981189 100644 --- a/Math/Math/GPUMatrix.cuh +++ b/Math/Math/GPUMatrix.cuh @@ -7,6 +7,7 @@ #include #include #include +#include // for ULONG_MAX #include "File.h" #include "Helpers.h" #include "CommonMatrix.h"