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

aclrtSynchronizeStream(...) fails on cplusplus/level1_single_api/1_acl/4_blas/gemm #12

Open
anaumchev opened this issue Nov 16, 2023 · 0 comments

Comments

@anaumchev
Copy link

When I run execute_gemm_op, I get the following output:

        [INFO]  Set device[0] success
        [INFO]  Init resource success
        [INFO]  Init op input success
        [INFO]  Prepare op input data success
        [INFO]  Matrix A:
        ...
        [INFO]  Matrix B:
        ...
        [INFO]  Matrix C:
        ...
        [INFO]  Create stream success
        [INFO]  Copy inputs success
        [INFO]  Launch Gemm kernel success
        [ERROR]  Synchronize stream failed
        [INFO]  Destory resource success

The following line of code causes this error:

if (aclrtSynchronizeStream(stream) != ACL_SUCCESS) {

What is the reason? How can I fix 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