(name, sizes, vs=[])
| 113 | pylab.title(self.name) |
| 114 | |
| 115 | def run_benchmark(name, sizes, vs=[]): |
| 116 | report = Report(name) |
| 117 | |
| 118 | for size in sizes: |
| 119 | time = run_perf_process(name, size) |
| 120 | |
| 121 | report.add_sample("compute", size, time) |
| 122 | |
| 123 | competitors = { |
| 124 | "thrust" : [ |
| 125 | "accumulate", |
| 126 | "count", |
| 127 | "exclusive_scan", |
| 128 | "find", |
| 129 | "inner_product", |
| 130 | "merge", |
| 131 | "partial_sum", |
| 132 | "partition", |
| 133 | "reduce_by_key", |
| 134 | "reverse", |
| 135 | "reverse_copy", |
| 136 | "rotate", |
| 137 | "saxpy", |
| 138 | "sort", |
| 139 | "unique" |
| 140 | ], |
| 141 | "bolt" : [ |
| 142 | "accumulate", |
| 143 | "count", |
| 144 | "exclusive_scan", |
| 145 | "fill", |
| 146 | "inner_product", |
| 147 | "max_element", |
| 148 | "merge", |
| 149 | "partial_sum", |
| 150 | "reduce_by_key", |
| 151 | "saxpy", |
| 152 | "sort" |
| 153 | ], |
| 154 | "tbb": [ |
| 155 | "accumulate", |
| 156 | "merge", |
| 157 | "sort" |
| 158 | ], |
| 159 | "stl": [ |
| 160 | "accumulate", |
| 161 | "count", |
| 162 | "find", |
| 163 | "find_end", |
| 164 | "includes", |
| 165 | "inner_product", |
| 166 | "is_permutation", |
| 167 | "max_element", |
| 168 | "merge", |
| 169 | "next_permutation", |
| 170 | "nth_element", |
| 171 | "partial_sum", |
| 172 | "partition", |
no test coverage detected