青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

posts - 43,  comments - 64,  trackbacks - 0

When Brook Meets ICE
A Smalltalk about General Computing Platform
Bosch Chou (zhoubo22@hotmail.com

??? As we have seen, techniques about distributed communication such as CORBA, DCOM, even JAVA have been used widely at some corners on the earth. All of these could implement purposes such as RPC, distributed computing, and some others applications for business and science.
???? Let’s have a look at development of hardware on platform of PC. CPU is becoming much faster, and much cheaper than any time before. At the same time, GPU, or more generally, is the card we call Display Adapter. Since 1999, NVIDIA released the new generation graphic card series named Geforce, challenge the performance until now, next year we can buy DX10 cards on the markets. Graphic card could do vertex transform and lighting instead of CPU. It’s a great progress on both CPU and GPU. How to use these rich SIMD resources? We can easily understand why we will focus to GPU.
???? Calm down, what’s our desire platform?

  • Cross Operation System
  • Cross Networks
  • Cross hardware – This is the key problem I try to solve.

??? ?The specialties I showed here, except the last one, most of them had been solved by some current technique. So, how to ??I found 2 treasures. ICE, Internet Communication Engine, is much similar as classic CORBA, but much easily used than CORBA. Brook, from Stanford University, developed for years, designed for GPU stream computing. Both of them have the same usage, a front-compiler, which could translate string-codes to C++ language. Then we can add the .h, .cpp files to our projects, code the interface.
??? The process how does client pass its call to server as showed below.

  • Client pass the data which need to be computed to interface declared both side
  • Server receives the data, compute them, pass the results back to client
  • Client receives the result, do its work itself continually.

??? But, the problem is, it’s too kinds of IDL language, one is for internet application, another is for local GPU stream computing. And more, ICE have no stream data property. It sounds like C++ metaprogramming, but it’s quite different from each other. So, does it meaning that we must redefine a new IDL language? Let’s check current tools we have had now.
????? In fact, the most important is the base model. ICE supports a property called “Sequence”, mapped into STL container of C++. It could be considerate as the base data type in the language we thought should to invert one. When a client sent a request, server accepted, and then the client sent data wrapped in this container which will rebuild in memory of “Server” as texture structure. After server had prepared all the textures contained the data ready to compute, it called API, used the Shaders to computed data. All the progress I have illustrated as follows.
For example, we wrote these IDL sentences.
?

GPU?Interface?Foo
{
Add([
in ]? float ?a <> ?,?[ in ]? float ?b <> ,?[ out ]? float ?c <> ) {
/* ?some?stuff? */
}

}

CPU?Interface?Bar
{
?Add([
in ]? float ?a[],?[ in ]? float ?b[],?[ out ]? float ?c[]) {
?
/* ?some?stuff? */
}

}

?We declared the 2 interface, attention, the “GPU” and ”CPU” is the key word here, they’are used to mark where the interface is used for, here, one will run on traditional CPU, another will run on GPU.
??

// On?Server?Side
??
// verify?the?validity?of?data
??vector < float > ?tex1;
??vector
< float > ?tex2;
??vector
< float > ?result;
??Add(tex1,tex2,result)?
// use?reference,?avoid?stack-copy
?? {
???GLfloat
* ?Tex1Ptr? = ? new ?GLfloat[tex1.size()];
???
/* ?some?stuff?as?above,?convert?container?to?texture?structure */
???GLuint?hTex1;?glGenTextures(
1 , & Tex1);
???glTexImage2D(
/**/ ,Tex1Ptr);? // upload?the?data?into?memory?as?texture
???glUseProgram(g_hArithmetic);
???
/* Draw?something?to?get?all?the?data?out,?a?rectangle?etc. */
??}

???? If you’re familiar with GL programming, you will point out, “Why not add glFlush, glSwapBuffer above ? “, in fact that’s the key of my whole article. If we only need 1 + 1, even we do not need GPU. The men are greedy all the time. If we want GPU to compute the π for us, what’s should we do ? Assume, we want to compute π , 16 million digitals, but texture unit of GPU can only hold 4096x4096 floating texture size. When GPU will swap buffer, we must move all the data from framebuffer to disk, save them, then make GPU continue compute data. But How to ? I checked the OpenGL and D3D Manual, found nothing useful. So I thought several way to implement this key problem.

  • Next generation hardware architecture, CPU integrates GPU, I think AMD & ATi will do this.
  • Improve the current API & Drivers, support operate SIMD register directly.

All I said was above, about a special aspect of distributed computing, about how to use GPU to do compute as CPU. If this can be implemented one day, I think the modern science will be benefited much from this.

Reference:
ICE, Internet Communications Engine, Zeroc,Inc http://www.zeroc.com/
Brook, Stardford University, http://sf.net/projects/brook
NVIDIA Develper Zone, http://developer.nvidia.com/
OpenGL official Site, http://www.opengl.org/

?

posted on 2006-10-28 11:58 周波 閱讀(943) 評論(0)  編輯 收藏 引用 所屬分類: 奇思妙想
<2025年9月>
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011

周波 87年出生 南京林業大學05421班242信箱 專業木材科學與工程工業裝備與過程自動化 遷移到 jedimaster(dot)cnblogs(dot)com

常用鏈接

留言簿(4)

隨筆分類

隨筆檔案

新聞檔案

同學們Blog

搜索

  •  

積分與排名

  • 積分 - 55135
  • 排名 - 421

最新評論

閱讀排行榜

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            欧美全黄视频| 欧美一区二区在线免费观看| 久久av一区| 欧美视频精品在线观看| 久久在线视频| 久久精品一区二区国产| 亚洲欧美激情诱惑| 亚洲午夜极品| 欧美在线在线| 蜜臀va亚洲va欧美va天堂| 久久另类ts人妖一区二区| 欧美在线视频免费| 久久精品成人欧美大片古装| 新67194成人永久网站| 欧美一级二区| 免费看亚洲片| 国产精品美女午夜av| 精品999在线观看| 伊人狠狠色丁香综合尤物| 在线观看91精品国产麻豆| 亚洲国产另类久久精品| 亚洲午夜久久久| 欧美777四色影视在线| 日韩一级精品视频在线观看| 亚洲欧美日韩国产综合在线 | 久久精品91久久久久久再现| 久久精品123| 亚洲国产精品久久精品怡红院| 亚洲精品国久久99热| 久久精品成人| 国产色综合天天综合网| 一本色道久久综合狠狠躁的推荐| 久久久久久夜| 亚洲天堂成人在线观看| 免费观看成人鲁鲁鲁鲁鲁视频| 一本色道精品久久一区二区三区| 欧美在线影院| 国产私拍一区| 玖玖综合伊人| 久久亚洲图片| 最近看过的日韩成人| 免费黄网站欧美| 久久午夜电影网| 亚洲国产欧美一区二区三区久久 | 欧美日韩亚洲一区二区三区四区 | 久久视频免费观看| 久久成人18免费观看| 国内精品久久国产| 欧美激情视频一区二区三区在线播放| 欧美在线欧美在线| 亚洲国产一区二区三区a毛片| 蜜臀久久久99精品久久久久久| 久久全国免费视频| 亚洲午夜精品| 久久久天天操| 日韩网站免费观看| 欧美在线看片| 亚洲日本免费电影| 亚洲在线视频免费观看| 永久久久久久| 午夜精品福利视频| 一区二区三区日韩精品| 国产免费观看久久| 亚洲综合三区| 欧美激情亚洲自拍| 欧美日韩国产经典色站一区二区三区| 久久综合九色| 亚洲国产你懂的| 欧美日韩理论| 欧美亚洲综合久久| 欧美国产日韩精品| 99视频在线精品国自产拍免费观看| 欧美韩日一区二区三区| 亚洲国产一区二区精品专区| 久久精品五月| 欧美**人妖| 黄网站免费久久| 羞羞答答国产精品www一本| 欧美在线播放视频| 国产精品一页| 久久一区激情| 亚洲欧洲日韩综合二区| 亚洲国产高清一区| 欧美成人dvd在线视频| 日韩视频在线观看免费| 午夜精品久久久久久久久久久| 国产亚洲第一区| 久久中文精品| 99在线精品观看| 国内偷自视频区视频综合| 久久米奇亚洲| 国产精品99久久久久久www| 国内精品久久久久影院 日本资源| 久久久精品2019中文字幕神马| 欧美成人蜜桃| 久久综合狠狠| 久久久噜噜噜久久中文字免| 日韩视频永久免费观看| 国产欧美日韩麻豆91| 欧美电影资源| 久久成人18免费观看| 亚洲最新合集| 欧美一级在线播放| 欧美有码在线观看视频| 亚洲国产99精品国自产| 能在线观看的日韩av| 久久久久久久999精品视频| 亚洲精品在线电影| 亚洲欧美高清| 久久精品免费观看| 久久裸体视频| 久久精品在线免费观看| 亚洲欧美综合一区| 99视频在线观看一区三区| 亚洲国产精品福利| 狠狠色噜噜狠狠狠狠色吗综合| 欧美日韩中国免费专区在线看| 另类专区欧美制服同性| 欧美三级日本三级少妇99| 在线电影国产精品| 久久频这里精品99香蕉| 亚洲欧美怡红院| 国产欧美精品一区aⅴ影院| 亚洲综合日韩在线| 欧美+日本+国产+在线a∨观看| 欧美成人在线网站| 99热在这里有精品免费| 久久久青草婷婷精品综合日韩| 欧美sm视频| 欧美在线视频观看免费网站| 久久精品系列| 国产免费成人在线视频| 亚洲免费高清| 久久久久国色av免费看影院 | 欧美资源在线| 欧美国产成人精品| 亚洲欧洲日产国产网站| 久久久久久久久一区二区| 欧美伊人久久大香线蕉综合69| 国产精品久久久久久久一区探花| 欧美国产日本| 欧美成熟视频| 欧美黄色免费| 欧美久久九九| 午夜精品亚洲| 久久av在线| 妖精成人www高清在线观看| 亚洲人成小说网站色在线| 欧美精品www在线观看| 在线视频欧美日韩| 欧美一区二区三区精品电影| 国产亚洲一区在线| 国产精品高潮粉嫩av| 欧美激情久久久久| 午夜精品区一区二区三| 模特精品在线| 亚洲高清不卡在线| 欧美国产一区二区| av成人免费在线| 久久精品人人做人人综合| 久久成人18免费网站| 欧美在线视频a| 欧美久久久久久久久| 国产精品午夜视频| 亚洲国产视频一区| 欧美一区二区啪啪| 久久青草福利网站| 一本色道久久综合亚洲精品小说 | 欧美福利影院| 精品999在线播放| 日韩视频不卡中文| 两个人的视频www国产精品| 亚洲一级在线观看| 亚洲精品永久免费精品| 久久一综合视频| 亚洲午夜免费福利视频| 亚洲一区二区在线| 欧美在线啊v| 国产欧美日韩91| 中国女人久久久| 亚洲国产色一区| 久久国产精品久久久| 欧美性色视频在线| 亚洲一区二区三区精品在线观看 | 亚洲美洲欧洲综合国产一区| 欧美精品福利视频| 亚洲视频在线一区| 一区二区欧美日韩视频| 国产精品亚发布| 亚洲伊人网站| 亚洲精品日韩在线| 欧美aⅴ一区二区三区视频| 午夜精品福利视频| 亚洲美女中文字幕| 亚洲大片一区二区三区| 国产女主播一区| 欧美日韩综合另类| 欧美精品久久久久久久免费观看| 久久乐国产精品| 欧美在线视频一区|