/gem5/configs/splash2/ |
H A D | run.py | 70 (options, args) = parser.parse_args() 76 if not options.numcpus: 84 cwd = options.rootdir + '/kernels/cholesky' 85 executable = options.rootdir + '/kernels/cholesky/CHOLESKY' 86 cmd = ['CHOLESKY', '-p' + str(options.numcpus), 87 options.rootdir + '/kernels/cholesky/inputs/tk23.O'] 90 cwd = options.rootdir + '/kernels/fft' 91 executable = options.rootdir + '/kernels/fft/FFT' 92 cmd = ['FFT', '-p', str(options.numcpus), '-m18'] 95 executable = options [all...] |
H A D | cluster.py | 73 (options, args) = parser.parse_args() 83 executable = options.rootdir + '/kernels/cholesky/CHOLESKY' 84 cmd = 'CHOLESKY -p' + str(options.numcpus) + ' '\ 85 + options.rootdir + '/kernels/cholesky/inputs/tk23.O' 88 executable = options.rootdir + 'kernels/fft/FFT' 89 cmd = 'FFT -p' + str(options.numcpus) + ' -m18' 92 executable = options.rootdir + 'kernels/lu/contiguous_blocks/LU' 93 cmd = 'LU -p' + str(options.numcpus) 96 executable = options.rootdir + 'kernels/lu/non_contiguous_blocks/LU' 97 cmd = 'LU -p' + str(options [all...] |
/gem5/ext/pybind11/include/pybind11/ |
H A D | options.h | 2 pybind11/options.h: global settings that are configurable at runtime. 16 class options { class 20 options() : previous_state(global_state()) {} function in class:options 23 options(const options&) = delete; 24 options& operator=(const options&) = delete; 27 ~options() { 33 options& disable_user_defined_docstrings() & { global_state().show_user_defined_docstrings = false; return *this; } 35 options [all...] |
/gem5/util/stats/ |
H A D | chart.py | 47 def __init__(self, options=None, **kwargs): 48 self.init(options, **kwargs) 51 self.options = {} 53 def init(self, options=None, **kwargs): 55 self.update(options, **kwargs) 57 def update(self, options=None, **kwargs): 58 if options is not None: 59 if not isinstance(options, ChartOptions): 61 'attribute options of type %s should be %s' % \ 62 (type(options), ChartOption [all...] |
/gem5/configs/dist/ |
H A D | sw.py | 45 def build_switch(options): 50 switch.portlink = [DistEtherLink(speed = options.ethernet_linkspeed, 51 delay = options.ethernet_linkdelay, 52 dist_rank = options.dist_rank, 53 dist_size = options.dist_size, 54 server_name = options.dist_server_name, 55 server_port = options.dist_server_port, 56 sync_start = options.dist_sync_start, 57 sync_repeat = options.dist_sync_repeat, 59 num_nodes = options [all...] |
/gem5/configs/example/ |
H A D | se.py | 71 def get_processes(options): 72 """Interprets provided options and returns a list of processes""" 80 workloads = options.cmd.split(';') 81 if options.input != "": 82 inputs = options.input.split(';') 83 if options.output != "": 84 outputs = options.output.split(';') 85 if options.errout != "": 86 errouts = options.errout.split(';') 87 if options [all...] |
H A D | fs.py | 72 if options.command_line and options.command_line_file: 76 if options.command_line: 77 return options.command_line 78 if options.command_line_file: 79 return open(options.command_line_file).read().strip() 85 test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0], options.ruby, 92 test_sys = makeLinuxX86System(test_mem_mode, np, bm[0], options.ruby, 95 test_sys = makeArmSystem(test_mem_mode, options.machine_type, np, 96 bm[0], options [all...] |
H A D | etrace_replay.py | 63 (options, args) = parser.parse_args() 71 if options.cpu_type != "TraceCPU": 75 if options.num_cpus > 1: 80 (CPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options) 85 mem_ranges = [AddrRange(options.mem_size)], 86 cache_line_size = options.cacheline_size) 89 system.voltage_domain = VoltageDomain(voltage = options.sys_voltage) 93 system.clk_domain = SrcClockDomain(clock = options.sys_clock, 101 system.cpu_clk_domain = SrcClockDomain(clock = options.cpu_clock, 116 system.cpu.instTraceFile=options [all...] |
H A D | ruby_mem_test.py | 65 # Add the ruby specific and protocol specific options 73 (options, args) = parser.parse_args() 79 options.l1d_size="256B" 80 options.l1i_size="256B" 81 options.l2_size="512B" 82 options.l3_size="1kB" 83 options.l1d_assoc=2 84 options.l1i_assoc=2 85 options.l2_assoc=2 86 options [all...] |
H A D | ruby_direct_test.py | 65 # Add the ruby specific and protocol specific options 68 (options, args) = parser.parse_args() 77 if options.test_type == "SeriesGetx": 78 generator = SeriesRequestGenerator(num_cpus = options.num_cpus, 80 elif options.test_type == "SeriesGets": 81 generator = SeriesRequestGenerator(num_cpus = options.num_cpus, 83 elif options.test_type == "SeriesGetMixed": 84 generator = SeriesRequestGenerator(num_cpus = options.num_cpus, 85 percent_writes = options.percent_writes) 86 elif options [all...] |
H A D | ruby_random_test.py | 59 # Add the ruby specific and protocol specific options 67 (options, args) = parser.parse_args() 73 options.l1d_size="256B" 74 options.l1i_size="256B" 75 options.l2_size="512B" 76 options.l3_size="1kB" 77 options.l1d_assoc=2 78 options.l1i_assoc=2 79 options.l2_assoc=2 80 options [all...] |
H A D | ruby_gpu_random_test.py | 76 # Add the ruby specific and protocol specific options 84 (options, args) = parser.parse_args() 90 options.l1d_size="256B" 91 options.l1i_size="256B" 92 options.l2_size="512B" 93 options.l3_size="1kB" 94 options.l1d_assoc=2 95 options.l1i_assoc=2 96 options.l2_assoc=2 97 options [all...] |
H A D | apu_se.py | 58 raise Exception("cannot find %s in list of possible options" % opt_str) 67 raise Exception("cannot find %s in list of possible options" % opt_str) 74 # Adding script options 163 #add TLB options to the parser 166 (options, args) = parser.parse_args() 172 if options.benchmark_root: 173 benchmark_path = [options.benchmark_root] 185 if not (options.cpu_type == "TimingSimpleCPU" or 186 options.cpu_type == "DerivO3CPU"): 190 assert(options [all...] |
/gem5/tests/configs/ |
H A D | simple-timing-ruby.py | 43 # Add the ruby specific and protocol specific options 46 (options, args) = parser.parse_args() 52 options.l1d_size="256B" 53 options.l1i_size="256B" 54 options.l2_size="512B" 55 options.l3_size="1kB" 56 options.l1d_assoc=2 57 options.l1i_assoc=2 58 options.l2_assoc=2 59 options [all...] |
H A D | simple-timing-mp-ruby.py | 43 # Add the ruby specific and protocol specific options 46 (options, args) = parser.parse_args() 52 options.l1d_size="256B" 53 options.l1i_size="256B" 54 options.l2_size="512B" 55 options.l3_size="1kB" 56 options.l1d_assoc=2 57 options.l1i_assoc=2 58 options.l2_assoc=2 59 options [all...] |
H A D | rubytest-ruby.py | 45 # Add the ruby specific and protocol specific options 48 (options, args) = parser.parse_args() 54 options.l1d_size="256B" 55 options.l1i_size="256B" 56 options.l2_size="512B" 57 options.l3_size="1kB" 58 options.l1d_assoc=2 59 options.l1i_assoc=2 60 options.l2_assoc=2 61 options [all...] |
H A D | memtest-ruby.py | 44 # Add the ruby specific and protocol specific options 47 (options, args) = parser.parse_args() 53 options.l1d_size="256B" 54 options.l1i_size="256B" 55 options.l2_size="512B" 56 options.l3_size="1kB" 57 options.l1d_assoc=2 58 options.l1i_assoc=2 59 options.l2_assoc=2 60 options [all...] |
/gem5/configs/common/ |
H A D | GPUTLBConfig.py | 46 constructor_call = "X86GPUTLB(size = options.L%(level)dTLBentries, \ 47 assoc = options.L%(level)dTLBassoc, \ 48 hitLatency = options.L%(level)dAccessLatency,\ 49 missLatency2 = options.L%(level)dMissLatency,\ 50 maxOutstandingReqs = options.L%(level)dMaxOutstandingReqs,\ 51 accessDistance = options.L%(level)dAccessDistanceStat,\ 53 clock = options.GPUClock,\ 55 voltage = options.gpu_voltage)))" % locals() 61 options.L%(level)dProbesPerCycle, \ 62 coalescingWindow = options [all...] |
H A D | Simulation.py | 65 def setCPUClass(options): 72 depending on the options provided. 75 TmpClass, test_mem_mode = getCPUClass(options.cpu_type) 78 not options.caches and not options.ruby: 79 fatal("%s must be used with caches" % options.cpu_type) 81 if options.checkpoint_restore != None: 82 if options.restore_with_cpu != options.cpu_type: 84 TmpClass, test_mem_mode = getCPUClass(options [all...] |
/gem5/configs/example/arm/ |
H A D | dist_bigLITTLE.py | 98 default=m5.options.outdir, 102 def addEthernet(system, options): 109 system.etherlink = DistEtherLink(speed = options.ethernet_linkspeed, 110 delay = options.ethernet_linkdelay, 111 dist_rank = options.dist_rank, 112 dist_size = options.dist_size, 113 server_name = options.dist_server_name, 114 server_port = options.dist_server_port, 115 sync_start = options.dist_sync_start, 116 sync_repeat = options [all...] |
/gem5/configs/ruby/ |
H A D | MOESI_AMD_Base.py | 71 def create(self, options): 72 self.size = MemorySize(options.l1d_size) 73 self.assoc = options.l1d_assoc 78 def create(self, options): 79 self.size = MemorySize(options.l1i_size) 80 self.assoc = options.l1i_assoc 85 def create(self, options): 86 self.size = MemorySize(options.l2_size) 87 self.assoc = options.l2_assoc 92 def create(self, options, ruby_syste [all...] |
H A D | GPU_VIPER.py | 74 def create(self, size, assoc, options): 84 def create(self, size, assoc, options): 91 def create(self, options, ruby_system, system): 95 self.L1Icache.create(options.l1i_size, options.l1i_assoc, options) 97 self.L1D0cache.create(options.l1d_size, options.l1d_assoc, options) 99 self.L1D1cache.create(options [all...] |
H A D | AMD_Base_Constructor.py | 52 def create(self, size, assoc, options): 63 def create(self, size, assoc, options): 69 def create(self, options, ruby_system, system): 74 self.L1Icache.create(options.l1i_size, options.l1i_assoc, options) 76 self.L1D0cache.create(options.l1d_size, options.l1d_assoc, options) 78 self.L1D1cache.create(options [all...] |
/gem5/util/ |
H A D | memtest-soak.py | 55 (options, args) = parser.parse_args() 63 for i in range(options.count): 65 '-r', '-m %d' % (options.ticks)])
|
/gem5/ext/pybind11/tests/ |
H A D | test_docstring_options.cpp | 15 py::options options; local 16 options.disable_function_signatures(); 30 options.enable_function_signatures(); 35 options.disable_function_signatures().disable_user_defined_docstrings(); 40 py::options nested_options; 49 py::options options; local 50 options.disable_user_defined_docstrings();
|