[Libclc-dev] [PATCH] configure.py: Add gfx900 (Vega, Raven)

Tom Stellard via Libclc-dev libclc-dev at lists.llvm.org
Tue Oct 10 18:39:55 PDT 2017


On 10/10/2017 04:55 PM, Vedran Miletić wrote:
> Sort amdgcn-- and amdgcn--amdhsa in a consistent way.

LGTM.
> ---
>  configure.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configure.py b/configure.py
> index 26ac3d5..56723f7 100755
> --- a/configure.py
> +++ b/configure.py
> @@ -100,9 +100,9 @@ available_targets = {
>                  {'gpu' : 'barts',   'aliases' : ['turks', 'caicos'] },
>                  {'gpu' : 'cayman',  'aliases' : ['aruba']} ]},
>    'amdgcn--': { 'devices' :
> -                [{'gpu' : 'tahiti', 'aliases' : ['pitcairn', 'verde', 'oland', 'hainan', 'bonaire', 'kabini', 'kaveri', 'hawaii','mullins','tonga','carrizo','iceland','fiji','stoney','polaris10','polaris11']} ]},
> +                [{'gpu' : 'tahiti', 'aliases' : ['pitcairn', 'verde', 'oland', 'hainan', 'bonaire', 'kabini', 'kaveri', 'hawaii', 'mullins', 'tonga', 'iceland', 'carrizo', 'fiji', 'stoney', 'polaris10', 'polaris11', 'gfx900']} ]},
>    'amdgcn--amdhsa': { 'devices' :
> -                      [{'gpu' : '', 'aliases' : ['bonaire', 'hawaii', 'kabini', 'kaveri', 'mullins', 'carrizo', 'stoney', 'fiji', 'iceland', 'tonga','polaris10','polaris11']} ]},
> +                      [{'gpu' : '', 'aliases' : ['bonaire', 'kabini', 'kaveri', 'hawaii', 'mullins', 'tonga', 'iceland', 'carrizo', 'fiji', 'stoney', 'polaris10', 'polaris11', 'gfx900']} ]},
>    'nvptx--'   : { 'devices' : [{'gpu' : '', 'aliases' : []} ]},
>    'nvptx64--' : { 'devices' : [{'gpu' : '', 'aliases' : []} ]},
>    'nvptx--nvidiacl'   : { 'devices' : [{'gpu' : '', 'aliases' : []} ]},
> 



More information about the Libclc-dev mailing list