Last active
February 11, 2023 06:09
-
-
Save wolfram77/9b90248012dda38727d57e12786ff40c to your computer and use it in GitHub Desktop.
Performance of sequential vs OpenMP-based vector element sum : OUTPUT
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
time | elements | sum | technique | |
---|---|---|---|---|
0.053 | 10000 | 1.644725 | sumSeq | |
0.446 | 10000 | 1.644834 | sumOpenmp | |
0.347 | 100000 | 1.644725 | sumSeq | |
0.067 | 100000 | 1.644919 | sumOpenmp | |
1.852 | 1000000 | 1.644725 | sumSeq | |
0.09 | 1000000 | 1.644756 | sumOpenmp | |
14.484 | 10000000 | 1.644725 | sumSeq | |
1.646 | 10000000 | 1.644728 | sumOpenmp | |
148.799 | 100000000 | 1.644725 | sumSeq | |
8.172 | 100000000 | 1.644726 | sumOpenmp | |
1660.869 | 1000000000 | 1.644725 | sumSeq | |
78.691 | 1000000000 | 1.644725 | sumOpenmp |
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
[00000.053 ms; 1e+04 elems.] [1.644725] sumSeq | |
[00000.446 ms; 1e+04 elems.] [1.644834] sumOpenmp | |
[00000.347 ms; 1e+05 elems.] [1.644725] sumSeq | |
[00000.067 ms; 1e+05 elems.] [1.644919] sumOpenmp | |
[00001.852 ms; 1e+06 elems.] [1.644725] sumSeq | |
[00000.090 ms; 1e+06 elems.] [1.644756] sumOpenmp | |
[00014.484 ms; 1e+07 elems.] [1.644725] sumSeq | |
[00001.646 ms; 1e+07 elems.] [1.644728] sumOpenmp | |
[00148.799 ms; 1e+08 elems.] [1.644725] sumSeq | |
[00008.172 ms; 1e+08 elems.] [1.644726] sumOpenmp | |
[01660.869 ms; 1e+09 elems.] [1.644725] sumSeq | |
[00078.691 ms; 1e+09 elems.] [1.644725] sumOpenmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment