Changes

Jump to: navigation, search

ParaCode

500 bytes added, 10:47, 6 April 2018
Assignment 2
If we put the character array to CUDA kernel to run, those characters will run individually in different threads. It will look like this:<br>
[[File:LineInThreads.JPG|650px]]
 
Also, if we put keyword character array in kernel, the characters will run in individual thread as well:<br>
[[File:Keyword.JPG|650px]]
 
It's impossible to compare the string keyword to the file input string cause all characters are individual in threads. That make us spend a huge time to figure out the solution.<br>
 
Although we cannot compare a whole string, it is possible to compare by one character. For example, it is possible to find just 'h' in input string. <br>
[[File:FindH.JPG|650px]]
=== Assignment 3 ===
167
edits

Navigation menu