Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mixup up branch - moving to dev #163

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions script/benchmark-program/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,14 @@ def preprocess(i):

# generate the pre run cmd - recording runtime system infos
pre_run_cmd = ""

if env.get('CM_PRE_RUN_CMD_EXTERNAL', '') != '':
pre_run_cmd += env['CM_PRE_RUN_CMD_EXTERNAL']

if env.get('CM_PROFILE_NVIDIA_POWER', '') == "on":
if pre_run_cmd != '':
pre_run_cmd += ' && '

# running the script as a process in background
pre_run_cmd = pre_run_cmd + 'cm run script --tags=runtime,system,utilisation' + env['CM_SYS_UTILISATION_SCRIPT_TAGS'] + ' --quiet & '
# obtain the command if of the background process
Expand Down
Loading