From ac266dfb8d91ce129ccab35524825833444901ed Mon Sep 17 00:00:00 2001 From: fengjiayi Date: Wed, 2 May 2018 07:33:44 +0000 Subject: [PATCH] follow cpplint --- paddle/cuda/include/hl_base.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/paddle/cuda/include/hl_base.h b/paddle/cuda/include/hl_base.h index a42ace5bca..9bddf830bb 100644 --- a/paddle/cuda/include/hl_base.h +++ b/paddle/cuda/include/hl_base.h @@ -12,8 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ -#ifndef PADDLE_CUDA_INCLUDE_HL_BASE_H_ -#define PADDLE_CUDA_INCLUDE_HL_BASE_H_ +#pragma once #include @@ -244,5 +243,3 @@ __shfl_sync(unsigned, T val, int src_line, int width) { #endif #endif // __NVCC__ - -#endif // PADDLE_CUDA_INCLUDE_HL_BASE_H_