-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathreadme.txt
More file actions
23 lines (20 loc) · 901 Bytes
/
readme.txt
File metadata and controls
23 lines (20 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- How to Compile the code
1. Ensure having CUDA installed on the system
2. To compile the program, run: make
- How to run the code
- After compiling, run the program with the following command:
./main <mode> <text_filename> <pattern_filename> <blockSize>
- Commend-line arguments
1. <mode>:
- 0: Run the parallel implementation (PTrie library) on the GPU
- 1: Run the sequential implementation on the CPU
2. <text_filename>:
- Path the the file containing the DNA text sequence
- Example: DNA_text_100000000.txt
3. <pattern_filename>:
- Path to the file containing DNA patterns to search for
- Example: Patterns_3bp_10.txt
4. <blockSize>:
- Only for parallel mode; this value does not affect the sequential code (mode 0)
- The size of each CUDA block, which determines GPU thread grouping
- Example: 256