We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
elemwise_openmp_speedup
1 parent b9792d8 commit 4d439a6Copy full SHA for 4d439a6
pytensor/misc/elemwise_openmp_speedup.py
@@ -64,6 +64,9 @@ def runScript(N):
64
costlySpeed = costlyTimeOpenmp / costlyTime
65
costlySpeedstring = "slowdown"
66
print(f"Timed with vector of {int(options.N)} elements")
67
+ print(
68
+ f"{config.openmp_elemwise_minsize=}, OMP_NUM_THREADS={os.getenv('OMP_NUM_THREADS')}"
69
+ )
70
print(
71
f"Fast op time without openmp {cheapTime}s with openmp {cheapTimeOpenmp}s {cheapSpeedstring} {cheapSpeed:2.2f}"
72
)
0 commit comments