export XPUStream to doc (#121398)

# Motivation
We would like to export XPUStream to public [doc](https://pytorch.org/cppdocs/api/library_root.html). The detailed documentation can help users understand and utilize XPU more effectively.

# Additional Context
A detailed XPUStream API and usage should be documented to public doc, like cuda's [doc](https://github.com/pytorch/pytorch/blob/main/docs/cpp/source/notes/tensor_cuda_stream.rst).

Pull Request resolved: https://github.com/pytorch/pytorch/pull/121398
Approved by: https://github.com/gujinghui, https://github.com/jgong5, https://github.com/EikanWang, https://github.com/albanD
This commit is contained in:
Yu, Guangye
2024-03-29 16:20:34 +00:00
committed by PyTorch MergeBot
parent f4ff063c33
commit 3d3d4e1cd5
2 changed files with 34 additions and 12 deletions
+1
View File
@@ -56,6 +56,7 @@ INPUT = ../../../aten/src/ATen/ATen.h \
../../../c10/util/Optional.h \
../../../c10/cuda/CUDAGuard.h \
../../../c10/cuda/CUDAStream.h \
../../../c10/xpu/XPUStream.h \
../../../torch/csrc/api/include \
../../../torch/csrc/api/src \
../../../torch/csrc/autograd/autograd.h \