Merge pull request #14629 from wopeizl/windows/port

fix the build issue on manylinux1
local_add_cudnn_lstm
wopeizl 7 years ago committed by GitHub
commit b1dbbb7f88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -137,10 +137,10 @@ inline pid_t gettid() {
#define __NR_gettid 224
#endif
pid_t tid = syscall(__NR_gettid);
#endif
#else // _WIN32
pid_t tid = _getpid();
#endif // _WIN32
#endif
CHECK_NE((int)tid, -1);
return tid;
}

Loading…
Cancel
Save