No Error Reported When AscendCL API Execution Produces No Output
Symptom
During AscendCL execution, no API reports an error, but the expected result is not output.
Possible Cause
- The .so file in stub is linked during AscendCL execution.
- In the asynchronous scenario, stream synchronization is not performed during output data copy.
Solution
For the first case, run the ldd command to check whether the .so file linked to the execution file is correct. Ensure that a valid .so file is linked.
For the second case, check the code by referring to aclmdlExecuteAsync in "AscendCL API Reference" in CANN AscendCL Application Software Development Guide (C&C++).
Parent topic: AI Application Compilation/Execution Issues