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

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| 亚洲综合成人在线| 欧美在线啊v| 乱中年女人伦av一区二区| 欧美激情亚洲| 国产欧美一区二区三区另类精品| 国产伦精品一区| 亚洲国产另类 国产精品国产免费| 亚洲精品一区二区三区樱花| 亚洲在线一区二区三区| 久久久久国产精品一区二区| 蜜桃av噜噜一区二区三区| 亚洲日本激情| 亚洲在线成人| 欧美a级理论片| 国产日韩欧美一区二区三区在线观看| 尤妮丝一区二区裸体视频| 亚洲视频一区在线观看| 久热精品视频在线免费观看| 亚洲精品一区在线观看香蕉| 欧美资源在线| 国产精品v欧美精品v日韩 | 欧美激情视频一区二区三区在线播放 | 黄色一区二区在线观看| 91久久精品日日躁夜夜躁欧美 | 欧美三级午夜理伦三级中视频| 国产日韩视频| 一本一道久久综合狠狠老精东影业| 性欧美激情精品| 亚洲国产成人av在线| 午夜精品久久久久久99热软件| 欧美精品日日鲁夜夜添| 狠狠色狠狠色综合系列| 香蕉亚洲视频| 一本大道久久a久久精品综合| 老鸭窝毛片一区二区三区| 国产精品一区二区在线观看不卡| 亚洲免费成人| 亚洲成在人线av| 久久久久久九九九九| 国产午夜精品一区理论片飘花| 亚洲一区二区成人| 亚洲精品1区| 欧美在线一级视频| aaa亚洲精品一二三区| 久热精品在线视频| 亚洲小视频在线| 欧美日韩不卡一区| 亚洲精品乱码久久久久久蜜桃91| 噜噜噜在线观看免费视频日韩| 亚洲女女女同性video| 欧美三级在线| 亚洲欧美另类久久久精品2019| 日韩午夜电影在线观看| 欧美日韩国产精品专区| 日韩午夜av在线| 亚洲精品看片| 欧美视频网站| 西西人体一区二区| 香蕉久久夜色| 在线播放一区| 亚洲高清资源| 欧美亚州在线观看| 香蕉视频成人在线观看 | 欧美激情视频一区二区三区免费| 久久久999| 亚洲欧洲日本在线| 亚洲精品国产精品国产自| 欧美日韩二区三区| 午夜亚洲视频| 久久天天狠狠| 中日韩高清电影网| 性做久久久久久久免费看| 激情成人综合网| 亚洲精品国产欧美| 国产农村妇女精品一二区| 久久偷看各类wc女厕嘘嘘偷窃| 快播亚洲色图| 亚洲在线成人| 久久久噜噜噜| 国产精品99久久久久久久vr | 亚洲永久精品国产| 精品av久久707| 日韩亚洲成人av在线| 国产日韩欧美| 亚洲日本中文字幕免费在线不卡| 国产精品久久久久9999高清| 久久久久久久久蜜桃| 欧美精品日韩| 老司机一区二区| 国产精品s色| 欧美激情一区三区| 国产欧美一区二区三区在线看蜜臀| 欧美成人黄色小视频| 国产精品免费电影| 亚洲电影天堂av| 国产一区二区三区在线观看免费视频| 亚洲国产影院| 韩国av一区二区三区四区| av不卡在线看| 亚洲三级视频| 久久精品中文| 国产精品入口尤物| 亚洲激情午夜| 日韩视频一区二区三区在线播放| 国产精品网站在线播放| 亚洲国产第一页| 伊人久久噜噜噜躁狠狠躁| 亚洲自拍啪啪| 亚洲一区在线免费| 欧美日韩国产精品成人| 亚洲第一在线综合网站| 一色屋精品视频在线看| 中文亚洲免费| 中日韩午夜理伦电影免费| 你懂的视频一区二区| 免费观看亚洲视频大全| 国内精品一区二区| 亚洲欧美美女| 欧美亚洲免费在线| 国产精品日韩一区二区| 日韩一级视频免费观看在线| 亚洲乱码视频| 欧美日韩国产bt| 亚洲精品社区| 亚洲色在线视频| 欧美日韩一区在线| 宅男噜噜噜66国产日韩在线观看| 中文亚洲免费| 国产精品久在线观看| 亚洲在线免费视频| 欧美亚洲一级片| 国产午夜精品全部视频在线播放| 欧美一区二区三区在| 久久婷婷国产综合国色天香| 狠狠色伊人亚洲综合网站色| 久久久久一区| 亚洲国内高清视频| 在线一区二区三区四区| 欧美日韩www| 亚洲一区二区三区四区视频 | 亚洲国产精品高清久久久| 亚洲精品社区| 欧美午夜精品久久久久久浪潮| 亚洲一区亚洲| 久久亚洲一区二区三区四区| 尤物精品在线| 欧美另类极品videosbest最新版本| 亚洲片国产一区一级在线观看| 亚洲欧美99| 一区在线电影| 欧美深夜影院| 久久久久久电影| 99在线|亚洲一区二区| 久久久综合精品| 亚洲伦理在线| 国产亚洲一区二区三区在线观看| 免费观看成人www动漫视频| 亚洲精品中文字| 久久精品视频播放| 亚洲美女视频在线免费观看| 国产老女人精品毛片久久| 美女视频黄a大片欧美| 亚洲视频精品| 亚洲第一页中文字幕| 欧美在线国产精品| 99xxxx成人网| 在线观看不卡| 国产视频在线观看一区| 欧美日本一区二区高清播放视频| 欧美一区二区三区在线观看 | 欧美一区2区视频在线观看| 久久精品72免费观看| 亚洲午夜久久久久久久久电影院| 国产精品入口尤物| 免费毛片一区二区三区久久久| 99热精品在线| 欧美二区在线播放| 午夜精品久久久久久| 亚洲激情黄色| 国产一区二区三区久久| 欧美色视频在线| 欧美国产欧美亚洲国产日韩mv天天看完整| 一区二区三区四区精品| 欧美电影免费观看高清| 久久成人免费| 亚洲女人天堂成人av在线| 91久久国产自产拍夜夜嗨| 国产精品中文字幕在线观看| 欧美精品一区在线观看| 久久久久久久网站| 久久国产精品99久久久久久老狼| 中文在线资源观看网站视频免费不卡 | 亚洲素人一区二区| 亚洲国产女人aaa毛片在线|