提交 4d439a65 authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Ricardo Vieira

Add more info to `elemwise_openmp_speedup`

上级 b9792d8a
......@@ -64,6 +64,9 @@ if __name__ == "__main__":
costlySpeed = costlyTimeOpenmp / costlyTime
costlySpeedstring = "slowdown"
print(f"Timed with vector of {int(options.N)} elements")
print(
f"{config.openmp_elemwise_minsize=}, OMP_NUM_THREADS={os.getenv('OMP_NUM_THREADS')}"
)
print(
f"Fast op time without openmp {cheapTime}s with openmp {cheapTimeOpenmp}s {cheapSpeedstring} {cheapSpeed:2.2f}"
)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论