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

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)  編輯 收藏 引用 所屬分類: 奇思妙想
<2006年10月>
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

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

常用鏈接

留言簿(4)

隨筆分類

隨筆檔案

新聞檔案

同學們Blog

搜索

  •  

積分與排名

  • 積分 - 55117
  • 排名 - 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>
            一本色道久久综合亚洲91| 亚洲精品资源美女情侣酒店| 香蕉成人啪国产精品视频综合网| 欧美日韩直播| 午夜精品久久久久久久久久久久久| 一本色道久久综合狠狠躁篇怎么玩| 国产精品久久久久久久久久免费| 午夜精品久久久久久久99水蜜桃| 亚洲欧美日韩一区二区三区在线| 狠狠色伊人亚洲综合网站色| 亚洲高清中文字幕| 欧美日韩国产区一| 久久精品99无色码中文字幕| 久久婷婷综合激情| 亚洲视频一区二区免费在线观看| 亚洲性视频h| 136国产福利精品导航网址应用| 亚洲国产日韩在线一区模特| 国产精品国产三级国产a| 久久久久国产免费免费| 欧美国产一区在线| 欧美一区二区三区免费大片| 免费亚洲一区| 欧美一区二区三区在线视频 | 久久蜜桃av一区精品变态类天堂| 久久久久国产精品一区| 亚洲图片在线观看| 久久亚洲欧美国产精品乐播| 亚洲一区在线播放| 蜜桃伊人久久| 久久精品亚洲一区| 欧美日韩岛国| 欧美国产精品久久| 国产亚洲欧美日韩在线一区| 亚洲乱亚洲高清| 亚洲福利视频一区二区| 亚洲一区二区三区午夜| 亚洲美女一区| 久久亚洲春色中文字幕| 久久精品国产77777蜜臀| 欧美日韩一区二区三区四区五区| 麻豆精品在线播放| 国产美女高潮久久白浆| 一区电影在线观看| 日韩一级精品视频在线观看| 久久精品视频一| 欧美有码在线观看视频| 欧美性猛交99久久久久99按摩| 亚洲福利视频免费观看| 精品va天堂亚洲国产| 欧美一区二区三区另类| 香蕉久久夜色精品| 欧美午夜性色大片在线观看| 亚洲国产综合91精品麻豆| 伊人精品成人久久综合软件| 亚洲欧美在线高清| 欧美中文在线字幕| 国产欧美亚洲精品| 欧美一区二区免费观在线| 午夜精彩视频在线观看不卡| 国产精品久久久久77777| 99在线热播精品免费| 亚洲视频1区2区| 欧美日韩在线观看视频| 日韩午夜电影| 午夜国产不卡在线观看视频| 国产精品毛片大码女人| 亚洲在线1234| 久久电影一区| 红桃视频国产一区| 欧美aaaaaaaa牛牛影院| 亚洲人成高清| 亚洲欧美日本另类| 国产亚洲女人久久久久毛片| 欧美一级在线播放| 免费久久99精品国产自| 亚洲日韩欧美一区二区在线| 欧美日本网站| 亚洲专区免费| 久久综合给合| 亚洲免费观看在线观看| 国产精品久久久久久久9999| 亚洲欧美在线x视频| 另类尿喷潮videofree| 亚洲国产视频一区| 欧美亚洲成人免费| 久久精品99国产精品| 亚洲国产人成综合网站| 亚洲午夜一区二区| 黄色成人av网| 欧美日韩一区二区欧美激情| 亚洲影院免费| 亚洲电影成人| 午夜欧美大尺度福利影院在线看| 狠久久av成人天堂| 欧美日韩专区| 久久永久免费| 亚洲婷婷免费| 欧美国产日韩一区二区| 亚洲欧美伊人| 亚洲人成免费| 国产亚洲激情| 欧美午夜不卡在线观看免费| 久久久www成人免费无遮挡大片 | 亚洲综合第一页| 国内精品久久久| 欧美午夜国产| 免费久久99精品国产自| 先锋影院在线亚洲| 99国产一区二区三精品乱码| 老牛嫩草一区二区三区日本| 亚洲欧美国产毛片在线| 亚洲精选成人| 一区免费视频| 国产亚洲精品久久久| 欧美日韩国产123区| 看片网站欧美日韩| 久久av红桃一区二区小说| 一区二区三区免费网站| 亚洲韩国日本中文字幕| 久久天天躁狠狠躁夜夜爽蜜月| 亚洲影院色无极综合| 亚洲精品国产精品国自产观看浪潮 | 国语自产精品视频在线看一大j8 | 亚洲电影在线| 毛片一区二区三区| 久久久久综合| 久久久久久9| 久久国产精品第一页| 亚洲一区二区三区在线播放| 亚洲精品视频免费观看| 亚洲黄一区二区| 亚洲国产精品专区久久| 在线观看中文字幕亚洲| 狠狠色丁香久久婷婷综合_中| 国产精品乱码| 国产精品一区二区你懂得| 国产精品v一区二区三区| 欧美日韩午夜剧场| 欧美日韩视频在线观看一区二区三区| 欧美xxx成人| 欧美激情一区二区三区蜜桃视频| 媚黑女一区二区| 欧美国产日韩精品| 欧美裸体一区二区三区| 欧美精品99| 欧美日韩中文另类| 国产精品素人视频| 国产日产高清欧美一区二区三区| 国产精品揄拍500视频| 国产欧美一区二区三区视频| 国产视频不卡| **欧美日韩vr在线| 亚洲日本成人| 亚洲深夜福利| 久久精品人人爽| 欧美91大片| 亚洲精选91| 亚洲欧美国产va在线影院| 久久狠狠婷婷| 欧美激情精品久久久久| 国产精品国产福利国产秒拍| 国产偷国产偷精品高清尤物| 亚洲高清免费视频| 亚洲一级一区| 久久亚洲精品视频| 91久久精品国产| 亚洲一区二区视频在线观看| 欧美怡红院视频| 欧美国产精品久久| 国产精品影院在线观看| 亚洲国产成人av| 亚洲欧美久久久| 噜噜噜噜噜久久久久久91| 亚洲精品欧洲| 久久精品五月| 国产精品初高中精品久久| 精品成人国产| 亚洲一区欧美| 亚洲成人在线视频播放| 亚洲一级片在线观看| 欧美不卡一卡二卡免费版| 国产精品丝袜91| 99在线精品视频在线观看| 久久久国产精品一区二区中文 | 久久久久成人精品| 亚洲精选一区| 蜜桃av噜噜一区| 国产一二精品视频| 亚洲视频大全| 亚洲人成人一区二区在线观看| 欧美亚洲一区二区在线观看| 欧美精品成人一区二区在线观看 | 亚洲国产成人91精品| 久久国产精品久久久久久电车| 亚洲人成网站精品片在线观看| 久久精品导航| 黑人一区二区三区四区五区| 亚洲尤物影院| 99精品免费视频|