Question: The main problem in the project is where decoding a message from a given encoded file (encodedfile.txt). The decoding process in this homework will be

The main problem in the project is where decoding a message from a given encoded file (encodedfile.txt). The decoding process in this homework will be a little bit different as follows; specific character is comma (,) and in each line the next character after commas are the secret message characters. For example: Ern,basd,b3.,msd 324,4!..:,4erwer,2 Should return bbm442 Write a program that processes the decoding stage both in serial on CPU and parallel on CUDA. For parallel version the file resides in the CPU side and CPU is responsible for reading the file and sending the lines and inputs to GPU. After all process done, the final formed hidden message should be available in CPU side and write to the output file named decoded.txt as a one line of massage. For simplicity, in the input file, each line will be 100 characters long, there will be exactly 4 commas per line, commas will not be the last character and there will be 15360 lines in the encodedfile.txt.

NOTE You can use your own input file which you created

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!