Skip to content

Commit 6e3ec6c

Browse files
committed
Update readme with benchmarks
1 parent ce14b18 commit 6e3ec6c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ The social force model itself can be tweaked by altering the constexprs defined
118118

119119
## Benchmarks
120120

121+
Ran on NVIDIA Titan RTX with `PROFLILING_MODE` enabled and `STATS` disabled
122+
123+
| | **500 iterations<br>1000 actors** | **500 iterations<br>10,000 actors** | **500 iterations<br>50,000 actors** |
124+
|---|---|---|---|
125+
| **Average kernel duration** | 0.0000321078s | 0.0000797784s | 0.00040853s |
126+
| **Total execution time** | 0.180193s | 2.29063s | 20.75141s |
127+
121128
## Citations
122129

123130
- Helbing, D., Farkas, I. & Vicsek, T. Simulating dynamical features of escape panic. Nature 407, 487–490 (2000). https://doi.org/10.1038/35035023

external/Stats.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ void finalizeStats(sycl::queue myQueue, std::vector<float> averageForces,
146146
outputFile.open("../output/outputStats.txt", std::ios::out);
147147

148148
outputFile << "No. of actors: " << numActors << std::endl;
149-
outputFile << "Average kernel executation time: "
149+
outputFile << "Average kernel execution time: "
150150
<< avgKernelDuration
151151
<< "μs NOTE: First kernel time has been disregarded"
152152
<< std::endl;

0 commit comments

Comments
 (0)