ruby_gpu_random_test.py (11682:612f75cf36a0) ruby_gpu_random_test.py (11688:725fef71f376)
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:

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

45from ruby import Ruby
46
47# Get paths we might need.
48config_path = os.path.dirname(os.path.abspath(__file__))
49config_root = os.path.dirname(config_path)
50m5_root = os.path.dirname(config_root)
51
52parser = optparse.OptionParser()
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:

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

45from ruby import Ruby
46
47# Get paths we might need.
48config_path = os.path.dirname(os.path.abspath(__file__))
49config_root = os.path.dirname(config_path)
50m5_root = os.path.dirname(config_root)
51
52parser = optparse.OptionParser()
53Options.addCommonOptions(parser)
53Options.addNoISAOptions(parser)
54
55parser.add_option("--maxloads", metavar="N", default=100,
56 help="Stop after N loads")
57parser.add_option("-f", "--wakeup_freq", metavar="N", default=10,
58 help="Wakeup every N cycles")
59parser.add_option("-u", "--num-compute-units", type="int", default=1,
60 help="number of compute units in the GPU")
61parser.add_option("--num-cp", type="int", default=0,

--- 125 unchanged lines hidden ---
54
55parser.add_option("--maxloads", metavar="N", default=100,
56 help="Stop after N loads")
57parser.add_option("-f", "--wakeup_freq", metavar="N", default=10,
58 help="Wakeup every N cycles")
59parser.add_option("-u", "--num-compute-units", type="int", default=1,
60 help="number of compute units in the GPU")
61parser.add_option("--num-cp", type="int", default=0,

--- 125 unchanged lines hidden ---