Fixed #15 memory leak by introducing virtual function into all operation base classes to ensure the dependent class destructors are called
This commit is contained in:
parent
d4cc61817e
commit
5be21da7c2
9 changed files with 114 additions and 35 deletions
|
|
@ -84,7 +84,7 @@ class OpMult : public OpAlgoBase<tX, tY, tZ>
|
|||
* Default destructor, which is in charge of destroying the algorithm
|
||||
* components but does not destroy the underlying tensors
|
||||
*/
|
||||
~OpMult() {
|
||||
~OpMult() override {
|
||||
SPDLOG_DEBUG("Kompute OpMult destructor started");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue