Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

Intel(r) MKL-DNN - when should I destroy primitive_desc?

$
0
0

Hi, 

Thank you for the open-source MKL-DNN product.

The documentation says little about cleaning up objects created with mkldnn_*_create functions, particularly mkldnn_primitive_desc_t objects. The simple_net.c example makes no calls to mkldnn_primitive_desc_destroy function, and valgrind indeed shows leaked pd objects.

Thanks,
Dima


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>