用OpenMP优化的程序怎样调试和测试?

lovememememe 2007-01-17 08:56:07
rt
...全文
1176 11 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
sapzj1984 2007-06-15
  • 打赏
  • 举报
回复
学习
zeuskaaba 2007-04-24
  • 打赏
  • 举报
回复
那也比单线的要难调得多
flyingdog 2007-03-24
  • 打赏
  • 举报
回复
随着工具的发展,开发多线程程序将变得越来越容易。
lserlohn 2007-03-23
  • 打赏
  • 举报
回复
多线程的程序,都不是很好测试的
judge9999 2007-03-22
  • 打赏
  • 举报
回复
学习
茶禅如水 2007-03-22
  • 打赏
  • 举报
回复
-tcheck generate instrumentation to detect multi-threading bugs
(requires Intel(R) Thread Checker; cannot be used with
compiler alone)
-tprofile generate instrumentation to analyze multi-threading
performance (requires Intel(R) Thread Profiler; cannot
be used with compiler alone)
-openmp enable the compiler to generate multi-threaded code
based on the OpenMP directives
-openmp-profile link with instrumented OpenMP runtime library to
generate OpenMP profiling information for use with the
OpenMP component of the VTune(TM) Performance Analyzer
-openmp-stubs enables the user to compile OpenMP programs in
sequential mode. The openmp directives are ignored and
a stub OpenMP library is linked (sequential)
-openmp-report{0|1|2} control the OpenMP parallelizer diagnostic level


在编译器(intel)中有关于openmp的不同参数,可以根据实际需要配合vtune等工具
reasongt 2007-03-22
  • 打赏
  • 举报
回复
up
syf7901 2007-02-16
  • 打赏
  • 举报
回复
路过,进来学习.
IntelPerLib 2007-01-18
  • 打赏
  • 举报
回复
Thread Check 与 Thread Profiler 都可以检测OpenMP threading的程序.
jjjjtiger 2007-01-17
  • 打赏
  • 举报
回复
项目 属性页-->C/C++-->语言
改下OpenMP支持
jjjjtiger 2007-01-17
  • 打赏
  • 举报
回复
VS2005中有支持Openmp的选项开关

568

社区成员

发帖
与我相关
我的任务
社区描述
英特尔® 边缘计算,聚焦于边缘计算、AI、IoT等领域,为开发者提供丰富的开发资源、创新技术、解决方案与行业活动。
社区管理员
  • 英特尔技术社区
  • shere_lin
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧