Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MFC application that uses evaluate force loads the cntk-core dll on start. cannot delay load it #3846

Open
dk-teknologisk-mlnn opened this issue Feb 16, 2021 · 0 comments

Comments

@dk-teknologisk-mlnn
Copy link

I train in python, and included evaluation of models in a c++ mfc singledoc/view program that was always very fast to open. After including cntk it is slow to open and I noticed that it always loads the cntk.core*.dll on starting. the rest ( math, mkldnn, and mklml) are delay loaded when I enable the cntk feature in the app. I tried to remove all references to cntk in the header files, so it only refers to cntk when I choose the option in the menu to enable it, and put it in the delayload project settings.

Is there any way to stop loading the core dll until it is needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant