gpu-randomtest-ruby.py (11308:7d8836fd043d) gpu-randomtest-ruby.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:

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

51import Options
52
53parser = optparse.OptionParser()
54Options.addCommonOptions(parser)
55
56# add the gpu specific options expected by the the gpu and gpu_RfO
57parser.add_option("-u", "--num-compute-units", type="int", default=8,
58 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:

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

51import Options
52
53parser = optparse.OptionParser()
54Options.addCommonOptions(parser)
55
56# add the gpu specific options expected by the the gpu and gpu_RfO
57parser.add_option("-u", "--num-compute-units", type="int", default=8,
58 help="number of compute units in the GPU")
59parser.add_option("--numCPs", type="int", default=0,
59parser.add_option("--num-cp", type="int", default=0,
60 help="Number of GPU Command Processors (CP)")
61parser.add_option("--simds-per-cu", type="int", default=4, help="SIMD units" \
62 "per CU")
63parser.add_option("--wf-size", type="int", default=64,
64 help="Wavefront size(in workitems)")
65parser.add_option("--wfs-per-simd", type="int", default=10, help="Number of " \
66 "WF slots per SIMD")
67

--- 84 unchanged lines hidden ---
60 help="Number of GPU Command Processors (CP)")
61parser.add_option("--simds-per-cu", type="int", default=4, help="SIMD units" \
62 "per CU")
63parser.add_option("--wf-size", type="int", default=64,
64 help="Wavefront size(in workitems)")
65parser.add_option("--wfs-per-simd", type="int", default=10, help="Number of " \
66 "WF slots per SIMD")
67

--- 84 unchanged lines hidden ---