gpu-randomtest-ruby.py (11670:6ce719503eae) gpu-randomtest-ruby.py (11682:612f75cf36a0)
1#
2# Copyright (c) 2010-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
41
1#
2# Copyright (c) 2010-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
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
45from common import Options
47
48parser = optparse.OptionParser()
49Options.addCommonOptions(parser)
50
51# add the gpu specific options expected by the the gpu and gpu_RfO
52parser.add_option("-u", "--num-compute-units", type="int", default=8,
53 help="number of compute units in the GPU")
54parser.add_option("--num-cp", type="int", default=0,

--- 92 unchanged lines hidden ---
46
47parser = optparse.OptionParser()
48Options.addCommonOptions(parser)
49
50# add the gpu specific options expected by the the gpu and gpu_RfO
51parser.add_option("-u", "--num-compute-units", type="int", default=8,
52 help="number of compute units in the GPU")
53parser.add_option("--num-cp", type="int", default=0,

--- 92 unchanged lines hidden ---