
Comparing various schedules for OpenMP-based vector element sum. In this experiment, we summed together all values of a floating-point vector x, with number of elements from 1E+6 to 1E+9 using OpenMP. Each element count was attempted with various OpenMP schedule configs, running each config 5 times to get a good time measure. Sum here represents any reduce() operation that processes several values to a single value. Results indicate a schedule-kind of auto/guided to be suitable. All outputs are saved in a gist and a small part of the output is listed here. Some charts are also included below, generated from sheets. This experiment was done with guidance from Prof. Kishore Kothapalli and Prof. Dip Sankar Banerjee. <br> $ g++ -std=c++17 -O3 -fopenmp main.cxx $ ./a.out # OMP_NUM_THREADS=12 # # Elements 1e+06 # [00001.687 ms] [1.644725] sumSeq # [00003.840 ms] [1.644881] sumOmp {sch_kind: static, chunk_size: 1} # [00001.138 ms] [1.644891] sumOmp {sch_kind: static, chunk_size: 2} # [00000.523 ms] [1.644898] sumOmp {sch_kind: static, chunk_size: 4} # ... # # ... # [00162.374 ms] [1.644725] sumOmp {sch_kind: auto, chunk_size: 16384} # [00178.243 ms] [1.644725] sumOmp {sch_kind: auto, chunk_size: 32768} # [00162.962 ms] [1.644725] sumOmp {sch_kind: auto, chunk_size: 65536} <br> <br> References What's the difference between "static" and "dynamic" schedule in OpenMP? OpenMP Dynamic vs Guided Scheduling <br> <br> <br>
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
