Завершить трек 1: исследовать масштабирование, сохранить графики и фактический отчёт
This commit is contained in:
@@ -100,15 +100,15 @@ def main():
|
||||
for mode, n, rep in jobs:
|
||||
label=f'{mode}-{n}-{rep}'
|
||||
if not args.only or label in args.only:
|
||||
benchmark(label, n, 2/n if mode=='fixed' else .5, 1024//n if mode=='fixed' else 256, 10)
|
||||
benchmark(label, n, 2/n if mode=='fixed' else .5, 1024//n if mode=='fixed' else 256, 10, optimized=0)
|
||||
elif args.phase == 'saturation':
|
||||
for concurrency in [4, 16, 64, 128]:
|
||||
for rep in range(1, 3):
|
||||
benchmark(f'saturation-{concurrency}-{rep}', 4, .5, 256, 10, concurrency)
|
||||
benchmark(f'saturation-{concurrency}-{rep}', 4, .5, 256, 10, concurrency, optimized=0)
|
||||
elif args.phase == 'pool':
|
||||
for rep in range(1, 4):
|
||||
for pool in ([1,10] if rep%2 else [10,1]):
|
||||
benchmark(f'pool-{pool}-{rep}', 2, 1, 512, pool, 64)
|
||||
benchmark(f'pool-{pool}-{rep}', 2, 1, 512, pool, 64, optimized=0)
|
||||
elif args.phase == 'rolling':
|
||||
benchmark('rolling', 2, .5, 256, 10, 16, 45, True)
|
||||
elif args.phase == 'optimize':
|
||||
|
||||
Reference in New Issue
Block a user