Skip to content

Commit

Permalink
NoGPU.cpp: fix RuntimeError() messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mahilleb-msft committed Jan 28, 2016
1 parent b6995dd commit 203aa21
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Source/Math/NoGPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2145,33 +2145,33 @@ typename CuDnnConvolutionEngineFactory<ElemType>::Tensor4DPtr CuDnnConvolutionEn
template <class ElemType>
typename CuDnnConvolutionEngineFactory<ElemType>::FilterPtr CuDnnConvolutionEngineFactory<ElemType>::CreateFilter(size_t, size_t, size_t, size_t)
{
RuntimeError("The code is compiled without CPUONLY macro.");
RuntimeError("The code is compiled with CPUONLY macro.");
}

template <class ElemType>
typename CuDnnConvolutionEngineFactory<ElemType>::ConvDescPtr CuDnnConvolutionEngineFactory<ElemType>::CreateConvDescriptor(
const Tensor4D&, const Filter&, size_t, size_t, bool)
{
RuntimeError("The code is compiled without CPUONLY macro.");
RuntimeError("The code is compiled with CPUONLY macro.");
}

template <class ElemType>
typename CuDnnConvolutionEngineFactory<ElemType>::PoolDescPtr CuDnnConvolutionEngineFactory<ElemType>::CreatePoolDescriptor(
typename PoolDesc::PoolKind, size_t, size_t, size_t, size_t, size_t, size_t)
{
RuntimeError("The code is compiled without CPUONLY macro.");
RuntimeError("The code is compiled with CPUONLY macro.");
}

template <class ElemType>
typename CuDnnConvolutionEngineFactory<ElemType>::ConvEnginePtr CuDnnConvolutionEngineFactory<ElemType>::CreateConvEngine(DEVICEID_TYPE, size_t)
{
RuntimeError("The code is compiled without CPUONLY macro.");
RuntimeError("The code is compiled with CPUONLY macro.");
}

template <class ElemType>
typename CuDnnConvolutionEngineFactory<ElemType>::PoolEnginePtr CuDnnConvolutionEngineFactory<ElemType>::CreatePoolEngine(DEVICEID_TYPE)
{
RuntimeError("The code is compiled without CPUONLY macro.");
RuntimeError("The code is compiled with CPUONLY macro.");
}

template <class ElemType>
Expand Down

0 comments on commit 203aa21

Please sign in to comment.