From 351dc78e1c24645bfcf27ccedea72b35fd3f27f4 Mon Sep 17 00:00:00 2001 From: peizhilin Date: Tue, 27 Nov 2018 20:57:44 +0800 Subject: [PATCH] code style fix test=develop --- paddle/legacy/cuda/src/hl_cuda_device.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/legacy/cuda/src/hl_cuda_device.cc b/paddle/legacy/cuda/src/hl_cuda_device.cc index 66bb06374..92197afb3 100644 --- a/paddle/legacy/cuda/src/hl_cuda_device.cc +++ b/paddle/legacy/cuda/src/hl_cuda_device.cc @@ -137,9 +137,9 @@ inline pid_t gettid() { #define __NR_gettid 224 #endif pid_t tid = syscall(__NR_gettid); -#else // _WIN32 +#else // _WIN32 pid_t tid = _getpid(); -#endif // _WIN32 +#endif // _WIN32 #endif CHECK_NE((int)tid, -1); return tid; -- GitLab