view 13/April-2013/2nd.html @ 51:d8f499590d82

rename 201* to 1*
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Sun, 16 Mar 2014 13:36:04 +0900
parents 2013/April-2013/2nd.html@e4748bca1eb3
children
line wrap: on
line source

<!DOCTYPE html>

<!--
  Google HTML5 slide template

  Authors: Luke Mahé (code)
           Marcin Wichary (code and design)
           
           Dominic Mazzoni (browser compatibility)
           Charles Chen (ChromeVox support)

  URL: http://code.google.com/p/html5slides/
-->

<html>
  <head>
    <title>Presentation</title>

    <meta charset='utf-8'>
    <script
      src='http://html5slides.googlecode.com/svn/trunk/slides.js'></script>
  </head>
  
  <style>
    /* Your individual styles here, or just use inline styles if that’s
       what you want. */
    
    
  </style>

  <body style='display: none'>

    <section class='slides layout-regular template-default'>
      
      <!-- Your slides (<article>s) go here. Delete or comment out the
           slides below.-->

      <article>
        <h1>
          Ceriumによる
          <br>
          正規表現マッチャの実装
        </h1>
        <p>
          Masataka Kohagura
          <br>
          2nd April , 2013
        </p>
      </article>
      
      <article>
        <h3>
        研究目的
        </h3>
        <p>
        本研究室では、Cell用に作られたCeriumにて並列プログラミングを行なっている。
近年、マルチコアCPUが主流となっているが、それをフルに使用させるためには並列プログラミングの並列度を上げる必要がある。(続く)
        </p>
        <p>
        現在は正規表現を並列実装している段階である。
        </p>
      </article>

      <article>
        <h3>
          今週までにしたこと
        </h3>
        <p>
        a*bが含まれている単語数と行数をカウントするようにした。
        </p>
        <p>
        Print.ccで、データの受け渡しの様子の確認。
        </p>
      </article>

      <article class='smaller'>
        <h3>
          Exec.cc
        </h3>
        <section>
        <pre>
   for (; i < length; i++) {
        if (i_data[i] == 0x61) {
            word_head_a_flag = true;
        } else if ((i_data[i] == 0x62) && (word_head_a_flag == true)){
            word_flag = true;
            line_flag = true;
            word_head_a_flag = true;
        } else if (i_data[i] == 0x20) { //空白 
            word_num += word_flag;
            word_flag = false;
            word_head_a_flag = false;
        } else if (i_data[i] == 0x0A) { // 改行
            line_num += line_flag;
            word_num += word_flag;
            line_flag = false;
            word_flag = false;
            word_head_a_flag = false;
        }   
    }   
</pre>
        </section>
      </article>
      
            <article class='smaller'>
        <h3>
         実行結果(分割されないような小さなファイル)
        </h3>
        <section>
        <pre>
[Masa]~%  ./regex -file b.txt                   [~/hg/Cerium/example/regex_mas]
file size 75
fix 4096byte file size 4096
w 7ffc43a07440
dvision_size 4096
task_num 1
out_task_num 1
out size 32
SPE include 'a*b' 3 lines. 5 words. 
start sum
3 5 
Time: 0.000424
        </pre>
        <pre>
SPE include 'a*b' 3 lines. 5 words. 
        </pre>
        </section>
      </article>
      
     </section>

  </body>
</html>