Skip to content

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

@anaumchev

Description

@anaumchev

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions