Skip to content

Commit

Permalink
runme.py to allow gem5.fast
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshpatil committed Oct 5, 2016
1 parent b6225e5 commit 1fcbcef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion regression/runme.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def worker():
help='flag to run with predefined dramcache, default false')
parser.add_argument('--run', action='store_true', default=False,
help='flag to run, else default to checkpoint')
parser.add_argument('--fast', action='store_true', default=False,
help='flag to run in gem.fast')

if not len(sys.argv)>1:
print parser.print_help()
Expand Down Expand Up @@ -261,7 +263,10 @@ def worker():
envs['NVIDIA_CUDA_SDK_LOCATION'] = hsa+'/NVIDIA_GPU_Computing_SDK/C'

# form command to be executed
command = main_prefix + '''/gem5/build/X86_VI_hammer_GPU/gem5.opt -r -e --outdir='''
if args.fast:
command = main_prefix + '''/gem5/build/X86_VI_hammer_GPU/gem5.fast -r -e --outdir='''
else:
command = main_prefix + '''/gem5/build/X86_VI_hammer_GPU/gem5.opt -r -e --outdir='''

cpt_run_suffix = ''
final_config = ''
Expand Down

0 comments on commit 1fcbcef

Please sign in to comment.