accel-sim / accel-sim-framework

This is the top-level repository for the Accel-Sim framework.
https://accel-sim.github.io
Other
306 stars 117 forks source link

Fix DYNAMIC_KERNEL_END tracer environment variable #324

Closed barnes88 closed 3 months ago

barnes88 commented 3 months ago

It looks like we added a python option to run_hw_trace.py to set limit to the number of kernels traced when mlperf was added. This option was overwriting any set DYNAMIC_KERNEL_END environment variable by default and setting it to 0. This PR allows the environment variable to be overwritten only if the -l option is specified in the script (and does not overwrite by default).