ruby_gpu_random_test.py (11308:7d8836fd043d) ruby_gpu_random_test.py (11310:b4bbf540d1a7)
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:

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

54Options.addCommonOptions(parser)
55
56parser.add_option("--maxloads", metavar="N", default=100,
57 help="Stop after N loads")
58parser.add_option("-f", "--wakeup_freq", metavar="N", default=10,
59 help="Wakeup every N cycles")
60parser.add_option("-u", "--num-compute-units", type="int", default=1,
61 help="number of compute units in the GPU")
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:

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

54Options.addCommonOptions(parser)
55
56parser.add_option("--maxloads", metavar="N", default=100,
57 help="Stop after N loads")
58parser.add_option("-f", "--wakeup_freq", metavar="N", default=10,
59 help="Wakeup every N cycles")
60parser.add_option("-u", "--num-compute-units", type="int", default=1,
61 help="number of compute units in the GPU")
62parser.add_option("--numCPs", type="int", default=0,
62parser.add_option("--num-cp", type="int", default=0,
63 help="Number of GPU Command Processors (CP)")
64# not super important now, but to avoid putting the number 4 everywhere, make
65# it an option/knob
66parser.add_option("--cu-per-sqc", type="int", default=4, help="number of CUs \
67 sharing an SQC (icache, and thus icache TLB)")
68parser.add_option("--simds-per-cu", type="int", default=4, help="SIMD units" \
69 "per CU")
70parser.add_option("--wf-size", type="int", default=64,

--- 117 unchanged lines hidden ---
63 help="Number of GPU Command Processors (CP)")
64# not super important now, but to avoid putting the number 4 everywhere, make
65# it an option/knob
66parser.add_option("--cu-per-sqc", type="int", default=4, help="number of CUs \
67 sharing an SQC (icache, and thus icache TLB)")
68parser.add_option("--simds-per-cu", type="int", default=4, help="SIMD units" \
69 "per CU")
70parser.add_option("--wf-size", type="int", default=64,

--- 117 unchanged lines hidden ---