Closed wanxinzzz closed 4 years ago
Thank you very much. It seems my mistakes in the code.I want to check the pointer is not empty but actually used as empty if(!mTrtRunTime)
. If remove the operator !
in the condition function, it should be done well.
when I use
I found
mTrtRunTime->destroy();mTrtContext->destroy();mTrtEngine->destroy();
is not used,and i change it toIt seems to be working good, and the order is important