From b0a47b149d981fd3a4ad8d9bf03c9bd0d0cc96d1 Mon Sep 17 00:00:00 2001 From: chengduoZH Date: Sat, 23 Sep 2017 14:55:02 +0800 Subject: [PATCH] remove CHECK in *.cu --- paddle/operators/math/pooling.cu | 9 --------- 1 file changed, 9 deletions(-) diff --git a/paddle/operators/math/pooling.cu b/paddle/operators/math/pooling.cu index 124006942c..09e6bd9000 100644 --- a/paddle/operators/math/pooling.cu +++ b/paddle/operators/math/pooling.cu @@ -140,8 +140,6 @@ class Pool2dForwardFunctor { output_width, ksize_height, ksize_width, stride_height, stride_width, padding_height, padding_width, pool_process); - - // CHECK_SYNC("Pool2dForwardKernel failed"); } }; @@ -186,8 +184,6 @@ class Pool2dBackwardFunctor { input_channels, input_height, input_width, output_height, output_width, ksize_height, ksize_width, stride_height, stride_width, padding_height, padding_width, pool_process); - - // CHECK_SYNC("KernelPool2dBackward failed"); } }; @@ -247,7 +243,6 @@ __global__ void KernelPool3DForward( } int pool_size = (dend - dstart) * (hend - hstart) * (wend - wstart); pool_process.finalize(ele, static_cast(pool_size)); - output_data[index] = ele; } } @@ -361,8 +356,6 @@ class Pool3dForwardFunctor { ksize_depth, ksize_height, ksize_width, stride_depth, stride_height, stride_width, padding_depth, padding_height, padding_width, pool_process); - - // CHECK_SYNC("Pool2dForwardKernel failed"); } }; @@ -415,8 +408,6 @@ class Pool3dBackwardFunctor { output_height, output_width, ksize_depth, ksize_height, ksize_width, stride_depth, stride_height, stride_width, padding_depth, padding_height, padding_width, pool_process); - - // CHECK_SYNC("KernelPool2dBackward failed"); } };