Update README.md,windows.md and demo.cpp

Small fixes in DeformableConvRT.cpp
This commit is contained in:
perseusdg
2021-11-09 13:37:26 +05:30
parent d2d44e9e92
commit 744396fb0e
6 changed files with 61 additions and 38 deletions
+3 -2
View File
@@ -65,7 +65,6 @@ DeformableConvRT::~DeformableConvRT() {
checkCuda( cudaFree(offset) );
checkCuda( cudaFree(mask) );
checkCuda( cudaFree(ones_d2) );
cublasDestroy(handle);
}
DeformableConvRT::DeformableConvRT(const void *data, size_t length) {
@@ -229,7 +228,9 @@ void DeformableConvRT::serialize(void *buffer) const NOEXCEPT {
assert(buf == a + getSerializationSize());
}
void DeformableConvRT::destroy() NOEXCEPT { delete this; }
void DeformableConvRT::destroy() NOEXCEPT {
delete this;
}
const char *DeformableConvRT::getPluginNamespace() const NOEXCEPT {