提交 b40ba487 authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #2934 from abergeron/remove_print

Remove debug print in C code.
...@@ -1725,7 +1725,6 @@ class GpuCAReduceCuda(HideC, CAReduceDtype): ...@@ -1725,7 +1725,6 @@ class GpuCAReduceCuda(HideC, CAReduceDtype):
{ // reuse 010_AD kernel, we transpose the 2 first dim { // reuse 010_AD kernel, we transpose the 2 first dim
// See the reduction for the real 010_AD kernel for // See the reduction for the real 010_AD kernel for
// explanation. We do this to get coalesced read. // explanation. We do this to get coalesced read.
printf("fast\\n");
dim3 n_threads(32,1,1); dim3 n_threads(32,1,1);
int A = PyGpuArray_DIMS(%(x)s)[1]; int A = PyGpuArray_DIMS(%(x)s)[1];
...@@ -1943,7 +1942,7 @@ class GpuCAReduceCuda(HideC, CAReduceDtype): ...@@ -1943,7 +1942,7 @@ class GpuCAReduceCuda(HideC, CAReduceDtype):
""" % locals(), file=sio) """ % locals(), file=sio)
def c_code_cache_version_apply(self, node): def c_code_cache_version_apply(self, node):
version = [14] # the version corresponding to the c code in this Op version = [15] # the version corresponding to the c code in this Op
# now we insert versions for the ops on which we depend... # now we insert versions for the ops on which we depend...
scalar_node = Apply(self.scalar_op, scalar_node = Apply(self.scalar_op,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论