Skip to content

Commit

Permalink
Fix for printf warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Kamenev committed Feb 12, 2016
1 parent 03e8cc5 commit fe997db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Math/CuDnnConvolutionEngine.cu
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ public:
t(scaleBiasT), ptr(scale), ptr(bias), ptr(runMean), ptr(runInvStdDev), CUDNN_BN_MIN_EPSILON));
}
else if (m_bnImpl == BatchNormImpl::Cntk)
{;
{
CUDA_CALL(BatchNormalizationForwardInference(inT, spatial, ptr(in), ptr(out), ptr(scale), ptr(bias),
ptr(runMean), ptr(runInvStdDev), m_stream));
}
Expand Down
2 changes: 1 addition & 1 deletion Source/Math/GPUMatrix.cu
Original file line number Diff line number Diff line change
Expand Up @@ -4300,7 +4300,7 @@ void GPUMatrix<ElemType>::CreateCurandObject(unsigned long seed, const char* cal
if (s_curandGenerator == NULL)
{
unsigned long long cudaSeed = (seed == USE_TIME_BASED_SEED) ? time(NULL) : seed;
fprintf(stderr, "%s (GPU): creating curand object with seed %llu, sizeof(ElemType)==%u\n",
fprintf(stderr, "%s (GPU): creating curand object with seed %llu, sizeof(ElemType)==%lu\n",
caller, cudaSeed, (unsigned long)sizeof(ElemType));
s_curandGenerator = new curandGenerator_t;
// Create pseudo-random number generator
Expand Down

0 comments on commit fe997db

Please sign in to comment.