Skip to content

Commit 3fabbe8

Browse files
committed
fix compiling error
1 parent f1ca851 commit 3fabbe8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

paddle/phi/api/include/compat/ATen/ops/record_stream.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,4 @@ inline void Tensor::record_stream(at::Stream s) const {
4949
#endif
5050
}
5151

52-
#if defined(PADDLE_WITH_CUDA) || defined(PADDLE_WITH_HIP)
53-
inline void Tensor::record_stream(at::cuda::CUDAStream s) const {
54-
record_stream(static_cast<at::Stream>(s));
55-
}
56-
5752
} // namespace at

0 commit comments

Comments
 (0)