Skip to content

Commit

Permalink
step 3
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-intel committed Oct 31, 2024
1 parent e4c1cb1 commit 1ac9660
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/plugins/intel_cpu/tools/commit_slider/commit_slider.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
from utils.helpers import runUtility
runUtility(cfgData, args)

elif args.isMultiply == "multiply":
argString = " ".join(sys.argv)
workPath = os.getcwd()
formattedCmd = "{py} {argString} -x 'single'".format(
py=sys.executable, argString=argString
)
subprocess.call(formattedCmd.split())

elif args.isWorkingDir:
# rerun script from work directory
from utils.modes import Mode
Expand Down
7 changes: 7 additions & 0 deletions src/plugins/intel_cpu/tools/commit_slider/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ def getParams():
help="run utility with specified name",
default="no_utility",
)
parser.add_argument(
"-x",
"--multiply",
dest="isMultiply",
help="run multiple configs",
default="multiply"
)
args, additionalArgs = parser.parse_known_args()

argHolder = DictHolder(args.__dict__)
Expand Down

0 comments on commit 1ac9660

Please sign in to comment.