Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

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

Dmitry_B_
Beginner
283 Views

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

0 Kudos
1 Solution
Zhen_Z_Intel
Employee
283 Views

Hi Dmitry,

Please submit any problem related to MKL-DNN to github forum: https://github.com/01org/mkl-dnn/issues, the developing team will give reply to you directly. Thanks.

Best regards,
Fiona

View solution in original post

0 Kudos
2 Replies
Zhen_Z_Intel
Employee
284 Views

Hi Dmitry,

Please submit any problem related to MKL-DNN to github forum: https://github.com/01org/mkl-dnn/issues, the developing team will give reply to you directly. Thanks.

Best regards,
Fiona

0 Kudos
Dmitry_B_
Beginner
283 Views

Thank you for proper reference.

0 Kudos
Reply