Skip to content

Conversation

@XiaociZhang
Copy link
Contributor

@XiaociZhang XiaociZhang commented Jan 13, 2023

PR types

Others

PR changes

Others

Describe

XPUContext now has a null stream by default. Otherwise conflicts may occur when a Tensor is freed and a kernel that envolves the Tensor is not finished. If you want to use a separate stream (e.g. in async collective communication), you should create a dedicated XPUContext and invoke its XPUContext::CreateStream()

XPUContext now has a null stream by default. If you want to use a separate stream
 (e.g. in async collective communication), you should create a dedicated XPUContext
and invoke its XPUContext::CreateStream()
@paddle-bot
Copy link

paddle-bot bot commented Jan 13, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@XiaociZhang XiaociZhang changed the title revert to use default XPU stream for computing use default XPU stream for computing Jan 13, 2023
@paddle-bot-old paddle-bot-old bot added the contributor External developers label Jan 13, 2023
@QingshuChen QingshuChen merged commit f6b23d6 into PaddlePaddle:develop Jan 18, 2023
@paddle-bot
Copy link

paddle-bot bot commented Jan 18, 2023

你的PR已合入Paddle库,请关注后续测试结果。
Your PR has been merged into the repository. An official integration test will be conducted later. Stay tuned.

@XiaociZhang XiaociZhang deleted the stream branch January 18, 2023 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants