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/') 43 44from ruby import Ruby |
45from common import Options |
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 --- |