gpu-ruby.py (11670:6ce719503eae) gpu-ruby.py (11682:612f75cf36a0)
1#
2# Copyright (c) 2015 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# For use for simulation and test purposes only
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions are met:

--- 25 unchanged lines hidden (view full) ---

34#
35
36import m5
37from m5.objects import *
38from m5.defines import buildEnv
39from m5.util import addToPath
40import os, optparse, sys, math, glob
41
1#
2# Copyright (c) 2015 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# For use for simulation and test purposes only
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions are met:

--- 25 unchanged lines hidden (view full) ---

34#
35
36import m5
37from m5.objects import *
38from m5.defines import buildEnv
39from m5.util import addToPath
40import os, optparse, sys, math, glob
41
42m5.util.addToPath('../configs/common')
43m5.util.addToPath('../configs/')
44
45from ruby import Ruby
42m5.util.addToPath('../configs/')
43
44from ruby import Ruby
46import Options
47import GPUTLBOptions, GPUTLBConfig
45from common import Options
46from common import GPUTLBOptions, GPUTLBConfig
48
49########################## Script Options ########################
50def setOption(parser, opt_str, value = 1):
51 # check to make sure the option actually exists
52 if not parser.has_option(opt_str):
53 raise Exception("cannot find %s in list of possible options" % opt_str)
54
55 opt = parser.get_option(opt_str)

--- 295 unchanged lines hidden ---
47
48########################## Script Options ########################
49def setOption(parser, opt_str, value = 1):
50 # check to make sure the option actually exists
51 if not parser.has_option(opt_str):
52 raise Exception("cannot find %s in list of possible options" % opt_str)
53
54 opt = parser.get_option(opt_str)

--- 295 unchanged lines hidden ---