蜻蜓
提示 登录 注册 提示 14301/0 08年12月5日 周五 5点15分 站标
引用(0)请拷贝:
大类:[西河广场] → 版面:[新兵营]
1 共1页3 楼主帖分页树展关闭目录
O 一个问题请教下 (小愚;字177 阅498 2007-03-06 16:31:03
O 有一帮人在搞这项研究,叫做Open MP (Highway;字169 阅320 花 1 2007-03-07 20:50:17
O Search the term Itanium 2 (moridin;字917 阅295 花 1 2007-03-07 07:47:13
。。O thanks. It helps (小愚;字0 阅237 2007-03-07 19:36:01
1O一个问题请教下 小愚 2007-03-06 16:31:03
有没有哪个多核的计算机系统可以自动把单线程
程序自动进行多线分配的?比如一个
for(i=0;i<=10000;i++){}
它可以自动判断,如果可以的话,把进程分配
给各个CPU.然后得到局域加速?

2O有一帮人在搞这项研究,叫做Open MP 花 1 Highway 2007-03-07 20:50:17
以前在MSDN看到过一篇是介绍这种技术的,你可以看看

链接出处

要想进一步了解的话,可以上Open MP的总部去看看。
2OSearch the term Itanium 2 花 1 moridin 2007-03-07 07:47:13
Auto parallelization is a tall billing for any compiler.
I haven't heard of any parallelizing compilers that can
deal with general purpose programs written in C-like
languages using threads.

The closest thing to what you ask is Itanium, which
is based on the VLIW idea. Theoretically, if there is
no dependency between the loops, the compiler will
issue instructions for muliple loops in one shot. Note
the word theoretically. The early product wasn't very
impressive. It might have improved but I don't know.

In addition, languages like HighPerformanceFortran
include additional tags added by the programmer to
guide the compiler's parallelization effort. But those
compilers were originally developed for Vector
computers. I'm not sure if they have been ported
to systems with general-purpose CPUs.

Just my 2c. A compiler or architecture major will
give you a better explanation.  


3Othanks. It helps 小愚 2007-03-07 19:36:01
一个问题请教下 1 共1页

点这里自动刷新◆ 或者 完整聊天


Copyright © cchere 西西河 feed 西西河规 版主规范 帮西西河 帮助(FAQ) 版面介绍 发帖特殊效果 网站地图 关于西西河