随笔 - 193
文章 - 0
评论 - 5
阅读 -
22133
06 2007 档案
【zt】三言两语谈并行编程模式
摘要:三言两语谈并行编程模式 作者: 陈兴 出处: CCW [ 2005-09-08 10:35 ] 并行编程模式主要有三种,那么三种模式的优劣又是怎样的呢?请看下文: 并行编程模式主要有以下三种: 共享地址空间模式:以OpenMP为代表,主要是利用添加并行化指令到顺序程序中,由编译器完成自动并行化。 消
阅读全文
使用stl sort函数的例子
摘要:使用stl sort函数的例子 struct tagElem ... { int key; int i;} ; bool UDgreater ( struct tagElem e1, struct tagElem e2 ) ... { return e1.key > e2.key;} void te
阅读全文