-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jerryidk
committed
Feb 16, 2024
1 parent
631e164
commit e789be2
Showing
6 changed files
with
223 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[user] | ||
name = jerryidk | ||
email = [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#!/bin/bash | ||
|
||
# ./build/dramhit --help to see flags | ||
|
||
function bench_regular() | ||
{ | ||
sudo ./build/dramhit \ | ||
--mode 4 \ | ||
--ht-type 3 \ | ||
--numa-split 0 \ | ||
--num-threads 64 \ | ||
--ht-size 8589934592 \ | ||
--in-file /opt/dramhit/kmer_dataset/SRR1513870.fastq \ | ||
--k 6 > jerry_benchmark.log | ||
} | ||
|
||
function bench_radix() | ||
{ | ||
sudo ./build/dramhit \ | ||
--mode 14 \ | ||
--ht-type 3 \ | ||
--numa-split 0 \ | ||
--num-threads 64 \ | ||
--ht-size 8589934592 \ | ||
--in-file /opt/dramhit/kmer_dataset/SRR1513870.fastq \ | ||
--k 6 --d 8 > jerry_benchmark.log | ||
} | ||
|
||
function bench() { | ||
bench_radix | ||
bench_regular | ||
} | ||
|
||
function build() { | ||
cmake --build build/ | ||
} | ||
|
||
if [ "$1" == "build" ]; then | ||
build | ||
elif [ "$1" == "bench" ]; then | ||
bench | ||
else | ||
echo "Invalid option" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.