diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2016-01-22 10:42:12 -0500 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2016-01-22 10:42:12 -0500 |
commit | 97a5e5b25e149176dfdcee4af4ff41644d694449 (patch) | |
tree | df904550d1d6dd97478dea3057f31d2eb2f12852 /configs | |
parent | 698866d46197ad062384894f1927f99f26b03f3b (diff) | |
download | gem5-97a5e5b25e149176dfdcee4af4ff41644d694449.tar.xz |
ruby: changed all references to numCPs to num-cp
Diffstat (limited to 'configs')
-rw-r--r-- | configs/example/ruby_gpu_random_test.py | 2 | ||||
-rw-r--r-- | configs/ruby/GPU_RfO.py | 2 | ||||
-rw-r--r-- | configs/ruby/GPU_VIPER.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/configs/example/ruby_gpu_random_test.py b/configs/example/ruby_gpu_random_test.py index 66ee4675f..48567bbfd 100644 --- a/configs/example/ruby_gpu_random_test.py +++ b/configs/example/ruby_gpu_random_test.py @@ -59,7 +59,7 @@ parser.add_option("-f", "--wakeup_freq", metavar="N", default=10, help="Wakeup every N cycles") parser.add_option("-u", "--num-compute-units", type="int", default=1, help="number of compute units in the GPU") -parser.add_option("--numCPs", type="int", default=0, +parser.add_option("--num-cp", type="int", default=0, help="Number of GPU Command Processors (CP)") # not super important now, but to avoid putting the number 4 everywhere, make # it an option/knob diff --git a/configs/ruby/GPU_RfO.py b/configs/ruby/GPU_RfO.py index bb14252f3..283ba70af 100644 --- a/configs/ruby/GPU_RfO.py +++ b/configs/ruby/GPU_RfO.py @@ -600,7 +600,7 @@ def create_system(options, full_system, system, dma_devices, ruby_system): # SQC also in GPU cluster gpuCluster.add(sqc_cntrl) - for i in xrange(options.numCPs): + for i in xrange(options.num_cp): tcp_cntrl = TCPCntrl(TCC_select_num_bits = TCC_bits, number_of_TBEs = 2560) # max outstanding requests diff --git a/configs/ruby/GPU_VIPER.py b/configs/ruby/GPU_VIPER.py index f1384c404..eeed637d4 100644 --- a/configs/ruby/GPU_VIPER.py +++ b/configs/ruby/GPU_VIPER.py @@ -567,7 +567,7 @@ def create_system(options, full_system, system, dma_devices, ruby_system): # SQC also in GPU cluster gpuCluster.add(sqc_cntrl) - for i in xrange(options.numCPs): + for i in xrange(options.num_cp): tcp_ID = options.num_compute_units + i sqc_ID = options.num_sqc + i |