DOT_PRODUCT C++/OpenMP version A program which computes a vector dot product. Number of processors available = 8 Number of threads = 1 Sequential 1000 1000 3.369e-06 Parallel 1000 1000 8.258e-06 Sequential 10000 10000 3.162e-05 Parallel 10000 10000 3.2504e-05 Sequential 100000 100000 0.00032943 Parallel 100000 100000 0.000326412 Sequential 1000000 1e+06 0.00313393 Parallel 1000000 1e+06 0.00299557 Sequential 10000000 1e+07 0.0256524 Parallel 10000000 1e+07 0.0253587 DOT_PRODUCT Normal end of execution. DOT_PRODUCT C++/OpenMP version A program which computes a vector dot product. Number of processors available = 8 Number of threads = 2 Sequential 1000 1000 2.74801e-06 Parallel 1000 1000 6.4683e-05 Sequential 10000 10000 2.3934e-05 Parallel 10000 10000 1.3317e-05 Sequential 100000 100000 0.000251572 Parallel 100000 100000 0.000149022 Sequential 1000000 1e+06 0.00265527 Parallel 1000000 1e+06 0.00135384 Sequential 10000000 1e+07 0.0258681 Parallel 10000000 1e+07 0.0131509 DOT_PRODUCT Normal end of execution. DOT_PRODUCT C++/OpenMP version A program which computes a vector dot product. Number of processors available = 8 Number of threads = 4 Sequential 1000 1000 2.517e-06 Parallel 1000 1000 0.000145743 Sequential 10000 10000 2.4535e-05 Parallel 10000 10000 7.636e-06 Sequential 100000 100000 0.000264628 Parallel 100000 100000 6.9359e-05 Sequential 1000000 1e+06 0.00270989 Parallel 1000000 1e+06 0.000983954 Sequential 10000000 1e+07 0.0256925 Parallel 10000000 1e+07 0.00711007 DOT_PRODUCT Normal end of execution. DOT_PRODUCT C++/OpenMP version A program which computes a vector dot product. Number of processors available = 8 Number of threads = 8 Sequential 1000 1000 2.546e-06 Parallel 1000 1000 0.000201388 Sequential 10000 10000 2.8475e-05 Parallel 10000 10000 6.561e-06 Sequential 100000 100000 0.000298864 Parallel 100000 100000 5.2123e-05 Sequential 1000000 1e+06 0.00306652 Parallel 1000000 1e+06 0.000976891 Sequential 10000000 1e+07 0.0253978 Parallel 10000000 1e+07 0.0062212 DOT_PRODUCT Normal end of execution.