Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there may be a mistake #1184

Open
fengxiaoshuai opened this issue Sep 24, 2024 · 1 comment
Open

there may be a mistake #1184

fengxiaoshuai opened this issue Sep 24, 2024 · 1 comment

Comments

@fengxiaoshuai
Copy link

HANDLE_ERROR(accGPUDeviceSynchronize());

cudaDeviceSynchronize() will only synchronize host with the currently set GPU, so the function just set the last device which be setted in MlDeviceBundle *b = new MlDeviceBundle(this);.

@scheres
Copy link
Contributor

scheres commented Nov 29, 2024

Thanks for this. Does it lead to any specific problems that you are aware of?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants