SConsopts revision 11308
112855Sgabeblack@google.com# -*- mode:python -*- 212855Sgabeblack@google.com 312855Sgabeblack@google.com# 412855Sgabeblack@google.com# Copyright (c) 2015 Advanced Micro Devices, Inc. 512855Sgabeblack@google.com# All rights reserved. 612855Sgabeblack@google.com# 712855Sgabeblack@google.com# For use for simulation and test purposes only 812855Sgabeblack@google.com# 912855Sgabeblack@google.com# Redistribution and use in source and binary forms, with or without 1012855Sgabeblack@google.com# modification, are permitted provided that the following conditions are met: 1112855Sgabeblack@google.com# 1212855Sgabeblack@google.com# 1. Redistributions of source code must retain the above copyright notice, 1312855Sgabeblack@google.com# this list of conditions and the following disclaimer. 1412855Sgabeblack@google.com# 1512855Sgabeblack@google.com# 2. Redistributions in binary form must reproduce the above copyright notice, 1612855Sgabeblack@google.com# this list of conditions and the following disclaimer in the documentation 1712855Sgabeblack@google.com# and/or other materials provided with the distribution. 1812855Sgabeblack@google.com# 1912855Sgabeblack@google.com# 3. Neither the name of the copyright holder nor the names of its contributors 2012855Sgabeblack@google.com# may be used to endorse or promote products derived from this software 2112855Sgabeblack@google.com# without specific prior written permission. 2212855Sgabeblack@google.com# 2312855Sgabeblack@google.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 2412855Sgabeblack@google.com# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2512855Sgabeblack@google.com# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2612855Sgabeblack@google.com# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 2712855Sgabeblack@google.com# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2812855Sgabeblack@google.com# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2912855Sgabeblack@google.com# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 3012855Sgabeblack@google.com# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 3112855Sgabeblack@google.com# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 3212855Sgabeblack@google.com# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 3312855Sgabeblack@google.com# POSSIBILITY OF SUCH DAMAGE. 3412855Sgabeblack@google.com# 3512855Sgabeblack@google.com# Author: Anthony Gutierrez 3612855Sgabeblack@google.com# 3712855Sgabeblack@google.com 3812855Sgabeblack@google.comImport('*') 3912855Sgabeblack@google.com 4012855Sgabeblack@google.comall_gpu_isa_list.append('hsail') 4112855Sgabeblack@google.com