VS中启动OpenMp

来源:互联网 发布:mac电脑密码不对 编辑:程序博客网 时间:2024/05/17 12:56

           怎样在VS中设置编译选项(以启用OpenMP)

  1. Open the project's Property Pages dialog box.

    (在解决方案资源管理器中右击项目图标)打开项目属性对话框

  2. Expand the Configuration Properties node.

              展开配置属性节点

       3.   Expand the C/C++ node.

              展开C/C++节点

       4.   Select the Language property page.

              选择语言属性页

       5.   Modify the OpenMP Support property.

             将OpenMP支持选项选为“是”

原创粉丝点击