-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI setting cuda arch to all-major, because there migth be no 'native'…
… on ci machine
- Loading branch information
Showing
2 changed files
with
15 additions
and
10 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
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 |
---|---|---|
@@ -1,15 +1,20 @@ | ||
#!/bin/bash | ||
# script that measures fcp and knn perf for paper | ||
|
||
echo "results:" > fcp-and-knn-results.txt | ||
for method in cct cct-xd spatial-cct spatial-stackBased stackBased stackBased-xd stackFree stackFree-xd ; do | ||
echo "results for method ${method}" | tee fcp-and-knn-results-${method}.txt | ||
done | ||
|
||
for f in 1000 10000 100000 1000000 10000000 100000000 1000000000; do | ||
echo "##############" >> fcp-and-knn-results.txt | ||
echo "### running for num data points = $f" >> fcp-and-knn-results.txt | ||
echo "*** fcp, unlimited query" >> fcp-and-knn-results.txt | ||
./cukd_test_float4-fcp -nr 100 $f | grep queries >> fcp-and-knn-results.txt | ||
echo "*** knn, unlimited query" >> fcp-and-knn-results.txt | ||
./cukd_test_float4-knn -nr 100 $f | grep queries >> fcp-and-knn-results.txt | ||
echo "*** knn, max-range 0.01 query" >> fcp-and-knn-results.txt | ||
./cukd_test_float4-knn -nr 100 $f -r 0.01 | grep queries >> fcp-and-knn-results.txt | ||
for method in cct cct-xd spatial-cct spatial-stackBased stackBased stackBased-xd stackFree stackFree-xd ; do | ||
echo "##############" | tee -a fcp-and-knn-results-${method}.txt | ||
echo "### running for num data points = $f" | tee -a fcp-and-knn-results-${method}.txt | ||
echo "*** fcp, unlimited query" | tee -a fcp-and-knn-results.txt | ||
./cukd_float4-fcp-${method} -nr 100 $f | grep queries | tee -a fcp-and-knn-results-${method}.txt | ||
echo "*** knn, unlimited query" | tee -a fcp-and-knn-results.txt | ||
./cukd_float4-knn-${method} -nr 100 $f | grep queries | tee -a fcp-and-knn-results-${method}.txt | ||
echo "*** knn, max-range 0.01 query" | tee -a fcp-and-knn-results.txt | ||
./cukd_float4-knn-${method} -nr 100 $f -r 0.01 | grep queries | tee -a fcp-and-knn-results-${method}.txt | ||
done | ||
done | ||
|