C++ code quality issue with lod_reset_op.h
Created by: wangkuiyi
[23:26:09]W: [Step 1/1] /paddle/paddle/fluid/operators/lod_reset_op.h: In instantiation of 'void paddle::operators::LoDResetKernel<DeviceContext, T>::Compute(const paddle::framework::ExecutionContext&) const [with DeviceContext = paddle::platform::CUDADeviceContext; T = long int]':
[23:26:09]W: [Step 1/1] /tmp/tmpxft_000038de_00000000-4_lod_reset_op.compute_52.cudafe1.stub.c:12:27: required from here
[23:26:09]W: [Step 1/1] /paddle/paddle/fluid/operators/lod_reset_op.h:38:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
[23:26:09]W: [Step 1/1] /paddle/paddle/fluid/operators/lod_reset_op.h: In instantiation of 'void paddle::operators::LoDResetKernel<DeviceContext, T>::Compute(const paddle::framework::ExecutionContext&) const [with DeviceContext = paddle::platform::CUDADeviceContext; T = int]':
[23:26:09]W: [Step 1/1] /tmp/tmpxft_000038de_00000000-4_lod_reset_op.compute_52.cudafe1.stub.c:12:27: required from here
[23:26:09]W: [Step 1/1] /paddle/paddle/fluid/operators/lod_reset_op.h:38:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
[23:26:09]W: [Step 1/1] /paddle/paddle/fluid/operators/lod_reset_op.h: In instantiation of 'void paddle::operators::LoDResetKernel<DeviceContext, T>::Compute(const paddle::framework::ExecutionContext&) const [with DeviceContext = paddle::platform::CUDADeviceContext; T = double]':
[23:26:09]W: [Step 1/1] /tmp/tmpxft_000038de_00000000-4_lod_reset_op.compute_52.cudafe1.stub.c:12:27: required from here
[23:26:09]W: [Step 1/1] /paddle/paddle/fluid/operators/lod_reset_op.h:38:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
[23:26:09]W: [Step 1/1] /paddle/paddle/fluid/operators/lod_reset_op.h: In instantiation of 'void paddle::operators::LoDResetKernel<DeviceContext, T>::Compute(const paddle::framework::ExecutionContext&) const [with DeviceContext = paddle::platform::CUDADeviceContext; T = float]':
[23:26:09]W: [Step 1/1] /tmp/tmpxft_000038de_00000000-4_lod_reset_op.compute_52.cudafe1.stub.c:12:27: required from here
[23:26:09]W: [Step 1/1] /paddle/paddle/fluid/operators/lod_reset_op.h:38:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
[23:26:09] : [Step 1/1] [ 53%] Linking CXX static library libscatter_op.a