Changes

Jump to: navigation, search

ParaCode

446 bytes added, 17:05, 8 April 2018
Resources
We change global memory to shared memory in kernel grepx(). The code is:<br>
[[File:SharedMem.JPG|650px]]
 
''' Profile '''
Let's profile it.<br>
We get the data like this:<br>
[[File:SharedData.JPG|650px]]
 
 
''' ntpb ''
 
We also try different ntpb and see if it effect runtime.<br>
[[File:NtpbDiff.JPG|650px]]
 
According to the data, the number of ntpb is not an important factor affecting time.
 
''' End '''
 
That's all for our assignment.
 
 
== Resources ==
 
You can see my code here: https://gist.github.com/KignorChan/764c71d9d96561e4101d9830e0bc5e69
 
Idea from LZW compress program: https://codereview.stackexchange.com/questions/86543/simple-lzw-compression-algorithm
167
edits

Navigation menu