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?
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.