Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 VS2010 中的 Eigen 库对矩阵矩阵乘法进行编程。当我在调试模式下运行时,应用程序使用了我所有的 CPU,但是当我在发布模式下运行时,它只使用 1 个线程。是否需要更改设置才能启用多线程?
这太愚蠢了,但我从未在属性配置中为 RELEASE 模式启用 openMP,即使我认为我这样做了。