提交 ac2c2f2b authored 作者: Frederic Bastien's avatar Frederic Bastien

don't print info message in verbose mode that is not needed.

上级 3dcd5b9b
...@@ -363,7 +363,7 @@ class GpuConv(Op): ...@@ -363,7 +363,7 @@ class GpuConv(Op):
return ['cuda_ndarray.cuh','<stdio.h>'] return ['cuda_ndarray.cuh','<stdio.h>']
def c_code_cache_version(self): def c_code_cache_version(self):
return (0,11) # raise this whenever modifying any of the support_code_files return (0,12) # raise this whenever modifying any of the support_code_files
def c_support_code_apply(self, node, nodename): def c_support_code_apply(self, node, nodename):
# REMEMBER TO RAISE c_code_cache_version when changing any of these files # REMEMBER TO RAISE c_code_cache_version when changing any of these files
......
...@@ -1108,7 +1108,7 @@ CudaNdarray_Conv(CudaNdarray *img, CudaNdarray * kern, ...@@ -1108,7 +1108,7 @@ CudaNdarray_Conv(CudaNdarray *img, CudaNdarray * kern,
} }
else else
{ {
if (verbose) fprintf(stderr, "INFO: Conv is ignoring 'out' argument with wrong structure.\n"); if (out && verbose) fprintf(stderr, "INFO: Conv is ignoring 'out' argument with wrong structure.\n");
rval = (CudaNdarray*)CudaNdarray_NewDims(4,out_dim); rval = (CudaNdarray*)CudaNdarray_NewDims(4,out_dim);
//rval might be null //rval might be null
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论