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 · 0 comments
Open

there may be a mistake #1184

fengxiaoshuai opened this issue Sep 24, 2024 · 0 comments

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);.

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

1 participant