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

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>
            久久精品人人做人人爽电影蜜月| 亚洲国产黄色片| 亚洲图色在线| 亚洲在线视频| 在线免费观看视频一区| 亚洲第一在线综合网站| 欧美人妖在线观看| 翔田千里一区二区| 久久噜噜噜精品国产亚洲综合| 亚洲经典三级| 亚洲一区在线免费| 在线观看欧美激情| 夜夜爽99久久国产综合精品女不卡| 国产精品嫩草影院一区二区| 母乳一区在线观看| 欧美日韩免费观看一区二区三区| 久久精品二区| 欧美日韩精品免费观看| 久久成人免费| 欧美激情综合网| 欧美一区二区三区在线| 欧美成人精品高清在线播放| 欧美一区二区免费观在线| 久久这里有精品15一区二区三区 | 欧美在线你懂的| 亚洲精品乱码久久久久久蜜桃麻豆| 夜久久久久久| 亚洲日本国产| 午夜在线a亚洲v天堂网2018| 亚洲每日更新| 久久先锋影音| 久久精品首页| 欧美三级乱人伦电影| 欧美国产日产韩国视频| 国产日韩在线看片| 在线亚洲+欧美+日本专区| 亚洲大胆人体视频| 欧美一区亚洲二区| 亚洲欧美日韩中文在线制服| 欧美~级网站不卡| 开心色5月久久精品| 国产热re99久久6国产精品| 亚洲精品视频在线观看网站| 在线观看亚洲精品视频| 亚洲制服av| 午夜精品视频在线观看| 欧美日韩色婷婷| 亚洲欧洲综合| 最新国产の精品合集bt伙计| 久久国产精品久久久| 欧美一级理论片| 国产精品视频免费观看www| 日韩视频免费大全中文字幕| 亚洲精品色婷婷福利天堂| 久久久久国产一区二区| 久久精品国产久精国产一老狼| 欧美午夜在线观看| 一区二区黄色| 亚洲欧美日韩久久精品 | 久久精品99国产精品日本| 欧美一区二区国产| 国产美女高潮久久白浆| 亚洲香蕉网站| 欧美一区三区三区高中清蜜桃| 国产精品免费一区豆花| 亚洲一区二区三区免费视频| 欧美一区二区黄色| 国产一在线精品一区在线观看| 亚洲欧美一区二区视频| 久久久亚洲高清| 亚洲电影在线免费观看| 美女日韩欧美| 亚洲另类视频| 亚洲欧美中文日韩v在线观看| 免费中文日韩| 亚洲第一精品夜夜躁人人爽| 美女精品在线| 一区二区不卡在线视频 午夜欧美不卡'| av成人福利| 国产美女精品| 久久中文字幕一区| 亚洲精品一区二区在线观看| 午夜久久tv| 一区二区亚洲精品| 欧美激情一区二区三区不卡| 亚洲社区在线观看| 久久成人综合网| 最新国产成人在线观看| 欧美日韩一级片在线观看| 午夜精品久久久久久久蜜桃app| 免费不卡欧美自拍视频| 一本大道av伊人久久综合| 国产精品久久久久久久久久直播 | 欧美一区二区三区久久精品茉莉花 | 一区二区三区高清不卡| 国产乱码精品一区二区三区av| 久久av最新网址| 99视频精品免费观看| 久久精品在线观看| 一区二区日本视频| 激情久久久久久久| 欧美日韩中文精品| 另类尿喷潮videofree| 亚洲伊人第一页| 亚洲国产一区二区三区a毛片 | 亚洲综合国产激情另类一区| 狠狠色狠狠色综合日日五 | 久久av一区二区三区漫画| 亚洲激情第一区| 久久久亚洲人| 午夜精品久久久久久久久| 亚洲激情自拍| 影音欧美亚洲| 国产欧美日韩91| 欧美日韩亚洲一区| 欧美韩日亚洲| 久久野战av| 久久久精品五月天| 亚洲欧洲99久久| 一区二区成人精品| 亚洲人成在线播放网站岛国| 麻豆国产精品va在线观看不卡| 性做久久久久久久久| 一本在线高清不卡dvd| 亚洲国产精品久久久久婷婷老年| 国产欧美日韩综合一区在线播放| 欧美日韩一区高清| 欧美日韩一区二区三区在线看| 美女精品国产| 久久综合久久久久88| 久久免费国产精品| 久久精品国产一区二区三区免费看| 亚洲一区二区三区涩| 亚洲特色特黄| 亚洲综合99| 亚洲欧美在线一区| 午夜视频在线观看一区| 亚洲欧美一区二区激情| 亚洲一区视频在线| 欧美一区二区成人| 欧美在线观看www| 久久久99久久精品女同性| 欧美在线观看一区二区三区| 欧美自拍偷拍午夜视频| 久久久久久久999| 鲁大师成人一区二区三区| 免费成人毛片| 欧美日韩国产999| 欧美日韩精品一本二本三本| 欧美午夜不卡| 国产亚洲制服色| 在线观看日韩精品| 亚洲三级免费电影| 一区二区久久久久久| 亚洲欧美日韩一区二区在线| 欧美在线一区二区| 欧美jjzz| 一区二区三区三区在线| 亚洲欧美国内爽妇网| 久久久国产视频91| 欧美韩国在线| 国产日韩欧美不卡在线| 亚洲第一区在线观看| 99视频有精品| 欧美在线观看一二区| 麻豆精品精品国产自在97香蕉| 亚洲国产成人在线| 亚洲小视频在线观看| 久久久欧美精品sm网站| 欧美日韩国产在线播放网站| 国产日韩综合| 在线亚洲精品福利网址导航| 久久精品视频va| 亚洲国产欧美一区二区三区同亚洲 | 久热国产精品| 日韩一区二区免费高清| 久久se精品一区精品二区| 欧美国产91| 国产一区二区三区在线观看免费视频 | 欧美亚洲视频在线看网址| 蜜桃av一区| 国产女主播视频一区二区| 亚洲国产精品黑人久久久| 先锋a资源在线看亚洲| 欧美国产日韩一区二区| 午夜精彩视频在线观看不卡| 欧美成人第一页| 国产亚洲成av人片在线观看桃| 亚洲精品视频在线看| 久久久久久久综合色一本| 亚洲欧洲综合另类| 久久久久久一区| 国产精品揄拍500视频| 一区二区动漫| 亚洲黄页一区| 免费成人在线观看视频| 国内久久视频| 欧美专区日韩视频| 亚洲色无码播放| 欧美日韩另类视频|