I am programming a matrix-matrix multiplication using the Eigen library in VS2010. When I run in debug mode the application uses all my CPU, but when I run in release mode it uses only 1 thread. Is there a setting I need to change in order to enable multi-threading?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
This is so silly but i never enabled openMP for RELEASE mode in properties configuration even though i thought i did.