Skip to content
Snippets Groups Projects
Commit e8e61669 authored by i-robot's avatar i-robot Committed by Gitee
Browse files

!564 fix dts of naml

Merge pull request !564 from 周莉莉/1027
parents d6ce026e 4c0bb57d
No related branches found
No related tags found
No related merge requests found
......@@ -318,17 +318,17 @@ void SampleProcess::DestroyResource() {
}
INFO_LOG("end to destroy context");
ret = aclrtResetDevice(deviceId_);
if (ret != ACL_ERROR_NONE) {
ERROR_LOG("reset device failed");
}
INFO_LOG("end to reset device is %d", deviceId_);
ret = aclFinalize();
if (ret != ACL_ERROR_NONE) {
ERROR_LOG("finalize acl failed");
}
INFO_LOG("end to finalize acl");
ret = aclrtResetDevice(deviceId_);
if (ret != ACL_ERROR_NONE) {
ERROR_LOG("reset device failed");
}
INFO_LOG("end to reset device is %d", deviceId_);
}
std::vector<std::string> SampleProcess::GetModelExecCostTimeInfo() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment