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?