Skip to content

Conversation

@cqulilujia
Copy link
Contributor

PR Category

Custom Device

PR Types

Improvements

Description

Update xpu fft version, supporting stream parameter

@paddle-bot
Copy link

paddle-bot bot commented Jan 5, 2026

你的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.

@cqulilujia
Copy link
Contributor Author

/re-run all-failed

PADDLE_ENFORCE_FFT_SUCCESS(
phi::dynload::cufftSetStream(config->plan(), nullptr));
PADDLE_ENFORCE_FFT_SUCCESS(phi::dynload::cufftSetStream(
config->plan(), (cudaStream_t)dev_ctx.x_context()->xpu_stream));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里可以这么转换吗? 不需要reinterpret_cast<cudaStream_t>吗?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这样更合理一些,我改下

@cqulilujia
Copy link
Contributor Author

/re-run all-failed

@cqulilujia
Copy link
Contributor Author

/re-run xpu

@cqulilujia cqulilujia closed this Jan 5, 2026
@cqulilujia cqulilujia reopened this Jan 5, 2026
@cqulilujia
Copy link
Contributor Author

/re-run all-failed

@QingshuChen QingshuChen merged commit 8067bd1 into PaddlePaddle:develop Jan 6, 2026
84 of 88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants