L3 openmp 源码

ensure_74464 10 0 ZIP 2021-04-04 21:04:31

下载Visual Studio代码 (您也可以使用notepad ++编写代码或任何您喜欢的代码,我喜欢这个代码) 在VS Code中启用C / C ++扩展(这将为您提供一些巧妙的自动建议) 下载mingw-w64-install.exe并运行它(这将确保您具有ac / c ++编译器以及它需要的所有库和依赖项) 下载mingw-get-setup.exe并运行它(您将需要选择开发人员工具包和msys base-> Apply changes。这将确保您也可以启用openMP标志) 打开VS代码并创建一个新的test.cpp文件 用它填充 #包括 int main(){#pragma omp parallel {std :: cout <<“ Hello World” <<“ from CPD” << std :: endl; }返回0; } 从终端运行g ++ test.cpp

用户评论
请输入评论内容
评分:
暂无评论