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

Reduce the size of MKL custom dlls

K_L_
Beginner
350 Views

When building the custom dll with MKL 2017, I notice the huge size of the custom dll (about 100M on x64 platform. We only export 10 functions in the examples.def file). It is possible to reduce the size of custom dlls? In other words, is it possible to only include the specified instruction set architecture s(ISA), e.g., excluding AVX512/AVX512_MIC?

0 Kudos
2 Replies
Zhen_Z_Intel
Employee
350 Views

Dear customer,

We currently not provide any interface to select which instructions of lib for generating custom dll only with some extension instructions. Your idea is valuable, we may consider and talk about it. Thanks.

Best regards,
Fiona

0 Kudos
K_L_
Beginner
350 Views

Could you give me some clue when such options would become available? We do need a smaller MKL library. Many thanks.

0 Kudos
Reply