SConscript revision 11692
14202Sbinkertn@umich.edu# -*- mode:python -*- 24202Sbinkertn@umich.edu 34202Sbinkertn@umich.edu# 44202Sbinkertn@umich.edu# Copyright (c) 2015 Advanced Micro Devices, Inc. 54202Sbinkertn@umich.edu# All rights reserved. 64202Sbinkertn@umich.edu# 74202Sbinkertn@umich.edu# For use for simulation and test purposes only 84202Sbinkertn@umich.edu# 94202Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without 104202Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are met: 114202Sbinkertn@umich.edu# 124202Sbinkertn@umich.edu# 1. Redistributions of source code must retain the above copyright notice, 134202Sbinkertn@umich.edu# this list of conditions and the following disclaimer. 144202Sbinkertn@umich.edu# 154202Sbinkertn@umich.edu# 2. Redistributions in binary form must reproduce the above copyright notice, 164202Sbinkertn@umich.edu# this list of conditions and the following disclaimer in the documentation 174202Sbinkertn@umich.edu# and/or other materials provided with the distribution. 184202Sbinkertn@umich.edu# 194202Sbinkertn@umich.edu# 3. Neither the name of the copyright holder nor the names of its contributors 204202Sbinkertn@umich.edu# may be used to endorse or promote products derived from this software 214202Sbinkertn@umich.edu# without specific prior written permission. 224202Sbinkertn@umich.edu# 234202Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 244202Sbinkertn@umich.edu# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 254202Sbinkertn@umich.edu# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 264202Sbinkertn@umich.edu# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 274202Sbinkertn@umich.edu# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 284202Sbinkertn@umich.edu# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 294202Sbinkertn@umich.edu# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 304202Sbinkertn@umich.edu# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 314202Sbinkertn@umich.edu# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 324202Sbinkertn@umich.edu# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 339398Sandreas.hansson@arm.com# POSSIBILITY OF SUCH DAMAGE. 349398Sandreas.hansson@arm.com# 359398Sandreas.hansson@arm.com# Author: Anthony Gutierrez 369398Sandreas.hansson@arm.com# 379398Sandreas.hansson@arm.com 389398Sandreas.hansson@arm.comImport('*') 399850Sandreas.hansson@arm.com 409259SAli.Saidi@ARM.comif not env['BUILD_GPU']: 414486Sbinkertn@umich.edu Return() 4210146Sandreas.hansson@arm.com 4310478SAndrew.Bardsley@arm.comSimObject('GPU.py') 4410478SAndrew.Bardsley@arm.comSimObject('GPUStaticInstFlags.py') 456165Ssanchezd@stanford.eduSimObject('LdsState.py') 469850Sandreas.hansson@arm.comSimObject('X86GPUTLB.py') 4710405Sandreas.hansson@arm.com 486168Snate@binkert.orgif env['TARGET_GPU_ISA'] == 'hsail': 499850Sandreas.hansson@arm.com Source('brig_object.cc') 509259SAli.Saidi@ARM.com Source('hsail_code.cc') 514202Sbinkertn@umich.edu 5210405Sandreas.hansson@arm.comSource('cl_driver.cc') 5310431SOmar.Naji@arm.comSource('compute_unit.cc') 5410146Sandreas.hansson@arm.comSource('condition_register_state.cc') 5510478SAndrew.Bardsley@arm.comSource('dispatcher.cc') 5610478SAndrew.Bardsley@arm.comSource('exec_stage.cc') 574202Sbinkertn@umich.eduSource('fetch_stage.cc') 588761Sgblack@eecs.umich.eduSource('fetch_unit.cc') 5910405Sandreas.hansson@arm.comSource('global_memory_pipeline.cc') 604202Sbinkertn@umich.eduSource('gpu_dyn_inst.cc') 614202Sbinkertn@umich.eduSource('gpu_exec_context.cc') 628914Sandreas.hansson@arm.comSource('gpu_static_inst.cc') 6310405Sandreas.hansson@arm.comSource('gpu_tlb.cc') 6410405Sandreas.hansson@arm.comSource('hsa_object.cc') 6510405Sandreas.hansson@arm.comSource('kernel_cfg.cc') 6610405Sandreas.hansson@arm.comSource('lds_state.cc') 674202Sbinkertn@umich.eduSource('local_memory_pipeline.cc') 6810405Sandreas.hansson@arm.comSource('of_scheduling_policy.cc') 696168Snate@binkert.orgSource('pool_manager.cc') 709850Sandreas.hansson@arm.comSource('rr_scheduling_policy.cc') 719850Sandreas.hansson@arm.comSource('schedule_stage.cc') 729850Sandreas.hansson@arm.comSource('scheduler.cc') 738763Sgblack@eecs.umich.eduSource('scoreboard_check_stage.cc') 7410299Salexandru.dutu@amd.comSource('shader.cc') 7510299Salexandru.dutu@amd.comSource('simple_pool_manager.cc') 767768SAli.Saidi@ARM.comSource('tlb_coalescer.cc') 7710131Sandreas.hansson@arm.comSource('vector_register_file.cc') 7810131Sandreas.hansson@arm.comSource('vector_register_state.cc') 7910131Sandreas.hansson@arm.comSource('wavefront.cc') 8010131Sandreas.hansson@arm.com 8110066Sandreas.hansson@arm.comDebugFlag('BRIG') 8210612SMarco.Elver@ARM.comDebugFlag('GPUCoalescer') 8310612SMarco.Elver@ARM.comDebugFlag('GPUDisp') 8410612SMarco.Elver@ARM.comDebugFlag('GPUExec') 8510612SMarco.Elver@ARM.comDebugFlag('GPUFetch') 8610405Sandreas.hansson@arm.comDebugFlag('GPUHsailCFInfo') 8710405Sandreas.hansson@arm.comDebugFlag('GPUMem') 8810405Sandreas.hansson@arm.comDebugFlag('GPUPort') 8910405Sandreas.hansson@arm.comDebugFlag('GPUPrefetch') 9010399Sstephan.diestelhorst@arm.comDebugFlag('GPUReg') 9110405Sandreas.hansson@arm.comDebugFlag('GPUSync') 9210405Sandreas.hansson@arm.comDebugFlag('GPUTLB') 939036Sandreas.hansson@arm.comDebugFlag('GPUVRF') 949164Sandreas.hansson@arm.comDebugFlag('HSALoader') 958981Sandreas.hansson@arm.comDebugFlag('HSAIL') 969243Sandreas.hansson@arm.comDebugFlag('HSAILObject') 9710247Sandreas.hansson@arm.comDebugFlag('Predictor') 9810208Sandreas.hansson@arm.comDebugFlag('WavefrontStack') 9910478SAndrew.Bardsley@arm.com 1008335Snate@binkert.orgCompoundFlag('GPUALL', ['GPUCoalescer', 'GPUDisp', 'GPUExec', 'GPUFetch', 1018335Snate@binkert.org 'GPUMem', 'GPUPort', 'GPUSync', 'GPUTLB', 'HSAIL', 1028335Snate@binkert.org 'GPUVRF']) 1038914Sandreas.hansson@arm.com