CUDA Parallel Programming/Learn CUDA and Implementation with ANOVA

From CS486wiki
Jump to navigationJump to search

← Back to project main page

Learn CUDA and Implementation with ANOVA

Example 1

On this example bb.txt file is 23 MB and it contains total of 1649996 characters to be searched. Through CUDA I implement my search time as 184 ms. Related to size of the file efficient Block number is 4, and Thread number is 512. Also all found location of search string is stored in an Array for analyze further steps.


Example 2

This example shows that how a data divided into pieces to search the SearchString. Divided data is makes the improvement of string search rather than search on whole data, each code runs on divided data. On the example it finds the found number of strings in each piece of data.

Example 3

On this example b.txt file is 24 MB and it contains total of 24269185 characters to be searched. Through CUDA I implement my search time as 617 ms. These search time is takes much more time in C.

Related to size of the file efficient Block number is 48, and Thread number is 512. Also all found location of search string is stored in an Array for analyze further steps. On the Example 1, block number was 4, when the data size increase as parallel my number of threads as increase for to handle data size.

There are 2378185 number of search string is found and those searched strings location(index thats is located on the data text is stored in a file).

Example 4


Example 5